Module:Navbox with collapsible groups: Difference between revisions

m
ce / test?
No edit summary
m (ce / test?)
Line 29:
-- process args
local passthrough = {
['name']=1true,['navbar']=1true,['state']=1true,['border']=1true,
['bodyclass']=1true,['groupclass']=1true,['listclass']=1true,
['style']=1true,['bodystyle']=1true,['basestyle']=1true,
['title']=1true,['titleclass']=1true,['titlestyle']=1true,
['above']=1true,['aboveclass']=1true,['abovestyle']=1true,
['below']=1true,['belowclass']=1true,['belowstyle']=1true,
['image']=1true,['imageclass']=1true,['imagestyle']=1true,
['imageleft']=1true,['imageleftstyle']=1true
}
for k,v in pairs(args) do
Line 52:
or k:match('^sect[0-9][0-9]*$')
or k:match('^section[0-9][0-9]*$') ) then
local n = mw.ustring.gsub(k, '^[a-z]*([0-9]*)$', '%1') or 1
if targs['list' .. n] == nil then
local titlestyle = concatstyles(
Anonymous user