Home
Random
Recent changes
Special pages
Community portal
Settings
About ElWiki
Disclaimers
Elwiki
Search
User menu
Create account
Log in
Sandbox:User:Ritsu: Difference between revisions
Sandbox
Discussion
← Older edit
Newer edit →
Sandbox:User:Ritsu
(view source)
Revision as of 00:29, 20 March 2022
249 bytes removed
,
20 March 2022
Undo revision 741469 by
Ritsu
(
talk
)
Visual
Wikitext
Revision as of 00:29, 20 March 2022
(
view source
)
Ritsu
(
talk
|
contribs
)
No edit summary
← Older edit
Revision as of 00:29, 20 March 2022
(
view source
)
Ritsu
(
talk
|
contribs
)
(Undo revision 741469 by
Ritsu
(
talk
))
Tags
:
Replaced
Undo
Newer edit →
Line 1:
Line 1:
local p =
{
}
{{
#invoke:Test|hello
}}
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
Ritsu
ElEditors,
Interface administrators
,
Administrators
70,857
edits