Module:infobox: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 133: Line 133:
dataCell
dataCell
:attr('colspan', not rowArgs.label and '2' or nil)
:attr('colspan', not rowArgs.label and '2' or nil)
:cssText('vertical-align: top; text-align: center;')
:cssText('vertical-align: top; text-align: left;')
:addClass(rowArgs.class)
:addClass(rowArgs.class)
-- @deprecated next; target .infobox-<name> .infobox(-full)-data
-- @deprecated next; target .infobox-<name> .infobox(-full)-data
Line 149: Line 149:
root
root
:tag('caption')
:tag('caption')
:cssText('font-size: 130%; font-weight: bold; text-align: left; padding: 0.2em;')
:cssText('font-size: 130%; font-weight: bold; text-align: center; padding: 0.2em;')
:addClass(args.titleclass)
:addClass(args.titleclass)
-- @deprecated next; target .infobox-<name> .infobox-title
-- @deprecated next; target .infobox-<name> .infobox-title