Jump to content

Module:Infobox: Difference between revisions

add a "headerclass" arg per talk page request
m>Mr. Stradivarius
(make rowclass apply to headers as well as data cells, per protected edit request)
m>Mr. Stradivarius
(add a "headerclass" arg per talk page request)
Line 50: Line 50:
                     .attr('colspan', 2)
                     .attr('colspan', 2)
                     .addClass(rowArgs.class)
                     .addClass(rowArgs.class)
                    .addClass(args.headerclass)
                     .css('text-align', 'center')
                     .css('text-align', 'center')
                     .cssText(args.headerstyle)
                     .cssText(args.headerstyle)
Line 370: Line 371:
         {prefix = 'class'}
         {prefix = 'class'}
     }, 50)
     }, 50)
    preprocessSingleArg('headerclass')
     preprocessSingleArg('headerstyle')
     preprocessSingleArg('headerstyle')
     preprocessSingleArg('labelstyle')
     preprocessSingleArg('labelstyle')
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.