Module:Redirect hatnote: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(increment iArg two at a time; better but still buggy) |
(use the next use variable; still not quite there) |
||
Line 56: | Line 56: | ||
local use = args[iArg] |
local use = args[iArg] |
||
local page = args[iArg + 1] |
local page = args[iArg + 1] |
||
local nextUse = args[iArg + 2] |
|||
useTable[#useTable + 1] = page |
useTable[#useTable + 1] = page |
||
data[iData] = useTable |
data[iData] = useTable |
||
if use ~= 'and' then |
if use ~= 'and' then |
||
useTable.use = use |
useTable.use = use |
||
elseif nextUse ~= 'and' then |
|||
iData = iData + 1 |
iData = iData + 1 |
||
end |
end |