Template:TSP Election/result/candidate: Difference between revisions

From TSP Encyclopedia
Jump to navigation Jump to search
m (Use new votebar template)
Tag: 2017 source edit
m (CSS fix)
Tag: 2017 source edit
 
Line 1: Line 1:
<onlyinclude><includeonly>|- {{#ifeq: {{{1|}}} | win | style="background: #d2ffd2;" | {{#ifeq: {{{1|}}} | elim | style="background: #ffcccc;" |}} }}
<onlyinclude><includeonly>|- {{#ifeq: {{{1|}}} | win | style="background: #d2ffd2;" | {{#ifeq: {{{1|}}} | elim | style="background: #ffcccc;" |}} }}
| title="{{{party|Independent}}}" style="background: #{{TSP Election/meta/party|{{{party|Independent}}}}};" | &nbsp;
| title="{{{party|Independent}}}" style="background: #{{TSP Election/meta/party|{{{party|Independent}}}}}; width: 5px;" | &nbsp;
| style="text-align: left;" | {{#ifeq: {{{2|}}} | incumbent | {{#ifeq: {{{1|}}} | win | '''{{font color|green|&check;}}''' | {{#ifeq: {{{1|}}} | elim | '''{{font color|red|&cross;}}''' | {{#ifeq: {{{1|}}} | lose | '''{{font color|red|&cross;}}''' |}} }} }} |}} {{{name|}}}
| style="text-align: left;" | {{#ifeq: {{{2|}}} | incumbent | {{#ifeq: {{{1|}}} | win | '''{{font color|green|&check;}}''' | {{#ifeq: {{{1|}}} | elim | '''{{font color|red|&cross;}}''' | {{#ifeq: {{{1|}}} | lose | '''{{font color|red|&cross;}}''' |}} }} }} |}} {{{name|}}}
| {{{votes|0}}}
| {{{votes|0}}}
| {{TSP Election/meta/votebar|{{{percentage|0}}}|{{TSP Election/meta/party|{{{party|Independent}}}}}}}</includeonly></onlyinclude>
| style="width: 103px;" | {{TSP Election/meta/votebar|{{{percentage|0}}}|{{TSP Election/meta/party|{{{party|Independent}}}}}}}</includeonly></onlyinclude>

Latest revision as of 13:52, 11 November 2022