Module:Navbox: Difference between revisions
optional list1class to allow templatestyles in Module:Navbox Canada
imported>Rob Kam m (1 revision imported) |
(optional list1class to allow templatestyles in Module:Navbox Canada) |
||
Line 260: | Line 260: | ||
:addClass('navbox-' .. oddEven) | :addClass('navbox-' .. oddEven) | ||
:addClass(args.listclass) | :addClass(args.listclass) | ||
:addClass(args['list' .. listnum .. 'class']) | |||
:tag('div') | :tag('div') | ||
:css('padding', (index == 1 and args.list1padding) or args.listpadding or '0em 0.25em') | :css('padding', (index == 1 and args.list1padding) or args.listpadding or '0em 0.25em') |