Module:Shortcut: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(spacing changes, as discussed at Template talk:Shortcut) |
(fix lint error/bug) |
||
Line 101: | Line 101: | ||
:wikitext(shortcutHeading) |
:wikitext(shortcutHeading) |
||
end |
end |
||
local list = mw.html.create('ul') |
|||
⚫ | |||
:tag('ul') |
|||
for i, item in ipairs(listItems) do |
for i, item in ipairs(listItems) do |
||
list:tag('li'):wikitext(item) |
|||
end |
end |
||
⚫ | |||
return tostring(root) |
return tostring(root) |
||
end |
end |