Jump to content

Module:Sandbox/Dat Hack3r: Difference between revisions

Dat Hack3r (talk | contribs)
"Prepad" and "postpad" should go inside the list.
Dat Hack3r (talk | contribs)
m Apparently Lua doesn't support negative array indices.
Line 31: Line 31:
end
end
navlist[1] = prepad..navlist[1]
navlist[1] = prepad..navlist[1]
navlist[-1] = navlist[-1]..postpad
navlist[-1] = navlist[#navlist]..postpad


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