Module:Navbox: Difference between revisions
Remove cellspacing attribute (obsolete), cell-spacing CSS moved to Common.css.
m>Frietjes (switch to mw.html per talk page (no objections)) |
m>Edokter (Remove cellspacing attribute (obsolete), cell-spacing CSS moved to Common.css.) |
||
Line 296: | Line 296: | ||
local function renderMainTable() | local function renderMainTable() | ||
local tbl = mw.html.create('table') | local tbl = mw.html.create('table') | ||
:addClass('nowraplinks') | :addClass('nowraplinks') | ||
:addClass(args.bodyclass) | :addClass(args.bodyclass) | ||
Line 306: | Line 305: | ||
end | end | ||
if border == 'subgroup' or border == 'child' or border == 'none' then | if border == 'subgroup' or border == 'child' or border == 'none' then | ||
tbl | tbl | ||
Line 359: | Line 357: | ||
res | res | ||
:tag('table') | :tag('table') | ||
:addClass('navbox') | :addClass('navbox') | ||
:cssText(args.bodystyle) | :cssText(args.bodystyle) | ||
:cssText(args.style) | :cssText(args.style) |