Module:Shortcut/sandbox: Difference between revisions

Content deleted Content added
Whatback11 (talk | contribs)
No edit summary
Whatback11 (talk | contribs)
No edit summary
 
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