Jump to content

Module:Navbox: Difference between revisions

fix for lists in image and imageleft
m>Toohool
(fix handling of the border param)
m>Toohool
(fix for lists in image and imageleft)
Line 91: Line 91:
     if args.imageleft then
     if args.imageleft then
         add('<td class="navbox-image ', args.imageclass, '" style="width:0%;padding:0px 2px 0px 0px;', args.imageleftstyle, '"')
         add('<td class="navbox-image ', args.imageclass, '" style="width:0%;padding:0px 2px 0px 0px;', args.imageleftstyle, '"')
         add(' rowspan=', (2 * #listnums - 1), '><div>', args.imageleft, '</div></td>')
         add(' rowspan=', (2 * #listnums - 1), '><div>\n', args.imageleft, '</div></td>')
     end
     end


Line 118: Line 118:
         add('<td class="navbox-image ', args.imageclass, '" style="width:0%;padding:0px 0px 0px 2px;', args.imagestyle, '" ')
         add('<td class="navbox-image ', args.imageclass, '" style="width:0%;padding:0px 0px 0px 2px;', args.imagestyle, '" ')
         add(' rowspan=', (2 * #listnums - 1), '>')
         add(' rowspan=', (2 * #listnums - 1), '>')
         add('<div>', args.image, '</div></td>')
         add('<div>\n', args.image, '</div></td>')
     end
     end
      
      
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.