Sandbox:User:Ritsu: Difference between revisions

From Elwiki
No edit summary
(Blanked the page)
Tag: Blanking
 
(229 intermediate revisions by 3 users not shown)
Line 1: Line 1:
local p = {}
 
p.loop = function(frame)
local stage = frame.args.stage
local rows = {}
-- the actual looping part
for value in mw.text.gsplit(stage, ',') do
table.insert(rows, '|' .. value)
end
return ' {|\n' .. table.concat(rows, '\n|-\n') .. '\n|}'
end
return p

Latest revision as of 17:01, 10 February 2023