Open main menu

Changes

Module:Infobox

96 bytes added, 21:57, 30 October 2014
add rowstyle and remove the cellspacing attribute, per protected edit requests by User:Frietjes and User:Rezonansowy
:tag('tr')
:addClass(rowArgs.rowclass)
:cssText(rowArgs.rowstyle)
:attr('id', rowArgs.rowid)
:tag('th')
class = args['class' .. tostring(num)],
rowclass = args['rowclass' .. tostring(num)],
rowstyle = args['rowstyle' .. tostring(num)],
dataid = args['dataid' .. tostring(num)],
labelid = args['labelid' .. tostring(num)],
:addClass('infobox')
:addClass(args.bodyclass)
:attr('cellspacing', 3)
:css('border-spacing', '3px')
{prefix = 'data', depend = {'label'}},
{prefix = 'rowclass'},
{prefix = 'rowstyle'},
{prefix = 'class'},
{prefix = 'dataid'},
Anonymous user