Module:Shortcut/sandbox: Difference between revisions

Content deleted Content added
No edit summary
m sync with template
Line 50:
prefix = options['pre' .. i] or options.pre or ''
end
-- Used by [[Template:Shortcut-style further links]]
if options.target and yesno(options.target) then
listItems[i] = templateMode
Line 58 ⟶ 57:
listItems[i] = frame:expandTemplate{
title = 'No redirect',
args = templateMode and {templatePath, shortcut} or {shortcut, shortcut}
}
if templateMode then
Line 115 ⟶ 114:
shortcutList
:tag('div')
:addClass('module-shortcutheadingshortcutlist')
:wikitext(shortcutHeading)
end