Module:Navbox: Difference between revisions

Content added Content deleted
Enwikipedia>Edokter
(Remove cellspacing attribute (obsolete), cell-spacing CSS moved to Common.css.)
Enwikipedia>Edokter
(Revert border-spacing; collapses cells in hand-build navboxes.)
Line 305: Line 305:
end
end
tbl:css('border-spacing', 0)
if border == 'subgroup' or border == 'child' or border == 'none' then
if border == 'subgroup' or border == 'child' or border == 'none' then
tbl
tbl
Line 358: Line 359:
:tag('table')
:tag('table')
:addClass('navbox')
:addClass('navbox')
:css('border-spacing', 0)
:cssText(args.bodystyle)
:cssText(args.bodystyle)
:cssText(args.style)
:cssText(args.style)