Content deleted Content added
add this to the list instead of the root sigh |
Whatback11 (talk | contribs) No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 2:
-- Set constants
local CONFIG_MODULE = 'Module:Shortcut/config
-- Load required modules
Line 52:
if options.target and yesno(options.target) then
listItems[i] = templateMode
and string.format("TM:{{%s[[%s|%s]]}}", prefix, templatePath, shortcut)
or string.format("[[%s]]", shortcut)
else
Line 60:
}
if templateMode then
listItems[i] = string.format("TM:{{%s%s}}", prefix, listItems[i])
end
end
Line 77:
local root = mw.html.create()
root:wikitext(frame:extensionTag{ name = 'templatestyles', args = { src = 'Module:Shortcut
-- Anchors
local anchorDiv = root
|