Difference between revisions of "Template:Cabinet table minister/row"
Jump to navigation
Jump to search
Template documentation
imported>Frietjes |
imported>Frietjes (tracking complete, articles with omitted party parameter/column are Felipe Calderón, Third Gladstone ministry, First Palmerston ministry, and Second United Indonesia Cabinet) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{#if:{{{name|}}} | {{#if:{{{name|}}} | ||
| − | |{{#if:{{{firstrow|}}}||<tr>}}{{#switch:{{{party|}}} | + | |{{#if:{{{firstrow|}}}||<tr>}}{{#switch:{{{party|OMIT}}} |
| − | |= | + | |OMIT= |
| − | |TBA|TBD|-=<td> </td> | + | |TBA|TBD|-|=<td> </td> |
| − | |#default=<td style="background:{{{{{party}}}/meta/color}}"> </td> | + | |#default=<td style="{{#ifexist:Template:{{{party}}}/meta/color|background:{{{{{party}}}/meta/color}}}}"> </td> |
}}<td><span style="font-weight:bold;{{#ifeq:{{{acting}}}|y|font-style:italic}}">{{{name}}}</span>{{#ifeq:{{{ministryhead}}}|y|<nowiki>*</nowiki>}}</td><!-- | }}<td><span style="font-weight:bold;{{#ifeq:{{{acting}}}|y|font-style:italic}}">{{{name}}}</span>{{#ifeq:{{{ministryhead}}}|y|<nowiki>*</nowiki>}}</td><!-- | ||
--><td>{{{termstart}}}</td><!-- | --><td>{{{termstart}}}</td><!-- | ||
| − | --><td>{{#if:{{{termend|}}}|{{{termend}}}|Incumbent|}}{{#ifeq:{{{diä}}}|y| † | + | --><td>{{#if:{{{termend|}}}|{{{termend}}}|Incumbent|}}{{#ifeq:{{{diä}}}|y| †}}</td><!-- |
| − | -->{{#switch:{{{party|}}} | + | -->{{#switch:{{{party|OMIT}}} |
| − | |= | + | |OMIT= |
| − | |TBA|TBD|-=<td>{{{party|}}}</td> | + | |TBA|TBD|-|=<td>{{{party|}}}</td> |
| − | |#default=<td>[[{{{party}}}|{{{{{party}}}/meta/shortname}}]]</td> | + | |#default=<td>{{#ifexist:Template:{{{party}}}/meta/shortname |
| + | |[[{{{party}}}|{{{{{party}}}/meta/shortname}}]] | ||
| + | |{{{party}}} | ||
| + | }}</td> | ||
}}{{#if:{{{ref|}}}|<td>{{{ref}}}</td>}}</tr> | }}{{#if:{{{ref|}}}|<td>{{{ref}}}</td>}}</tr> | ||
}}<noinclude> | }}<noinclude> | ||
Latest revision as of 12:35, 21 March 2019
This subtemplate is used by {{Cabinet table minister}} and should not be used directly.
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |