Module:Redirect hatnote: Difference between revisions

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