Anonymous user
Module:Shortcut: Difference between revisions
redo templatestyles
(whoops, breaks stuff) |
(redo templatestyles) |
||
Line 55:
local root = mw.html.create()
root:wikitext(frame:extensionTag{ name = 'templatestyles', args = { src = 'Shortcut/styles.css'} })
-- Anchors
local anchorDiv = root
:tag('div')
:addClass('module-shortcutanchordiv')
for i, shortcut in ipairs(shortcuts) do
local anchor = mw.uri.anchorEncode(shortcut)
Line 79 ⟶ 78:
local shortcutList = root
:tag('div')
:addClass('
:attr('role', 'note')
if shortcutHeading then
shortcutList
:tag('div')
:
:wikitext(shortcutHeading)
end
|