Module:Shortcut: Difference between revisions
Content deleted Content added
Johnrdorazio (talk | contribs) m 1 revision imported |
Johnrdorazio (talk | contribs) m 1 revision imported |
||
(One intermediate revision by one other user not shown) | |||
Line 77:
local root = mw.html.create()
root:wikitext(frame:extensionTag{ name = 'templatestyles', args = { src = 'Module:Shortcut/styles.css'} })
-- Anchors
local anchorDiv = root
Line 103:
local shortcutList = root
:tag('div')
:addClass('module-shortcutboxplain
:attr('role', 'note')
if options.float and options.float:lower() == 'left' then
Line 117:
:wikitext(shortcutHeading)
end
return tostring(root)
end
|