Module:Navbox with collapsible groups: Difference between revisions
debug
(debug) |
(debug) |
||
Line 22: | Line 22: | ||
function p._navbox(args) | function p._navbox(args) | ||
local tracking = '' | |||
-- table for args passed to navbox | -- table for args passed to navbox | ||
local targs = {} | local targs = {} | ||
Line 38: | Line 40: | ||
for k,v in pairs(args) do | for k,v in pairs(args) do | ||
if k and type(k) == 'string' then | if k and type(k) == 'string' then | ||
tracking = tracking .. 'debug: ' .. k .. '; ' | |||
if passthrough[k] then | if passthrough[k] then | ||
targs[k] = v | targs[k] = v | ||
Line 87: | Line 90: | ||
if targs['border'] == nil then targs['border'] = args[1] end | if targs['border'] == nil then targs['border'] = args[1] end | ||
return Navbox._navbox(targs) | return Navbox._navbox(targs) .. tracking | ||
end | end | ||