Jump to content

Module:Shortcut: Difference between revisions

fix lint error/bug
(spacing changes, as discussed at Template talk:Shortcut)
(fix lint error/bug)
Line 101: Line 101:
:wikitext(shortcutHeading)
:wikitext(shortcutHeading)
end
end
shortcutList
local list = mw.html.create('ul')
:tag('ul')
for i, item in ipairs(listItems) do
for i, item in ipairs(listItems) do
shortcutList:tag('li'):wikitext(item)
list:tag('li'):wikitext(item)
end
end
 
shortcutList:node(list)
return tostring(root)
return tostring(root)
end
end
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.