Module:Infobox: Difference between revisions
update with subbox parameter
m>Toohool (fix linebreak) |
m>Mr. Stradivarius (update with subbox parameter) |
||
Line 209: | Line 209: | ||
.attr('cellspacing', 3) | .attr('cellspacing', 3) | ||
.css('border-spacing', '3px') | .css('border-spacing', '3px') | ||
.cssText(args.bodystyle) | .cssText(args.bodystyle) | ||
if args.subbox == 'yes' then | |||
root | |||
.css('padding', '0') | |||
.css('border', 'none') | |||
.css('margin', '-3px') | |||
.css('width', 'auto') | |||
.css('min-width', '100%') | |||
.css('font-size', '100%') | |||
.css('clear', 'none') | |||
.css('float', 'none') | |||
.css('background-color', 'transparent') | |||
else | |||
root | |||
.css('width', '22em') | |||
end | |||
renderTitle() | renderTitle() |