Module:FlexGallery: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
local p = {} | local p = {} | ||
local width = 120 | local width = 120 | ||
local | local images = {} | ||
local thumbnails = {} | |||
-- frame.args | -- frame.args | ||
| Line 7: | Line 8: | ||
p.hi = function(frame) | p.hi = function(frame) | ||
for k, v in pairs(frame.args) do | for k, v in pairs(frame.args) do | ||
if k == | if k == 0 then | ||
return v | |||
end | end | ||
end | end | ||
end | end | ||
return p | return p | ||
Revision as of 20:04, 20 August 2025
Documentation for this module may be created at Module:FlexGallery/doc
local p = {}
local width = 120
local images = {}
local thumbnails = {}
-- frame.args
p.hi = function(frame)
for k, v in pairs(frame.args) do
if k == 0 then
return v
end
end
end
return p