Jump to content

Module:FlexGallery: Difference between revisions

From Climbopedia
No edit summary
No edit summary
Line 7: Line 7:
     for k, v in pairs(frame.args) do
     for k, v in pairs(frame.args) do
         if k == "name" then
         if k == "name" then
             return v
            width = v
             return width
         end
         end
         a = a .. v
         a = a .. v

Revision as of 19:47, 20 August 2025

Documentation for this module may be created at Module:FlexGallery/doc

local p = {}
local width = int

-- frame.args

p.hi = function(frame)
    for k, v in pairs(frame.args) do
        if k == "name" then
            width = v
            return width
        end
        a = a .. v
    end
	return a
end

return p