Module:infobox: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 177: Line 177:
:tag('td')
:tag('td')
:attr('colspan', '2')
:attr('colspan', '2')
:cssText('text-align: left; vertical-align: top;')
:cssText('text-align: center; vertical-align: top;')
:addClass(args.belowclass)
:addClass(args.belowclass)
-- @deprecated next; target .infobox-<name> .infobox-below
-- @deprecated next; target .infobox-<name> .infobox-below
Line 193: Line 193:
dataCell
dataCell
:attr('colspan', '2')
:attr('colspan', '2')
:cssText('text-align: left; vertical-align: top;')
:cssText('text-align: center; vertical-align: top;')
:addClass(subheaderArgs.class)
:addClass(subheaderArgs.class)
:cssText(subheaderArgs.datastyle)
:cssText(subheaderArgs.datastyle)
Line 234: Line 234:
dataCell
dataCell
:attr('colspan', '2')
:attr('colspan', '2')
:cssText('text-align: left; vertical-align: top;')
:cssText('text-align: center; vertical-align: top;')
:addClass(imageArgs.class)
:addClass(imageArgs.class)
:cssText(imageArgs.datastyle)
:cssText(imageArgs.datastyle)
Line 257: Line 257:
data
data
:tag('div')
:tag('div')
:addClass('infobox-caption')
:cssText('font-size: 125%; font-weight: bold; text-align: center; padding: 0.2em;')
-- @deprecated next; target .infobox-<name> .infobox-caption
-- @deprecated next; target .infobox-<name> .infobox-caption
:cssText(args.captionstyle)
:cssText(args.captionstyle)