Module:FlexGallery: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
local p = {}
local p = {}
local width = 120
local width
local images = {}
local images = {}
local thumbnails = {}
local thumbnails = {}
Line 9: Line 9:
     for k, v in pairs(frame.args) do
     for k, v in pairs(frame.args) do
         if k == 1 then
         if k == 1 then
             return v
             if type(v) == "number" then
                width = v
                return width
            end
         end
         end
     end
     end