Modul:Navbox: Unterschied zwischen den Versionen
per discussion at WT:Lua, this needs to be initialized in a non-global context
(optional list1class to allow templatestyles in Module:Navbox Canada) |
(per discussion at WT:Lua, this needs to be initialized in a non-global context) |
||
Zeile 10: | Zeile 10: | ||
local args | local args | ||
local border | local border | ||
local listnums | local listnums | ||
local ODD_EVEN_MARKER = '\127_ODDEVEN_\127' | local ODD_EVEN_MARKER = '\127_ODDEVEN_\127' | ||
local RESTART_MARKER = '\127_ODDEVEN0_\127' | local RESTART_MARKER = '\127_ODDEVEN0_\127' | ||
Zeile 385: | Zeile 385: | ||
function p._navbox(navboxArgs) | function p._navbox(navboxArgs) | ||
args = navboxArgs | args = navboxArgs | ||
listnums = {} | |||
for k, _ in pairs(args) do | for k, _ in pairs(args) do |