Jump to content

Module:FlexGallery: Difference between revisions

From Climbopedia
No edit summary
No edit summary
Line 10: Line 10:
         v = v:gsub("[\n\r]", "")
         v = v:gsub("[\n\r]", "")
         if k == 1 then
         if k == 1 then
             return type(v)
             return v
         end
         end
     end
     end

Revision as of 20:12, 20 August 2025

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

local p = {}
local width
local images = {}
local thumbnails = {}

-- frame.args

p.hi = function(frame)
    for k, v in pairs(frame.args) do
        v = v:gsub("[\n\r]", "")
        if k == 1 then
            return v
        end
    end
end

return p