Module:Navbox with collapsible groups: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 46: | Line 46: | ||
if (targs['list' .. n] == nil and pargs['group' .. n] == nil | if (targs['list' .. n] == nil and pargs['group' .. n] == nil | ||
and pargs['sect' .. n] == nil and pargs['section' .. n] == nil) then | and pargs['sect' .. n] == nil and pargs['section' .. n] == nil) then | ||
targs['list' .. n] = concatstrings(pargs['list' .. n] or '', pargs['content' .. n] or '') | targs['list' .. n] = concatstrings( | ||
{pargs['list' .. n] or '', pargs['content' .. n] or ''}) | |||
end | end | ||
elseif (k:match('^group[0-9][0-9]*$') | elseif (k:match('^group[0-9][0-9]*$') |