Difference between revisions of "Template:Election box candidate with party link coalition 1918"

From blackwiki
Jump to navigation Jump to search
imported>Primefac
m (Protected "Template:Election box candidate with party link coalition 1918": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Req...)
imported>OwenBlacker
(Fixed colour of "C" for parties other than the Tories (MOS:ACCESS))
Line 6: Line 6:
 
     -->
 
     -->
 
|- class="vcard"
 
|- class="vcard"
| style="background-color: {{Template:{{{party}}}/meta/color}}; width: 5px; color:#FFFFFF"|'''C'''
+
| style="background-color: {{Template:{{{party}}}/meta/color}}; width: 5px; color:{{#switch:{{{party}}}|Coalition Liberal|Liberal|Liberal Party|National Democratic and Labour Party|National Democratic Party|Independent Unionist=black|white}}"|'''C'''
 
| class="org" style="width: 130px" | {{#if:{{{party|}}}|[[{{{party}}}|{{Template:{{{party}}}/meta/shortname}}]]}}
 
| class="org" style="width: 130px" | {{#if:{{{party|}}}|[[{{{party}}}|{{Template:{{{party}}}/meta/shortname}}]]}}
 
| class="fn"| {{#if:1|{{{candidate}}}}}
 
| class="fn"| {{#if:1|{{{candidate}}}}}

Revision as of 09:02, 1 March 2018

|- class="vcard" | style="background-color: {{Template:{{{party}}}/meta/color}}; width: 5px; color:white"|C | class="org" style="width: 130px" | | class="fn"| {{{candidate}}} | style="text-align: right; margin-right: 0.5em" | | style="background: ; color: #2C2C2C; vertical-align: middle; font-size: smaller; text-align: center;" class="table-na" | | style="background: ; color: #2C2C2C; vertical-align: middle; font-size: smaller; text-align: center;" class="table-na" |

|-

50px Template documentation[create]