Module:Infobox: Difference between revisions
infobox class not needed for subbox since the parent box will set the class (and causes problems on mobile)
m>Jc86035 m (try implementing again?) |
m>Frietjes (infobox class not needed for subbox since the parent box will set the class (and causes problems on mobile)) |
||
Line 279: | Line 279: | ||
root | root | ||
:addClass('infobox') | :addClass((args.subbox ~= 'yes') and 'infobox' or nil) | ||
:addClass(args.bodyclass) | :addClass(args.bodyclass) | ||