Module:Navbox/sandbox: Difference between revisions

Content deleted Content added
self rv to earlier version
trying borders for old browser compat
Line 106:
:addClass('navbox-group')
:addClass(args.titlegroupclass)
:css('border-top', '.15em solid')
:cssText(args.basestyle)
:cssText(args.groupstyle)
Line 112 ⟶ 113:
end
 
local titleCell = titleRow:tag('th'):attr('scope', 'col'):css('border-top', '.15em solid')
 
if args.titlegroup then
Line 160 ⟶ 161:
:addClass('navbox-abovebelow')
:addClass(args.aboveclass)
:css('border-top', '.15em solid')
:cssText(args.basestyle)
:cssText(args.abovestyle)
Line 174 ⟶ 176:
:addClass('navbox-abovebelow')
:addClass(args.belowclass)
:css('border-top', '.15em solid')
:cssText(args.basestyle)
:cssText(args.belowstyle)
Line 192 ⟶ 195:
:addClass('navbox-image')
:addClass(args.imageclass)
:css('border-top', '.15em solid')
:css('width', '0%')
:css('padding', '0px 2px 0px 0px')
Line 201 ⟶ 205:
 
if args['group' .. listnum] then
local groupCell = row:tag('th'):css('border-top', '.15em solid')
 
groupCell
Line 219 ⟶ 223:
end
 
local listCell = row:tag('td'):css('border-top', '.15em solid')
 
if args['group' .. listnum] then
Line 264 ⟶ 268:
:addClass('navbox-image')
:addClass(args.imageclass)
:css('border-top', '.15em solid')
:css('width', '0%')
:css('padding', '0px 0px 0px 2px')
Line 344 ⟶ 349:
end
 
tbl:css('border-spacing', '0 .2em')
if border == 'subgroup' or border == 'none' then
tbl
Line 412 ⟶ 417:
:cssText(args.bodystyle)
:cssText(args.style)
:css('padding', '.05em1em .25em .25em')
:node(tbl)
if args.title then