Module:Infobox: Difference between revisions

make rowclass apply to headers as well as data cells, per protected edit request
(remove extra newline from the below row, use a div tag instead of a span tag for image captions, per talk)
(make rowclass apply to headers as well as data cells, per protected edit request)
Line 46:
root
.tag('tr')
.addClass(rowArgs.rowclass)
.tag('th')
.attr('colspan', 2)
Line 365 ⟶ 366:
preprocessArgs({
{prefix = 'header'},
{prefix = 'data', depend = {'label', 'rowclass'}},
{prefix = 'rowclass'},
{prefix = 'class'}
}, 50)
Anonymous user