Difference between revisions of "Template:Infobox cabinet members/row"
Jump to navigation
Jump to search
Template documentation
imported>Frietjes (add for Template:Infobox SCOTUS Appointments) |
imported>Frietjes |
||
| Line 1: | Line 1: | ||
{{#if:{{{namea|}}}| | {{#if:{{{namea|}}}| | ||
{{#ifeq:{{{border_color|}}}|none||<tr><td colspan="{{#if:{{{party_column|}}}|4|3}}" style="background:{{#if:{{{border_color|}}}|{{{border_color}}}|#D1D1D1}}"> </td></tr> | {{#ifeq:{{{border_color|}}}|none||<tr><td colspan="{{#if:{{{party_column|}}}|4|3}}" style="background:{{#if:{{{border_color|}}}|{{{border_color}}}|#D1D1D1}}"> </td></tr> | ||
| − | }}<tr><td rowspan="{{#expr:1+{{#if:{{{nameb|}}}|1|0}}+{{#if:{{{namec|}}}|1|0}}+{{#if:{{{named|}}}|1|0}}+{{#if:{{{namee|}}}|1|0}}+{{#if:{{{namef|}}}|1|0}}+{{#if:{{{nameg|}}}|1|0}}+{{#if:{{{nameh|}}}|1|0 | + | }}<tr><td rowspan="{{#expr:1+{{#if:{{{nameb|}}}|1|0}}+{{#if:{{{namec|}}}|1|0}}+{{#if:{{{named|}}}|1|0}}+{{#if:{{{namee|}}}|1|0}}+{{#if:{{{namef|}}}|1|0}}+{{#if:{{{nameg|}}}|1|0}}+{{#if:{{{nameh|}}}|1|0}}+{{#if:{{{namei|}}}|1|0}}}}">{{{office}}}</td> |
<th style="{{{name_style|}}}">{{{namea}}}</th>{{#if:{{{party_column|}}}|<td>{{{partya|}}}</td>}}<td>{{{terma|}}}</td> | <th style="{{{name_style|}}}">{{{namea}}}</th>{{#if:{{{party_column|}}}|<td>{{{partya|}}}</td>}}<td>{{{terma|}}}</td> | ||
</tr>{{#if:{{{nameb|}}}| | </tr>{{#if:{{{nameb|}}}| | ||
Revision as of 23:34, 30 October 2012
This is a subtemplate of {{infobox cabinet}}, it should not be used directly.
| Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Subpages of this template. |