Module:Shortcut: Difference between revisions
From Test Wiki
Content deleted Content added
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 |
||