Module:infobox: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 100: Line 100:
:tag('th')
:tag('th')
:attr('colspan', '2')
:attr('colspan', '2')
:cssText('vertical-align: top; text-align: center;')
:cssText('vertical-align: top; text-align: left;')
:addClass(rowArgs.class)
:addClass(rowArgs.class)
:addClass(args.headerclass)
:addClass(args.headerclass)
Line 122: Line 122:
:tag('th')
:tag('th')
:attr('scope', 'row')
:attr('scope', 'row')
:cssText('vertical-align: top; text-align: center;')
:cssText('vertical-align: top; text-align: left;')
-- @deprecated next; target .infobox-<name> .infobox-label
-- @deprecated next; target .infobox-<name> .infobox-label
:cssText(args.labelstyle)
:cssText(args.labelstyle)
Line 149: Line 149:
root
root
:tag('caption')
:tag('caption')
:cssText('font-size: 130%; font-weight: bold; text-align: center; padding: 0.2em;')
:cssText('font-size: 130%; font-weight: bold; text-align: left; 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: 130%; font-weight: bold; text-align: center;')
:cssText('vertical-align: top; font-size: 130%; font-weight: bold; text-align: left;')
:addClass(args.aboveclass)
:addClass(args.aboveclass)
-- @deprecated next; target .infobox-<name> .infobox-above
-- @deprecated next; target .infobox-<name> .infobox-above
Line 177: Line 177:
:tag('td')
:tag('td')
:attr('colspan', '2')
:attr('colspan', '2')
:cssText('text-align: center; vertical-align: top;')
:cssText('text-align: left; vertical-align: top;')
:addClass(args.belowclass)
:addClass(args.belowclass)
-- @deprecated next; target .infobox-<name> .infobox-below
-- @deprecated next; target .infobox-<name> .infobox-below
Line 234: Line 234:
dataCell
dataCell
:attr('colspan', '2')
:attr('colspan', '2')
:cssText('text-align: center; vertical-align: top;')
:cssText('text-align: left; vertical-align: top;')
:addClass(imageArgs.class)
:addClass(imageArgs.class)
:cssText(imageArgs.datastyle)
:cssText(imageArgs.datastyle)

Navigation menu