Module:infobox: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 149: Line 149:
root
root
:tag('caption')
:tag('caption')
:cssText('font-size: 125%; font-weight: bold; text-align: center; 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
Line 163: Line 163:
:tag('th')
:tag('th')
:attr('colspan', '2')
:attr('colspan', '2')
:cssText('vertical-align: top; font-size: 125%; font-weight: bold; text-align: center;')
:cssText('vertical-align: top; font-size: 130%; font-weight: bold; text-align: center;')
:addClass(args.aboveclass)
:addClass(args.aboveclass)
-- @deprecated next; target .infobox-<name> .infobox-above
-- @deprecated next; target .infobox-<name> .infobox-above
Line 193: Line 193:
dataCell
dataCell
:attr('colspan', '2')
:attr('colspan', '2')
:cssText('text-align: center; vertical-align: top;')
:cssText('text-align: left; vertical-align: top;')
:addClass(subheaderArgs.class)
:addClass(subheaderArgs.class)
:cssText(subheaderArgs.datastyle)
:cssText(subheaderArgs.datastyle)