Template:Infobox row: Difference between revisions
Jump to navigation
Jump to search
(added subheader text color parameter) |
(if alternating type, width of cols should be 50%) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{type}}} | <includeonly>{{#switch: {{{type}}} | ||
| subheader = {{!-}} | | subheader = {{!-}} | ||
! colspan=2 style="background-color:{{{color|darkgrey}}};color:{{{text color|black}}};font-weight:{{{weight|normal}}};text-align:{{{align|left}}};{{{style|}}}" {{!}} {{{1}}}<!-- | ! colspan=2 rowspan=2 style="background-color:{{{color|darkgrey}}};color:{{{text color|black}}};font-weight:{{{weight|normal}}};text-align:{{{align|left}}};{{{style|}}}" {{!}} {{{1}}} | ||
-->| {{!-}}{{#if: {{{1|}}} | style = "vertical-align:top;{{{style|}}}" | {{!-}} | ||
{{!}}<!-- | |||
--> | |||
| full rows = {{!-}}{{#if: {{{1|}}} | style="vertical-align:top;{{{style|}}}" | |||
{{!}} colspan=2 style="font-weight:{{{weight|normal}}};text-align:{{{align|center}}};" {{!}} {{{title|}}} | |||
{{!-}} style="vertical-align:top;{{{style|}}}" | |||
{{!}} colspan=2 style="text-align:{{{align|center}}}" {{!}} {{{1}}}}}<!-- | |||
--> | |||
| alternating = {{!-}} style="vertical-align:top;{{{style|}}}" | |||
{{!}} rowspan=2 style="width:50%" {{!}} {{{1|}}} | |||
{{!-}} style="vertical-align:top;{{{style|}}}" | |||
{{!}} style="width:50%" {{!}} {{{2|}}}<!-- | |||
--> | |||
| {{!-}}{{#if: {{{1|}}} | style = "vertical-align:top;{{{style|}}}" | |||
{{!}} {{{title}}} {{!!}} {{{1}}}}}}}</includeonly> | {{!}} {{{title}}} {{!!}} {{{1}}}}}}}</includeonly> | ||
<noinclude>For instructions, see [[Template:Infobox Wiki]]. | <noinclude>For instructions, see [[Template:Infobox Wiki]]. | ||
[[Category:Infobox templates|*]]</noinclude> | [[Category:Infobox templates|*]]</noinclude> |
Latest revision as of 19:04, 27 May 2024
For instructions, see Template:Infobox Wiki.