Module:Navbox: Difference between revisions

Content added Content deleted
Enwikipedia>Frietjes
(typo)
Enwikipedia>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
:css('width', args.groupwidth or '1%') -- If groupwidth not specified, minimize width


groupCell
groupCell
Line 437: Line 437:
end
end


if (args.nocat or 'false'):lower() ~= 'false' then
renderTrackingCategories(res)
renderTrackingCategories(res)

end
return striped(tostring(res))
return striped(tostring(res))
end
end