Template:Election box new seat win and Template:Election box new seat win/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
remove background color as does not appear to be doing anything useful |
←Created page with '<!-- Add your experimental template code here. --><noinclude> {{Documentation}} </noinclude> |- style="background-color:#F6F6F6" | style="" | | colspan="5"...' |
||
Line 1: | Line 1: | ||
<!-- |
|||
<!-- Election candidates and results template |
|||
See Template_talk:Election box for details of how to use this template |
|||
Add your experimental template code here. |
|||
--> |
|||
|- |
|||
⚫ | |||
| style="color:inherit;background-color:{{if empty|{{{colour|}}}|{{{color|}}}|{{#if:{{{winner|}}}|{{#invoke:Political party|fetch|{{{winner}}}|color}}}}}}" | |
|||
{{Documentation}} |
|||
| colspan="5" | {{#if:{{{winner|}}}|[[{{#ifeq:{{{winner}}}|Independent|Independent politician|{{{winner}}}}}|{{#invoke:Political party|fetch|{{{winner}}}|shortname}}]]}} '''win''' (new seat) |
|||
|- |
|||
⚫ | |||
{{documentation}} |
|||
[[Category:Election and referendum infobox templates]] |
|||
</noinclude> |
</noinclude> |
||
|- style="background-color:#F6F6F6" | style="" | | colspan="5" | {{{winner}}} win (new seat) |- |- |