Module:Redirect hatnote: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(use the next use variable; still not quite there)
(Ok, I think this got it)
Line 58: Line 58:
local nextUse = args[iArg + 2]
local nextUse = args[iArg + 2]
useTable[#useTable + 1] = page
useTable[#useTable + 1] = page
data[iData] = useTable
if use ~= 'and' then
if use ~= 'and' then
useTable.use = use
useTable.use = use
end
elseif nextUse ~= 'and' then
data[iData] = useTable
if nextUse ~= 'and' then
iData = iData + 1
iData = iData + 1
end
end