Module:Infobox: Difference between revisions
rowcellstyle per talk page
m>Mr. Stradivarius m (Changed protection level for "Module:Infobox": High-risk Lua module: allow template editors ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))) |
m>Frietjes (rowcellstyle per talk page) |
||
Line 56: | Line 56: | ||
:css('text-align', 'center') | :css('text-align', 'center') | ||
:cssText(args.headerstyle) | :cssText(args.headerstyle) | ||
:cssText(rowArgs.rowcellstyle) | |||
:wikitext(rowArgs.header) | :wikitext(rowArgs.header) | ||
elseif rowArgs.data then | elseif rowArgs.data then | ||
Line 68: | Line 69: | ||
:attr('id', rowArgs.labelid) | :attr('id', rowArgs.labelid) | ||
:cssText(args.labelstyle) | :cssText(args.labelstyle) | ||
:cssText(rowArgs.rowcellstyle) | |||
:wikitext(rowArgs.label) | :wikitext(rowArgs.label) | ||
:done() | :done() | ||
Line 82: | Line 84: | ||
:addClass(rowArgs.class) | :addClass(rowArgs.class) | ||
:cssText(rowArgs.datastyle) | :cssText(rowArgs.datastyle) | ||
:cssText(rowArgs.rowcellstyle) | |||
:newline() | :newline() | ||
:wikitext(rowArgs.data) | :wikitext(rowArgs.data) | ||
Line 184: | Line 187: | ||
rowclass = args['rowclass' .. tostring(num)], | rowclass = args['rowclass' .. tostring(num)], | ||
rowstyle = args['rowstyle' .. tostring(num)], | rowstyle = args['rowstyle' .. tostring(num)], | ||
rowcellstyle = args['rowcellstyle' .. tostring(num)], | |||
dataid = args['dataid' .. tostring(num)], | dataid = args['dataid' .. tostring(num)], | ||
labelid = args['labelid' .. tostring(num)], | labelid = args['labelid' .. tostring(num)], | ||
Line 377: | Line 381: | ||
{prefix = 'rowclass'}, | {prefix = 'rowclass'}, | ||
{prefix = 'rowstyle'}, | {prefix = 'rowstyle'}, | ||
{prefix = 'rowcellstyle'}, | |||
{prefix = 'class'}, | {prefix = 'class'}, | ||
{prefix = 'dataid'}, | {prefix = 'dataid'}, |