Jump to content

Template:Election box new seat win and Template:Election box new seat win/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
remove background color as does not appear to be doing anything useful
 
Someski (talk | contribs)
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.
-->

|-
--><noinclude>
| 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)
|-
|-<noinclude>
{{documentation}}
[[Category:Election and referendum infobox templates]]
</noinclude>
</noinclude>
|- style="background-color:#F6F6F6" | style="" | | colspan="5" | {{{winner}}} win (new seat) |- |-