Module:Redirect hatnote: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(use a repeat ... until loop to avoid creating an unnecessary blank table) |
m (whitespace tweak) |
||
Line 13: | Line 13: | ||
function p.redirect(frame) |
function p.redirect(frame) |
||
-- Get the args table and work out the maximum arg key. |
-- Get the args table and work out the maximum arg key. |
||
local origArgs = frame:getParent().args |
local origArgs = frame:getParent().args |
||
local args = {} |
local args = {} |