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

From TSP Encyclopedia
Jump to navigation Jump to search
m (Fix percentage error)
Tag: 2017 source edit
m (Use new votebar template)
Tag: 2017 source edit
Line 3: Line 3:
| style="text-align: left;" | {{#ifeq: {{{2|}}} | incumbent | {{#ifeq: {{{1|}}} | win | '''{{font color|green|✓}}''' | {{#ifeq: {{{1|}}} | elim | '''{{font color|red|✗}}''' | {{#ifeq: {{{1|}}} | lose | '''{{font color|red|✗}}''' |}} }} }} |}} {{{name|}}}
| style="text-align: left;" | {{#ifeq: {{{2|}}} | incumbent | {{#ifeq: {{{1|}}} | win | '''{{font color|green|✓}}''' | {{#ifeq: {{{1|}}} | elim | '''{{font color|red|✗}}''' | {{#ifeq: {{{1|}}} | lose | '''{{font color|red|✗}}''' |}} }} }} |}} {{{name|}}}
| {{{votes|0}}}
| {{{votes|0}}}
| <div style="box-sizing: border-box; border: 1px solid black; background: white; height: 1.3em; width: 100px; text-shadow: 0 0 0.2em white; text-align: center;"><div style="background-color: #{{TSP Election/meta/party|{{{party|Independent}}}}}; height: 100%; width: {{{percentage|0}}}%;">{{{percentage|0}}}%</div></div></includeonly></onlyinclude>
| {{TSP Election/meta/votebar|{{{percentage|0}}}|{{TSP Election/meta/party|{{{party|Independent}}}}}}}</includeonly></onlyinclude>

Revision as of 13:22, 11 November 2022