Modul:Navbox: Unterschied zwischen den Versionen

Remove cellspacing attribute (obsolete), cell-spacing CSS moved to Common.css.
(switch to mw.html per talk page (no objections))
(Remove cellspacing attribute (obsolete), cell-spacing CSS moved to Common.css.)
Zeile 296: Zeile 296:
local function renderMainTable()
local function renderMainTable()
     local tbl = mw.html.create('table')
     local tbl = mw.html.create('table')
        :attr('cellspacing', 0)
         :addClass('nowraplinks')
         :addClass('nowraplinks')
         :addClass(args.bodyclass)
         :addClass(args.bodyclass)
Zeile 306: Zeile 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
Zeile 359: Zeile 357:
         res
         res
             :tag('table')
             :tag('table')
                :attr('cellspacing', 0)
                 :addClass('navbox')
                 :addClass('navbox')
                :css('border-spacing', 0)
                 :cssText(args.bodystyle)
                 :cssText(args.bodystyle)
                 :cssText(args.style)
                 :cssText(args.style)
Anonymer Benutzer