Module:Infobox: Difference between revisions
no \n on headers or labels
m>WOSlinker (move the \n to different spot in code) |
m>WOSlinker (no \n on headers or labels) |
||
Line 50: | Line 50: | ||
.css('text-align', 'center') | .css('text-align', 'center') | ||
.cssText(args.headerstyle) | .cssText(args.headerstyle) | ||
.wikitext( | .wikitext(rowArgs.header) | ||
elseif rowArgs.data then | elseif rowArgs.data then | ||
local row = root.tag('tr') | local row = root.tag('tr') | ||
Line 60: | Line 60: | ||
.css('text-align', 'left') | .css('text-align', 'left') | ||
.cssText(args.labelstyle) | .cssText(args.labelstyle) | ||
.wikitext( | .wikitext(rowArgs.label) | ||
.done() | .done() | ||
end | end |