Content deleted Content added
m Removed protection from "Module:Navbox/sandbox" |
Make hiding_templatestyles global |
||
Line 4:
local inArray = require("Module:TableTools").inArray
local getArgs -- lazily initialized
local hiding_templatestyles = {}
-- global passthrough variables
Line 540 ⟶ 541:
end
table.insert(hiding_templatestyles, v)
end▼
end▼
local listnums = {}
Line 584 ⟶ 590:
-- We start with a </div> to avoid the padding being applied, and at the
-- end add a <div> to balance out the parent's </div>
res
▲ res:node(add_navbox_styles(hiding_templatestyles))
:wikitext('</div>')
:node(tbl)
Line 616 ⟶ 622:
end
return striped(tostring(res), border)
end --p._navbox
▲end
function p._withCollapsibleGroups(pargs)
Line 705 ⟶ 711:
return p._navbox(targs)
end --p._withCollapsibleGroups
▲end
function p._withColumns(pargs)
Line 845 ⟶ 851:
return p._navbox(targs)
end --p._withColumns
-- Template entry points
|