Jump to content

Module:Sandbox/Dat Hack3r: Difference between revisions

Dat Hack3r (talk | contribs)
m Apparently Lua doesn't support negative array indices.
Dat Hack3r (talk | contribs)
m Completed previous incomplete fix.
Line 31: Line 31:
end
end
navlist[1] = prepad..navlist[1]
navlist[1] = prepad..navlist[1]
navlist[-1] = navlist[#navlist]..postpad
navlist[#navlist] = navlist[#navlist]..postpad


local templatestyles = mw.getCurrentFrame():extensionTag{
local templatestyles = mw.getCurrentFrame():extensionTag{