Jump to content

Module:Navbox: Difference between revisions

40 bytes added ,  11 years ago
add support for list1padding param
m>Toohool
(correct fix for empty args)
m>Toohool
(add support for list1padding param)
Line 240: Line 240:
         .addClass(args.listclass)
         .addClass(args.listclass)
         .tag('div')
         .tag('div')
             .css('padding', args.listpadding or '0em 0.25em')
             .css('padding', (listnum == 1 and args.list1padding) or args.listpadding or '0em 0.25em')
             .newline()
             .newline()
             .wikitext(args['list' .. listnum])
             .wikitext(args['list' .. listnum])
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.