Module:Shortcut: Difference between revisions

m
29 revisions imported from wikipedia:Module:Shortcut: see Topic:Vtixlm0q28eo6jtf
(incorporate clear/pre/redirect of Template:Template shortcut; suppress module calls)
m (29 revisions imported from wikipedia:Module:Shortcut: see Topic:Vtixlm0q28eo6jtf)
 
(One intermediate revision by one other user not shown)
Line 57: Line 57:
listItems[i] = frame:expandTemplate{
listItems[i] = frame:expandTemplate{
title = 'No redirect',
title = 'No redirect',
args = templateMode and {templatePath, shortcut} or {shortcut}
args = templateMode and {templatePath, shortcut} or {shortcut, shortcut}
}
}
if templateMode then
if templateMode then