Module:Navbox with collapsible groups: Difference between revisions

Content deleted Content added
m ?
Undid revision 865564010 by Jc86035 (talk)
Line 44:
elseif (k:match('^list[0-9][0-9]*$')
or k:match('^content[0-9][0-9]*$') ) then
local n = mw.ustring.gsub(k, '^[a-z]*([0-9]+*)$', '%1') or '1'
if (targs['list' .. n] == nil and args['group' .. n] == nil
and args['sect' .. n] == nil and args['section' .. n] == nil) then
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(