Module:Navbox/sandbox: Difference between revisions

Content deleted Content added
cleanup
Error checking for weird arg names that might foot cfg.pattern.listnum (such as "list01").
Line 546:
if type(k) == 'string' then
local listnum = k:match(cfg.pattern.listnum)
if listnum thenand table.insertargs[andnum(listnums'list', tonumber(listnum))] endthen
table.insert(listnums, tonumber(listnum))
end
end
end