Module:Redirect hatnote: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
still wrong, but slightly less wrong?
(initial version of a Template:Redirect replacement; needs debugging)
 
(still wrong, but slightly less wrong?)
Line 43:
iArg = iArg + 1
local useTable = data[iData] or {}
local use, page, isLastUse
if iArg % 2 == 0 then
use = args[iArg]
if use ~= 'and' then
useTable.use = use
iDataisLastUse = iData + 1true
end
else
page = args[iArg]
useTable[#useTable + 1] = page
end
data[iData] = useTable
if isLastUse then
iData = iData + 1
end
end
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu