Module:Navbox: Difference between revisions

Jump to navigation Jump to search
4 bytes added ,  27 February 2013
fix for lists in image and imageleft
(fix handling of the border param)
(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.

Navigation menu