Module:Navbox with collapsible groups: Difference between revisions
m
did this break it?
m (ce / test?) |
m (did this break it?) |
||
Line 52: | Line 52: | ||
or k:match('^sect[0-9][0-9]*$') | or k:match('^sect[0-9][0-9]*$') | ||
or k:match('^section[0-9][0-9]*$') ) then | or k:match('^section[0-9][0-9]*$') ) then | ||
local n = mw.ustring.gsub(k, '^[a-z]*([0-9]*)$', '%1') | local n = mw.ustring.gsub(k, '^[a-z]*([0-9]*)$', '%1') | ||
if targs['list' .. n] == nil then | if targs['list' .. n] == nil then | ||
local titlestyle = concatstyles( | local titlestyle = concatstyles( |