Module:Navbox: Difference between revisions
implement nocat=true per Template talk:Navbox#Module:Navbox and WP:NOCAT
(typo) |
(implement nocat=true per Template talk:Navbox#Module:Navbox and WP:NOCAT) |
||
Line 216: | Line 216: | ||
:addClass(args.groupclass) | :addClass(args.groupclass) | ||
:cssText(args.basestyle) | :cssText(args.basestyle) | ||
:css('width', args.groupwidth or '1%') -- If groupwidth not specified, minimize width | |||
groupCell | groupCell | ||
Line 437: | Line 437: | ||
end | end | ||
renderTrackingCategories(res) | if (args.nocat or 'false'):lower() ~= 'false' then | ||
renderTrackingCategories(res) | |||
end | |||
return striped(tostring(res)) | return striped(tostring(res)) | ||
end | end |