Module:Sidebar: Difference between revisions
use Module:Arguments |
Removing obsolete HTML attributes |
||
Line 32: | Line 32: | ||
.addClass(args.wraplinks ~= 'true' and 'nowraplinks') | .addClass(args.wraplinks ~= 'true' and 'nowraplinks') | ||
.addClass(args.bodyclass or args.class) | .addClass(args.bodyclass or args.class) | ||
.css('float', args.float or 'right') | .css('float', args.float or 'right') | ||
.css('clear', (args.float == 'none' and 'both') or args.float or 'right') | .css('clear', (args.float == 'none' and 'both') or args.float or 'right') |