Module:Shortcut: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(remove the first parameter error category per Template talk:Shortcut#The cleanup category should be removed) |
(prevent links linking back to the current page, see Template_talk:Shortcut#Direct_link) |
||
Line 37: | Line 37: | ||
local listItems = {} |
local listItems = {} |
||
for i, shortcut in ipairs(shortcuts) do |
for i, shortcut in ipairs(shortcuts) do |
||
listItems[i] = |
listItems[i] = frame:expandTemplate{ |
||
title = 'No redirect', |
|||
args = {shortcut} |
|||
} |
|||
end |
end |
||
table.insert(listItems, options.msg) |
table.insert(listItems, options.msg) |