Module:Navbox/sandbox: Difference between revisions

Content deleted Content added
put type check into getSubgroup as well to avoid an extra function call
Line 58:
end
end
returnif hasSubArgs and p._navbox(subArgs) or listTextthen
if subArgs.type == cfg.keyword.with_collapsible_groups then
return p._withCollapsibleGroups(subArgs)
elseif subArgs.type == cfg.keyword.with_columns then
return p._withColumns(subArgs)
end
return p._navbox(subArgs)
end
return listText
end