Module:Navbox: Difference between revisions
Jump to navigation
Jump to search
implement nocat=true per Template talk:Navbox#Module:Navbox and WP:NOCAT
>Frietjes (typo) |
>Johnuniq (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 |