Template:Election candidate results: Difference between revisions

From TSP Encyclopedia
Jump to navigation Jump to search
mNo edit summary
Tag: 2017 source edit
m (Fixed #ifeq condition)
Tag: 2017 source edit
Line 1: Line 1:
<includeonly>{{#ifeq: {{{1|}}} | win | style="background: #d2ffd2;" | {{#ifeq: {{{1|}}} | elim | style="background: #ffcccc;"}} }}
<includeonly>{{#ifeq: {{{1|}}} | win | style="background: #d2ffd2;" | {{#ifeq: {{{1|}}} | elim | style="background: #ffcccc;" |}} }}
| 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|{{#ifeq: {{{2|}}} | RON | ''Re-Open Nominations'' |}} }}}
| 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|{{#ifeq: {{{2|}}} | RON | ''Re-Open Nominations'' |}} }}}
| {{{vote|0}}}
| {{{vote|0}}}
| {{{percent|0}}}%<br><div style="box-sizing: border-box; border: 1px solid #aaa; background: white; height: 1.15em;"><div style="background-color: #109aed; height: 100%; width: {{{percent|0}}}%"></div></div></includeonly>
| {{{percent|0}}}%<br><div style="box-sizing: border-box; border: 1px solid #aaa; background: white; height: 1.15em;"><div style="background-color: #109aed; height: 100%; width: {{{percent|0}}}%"></div></div></includeonly>

Revision as of 08:49, 9 February 2022