Module:FlexGallery: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 14: | Line 14: | ||
end | end | ||
return width | |||
end | end | ||
return p | return p | ||
Revision as of 20:14, 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
width = tonumber(v)
end
end
return width
end
return p