Difference between revisions of "Template:Cabinet table minister/row"
Jump to navigation
Jump to search
Template documentation
imported>Frietjes |
imported>Frietjes (avoid odd output when the party parameter is a wikilink or the meta templates don't exist) |
||
Line 3: | Line 3: | ||
|= | |= | ||
|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><!-- | ||
Line 10: | Line 10: | ||
|= | |= | ||
|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> |
Revision as of 12:14, 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. |