Template:Election table results: Difference between revisions

From TSP Encyclopedia
Jump to navigation Jump to search
mNo edit summary
Tag: 2017 source edit
m (Use Election candidate results Template for RON and Invalid ballots)
Tag: 2017 source edit
Line 16: Line 16:
{{#if: {{{9|}}} | {{!}}-{{{9}}}
{{#if: {{{9|}}} | {{!}}-{{{9}}}
{{#if: {{{10|}}} | {{!}}-{{{10}}} |}} |}} |}} |}} |}} |}} |}} |}} |}} |}}
{{#if: {{{10|}}} | {{!}}-{{{10}}} |}} |}} |}} |}} |}} |}} |}} |}} |}} |}}
{{#ifeq: {{{ron_opt|}}} | exclude || {{!}}-{{#ifeq: {{{ron_opt|}}} | win | style="background: #d2ffd2;" |}}
{{#ifeq: {{{ron_opt|}}} | exclude || {{!}}-{{Election candidate result | {{{ron_opt|lose}}}
{{!}} style="text-align: left;" {{!}} ''Re-Open Nominations''
| name = ''Re-Open Nominations''
{{!}} {{{ron|0}}}
| vote = {{{ron|0}}}
{{!}} style="text-align: left;" {{!}} {{Election vote share | {{{ron|0}}} | {{{ballots|0}}} | #ff9900}} }}
| ballots = {{{ballots|1}}}
|-style="background: #aaa;"
| color = #ff9900}} }}
| style="text-align: left;" | '''Invalid ballots'''
|-{{Election candidate result | lose
| {{{invalid|0}}}
| name = '''Invalid ballots'''
| style="text-align: left;" | {{Election vote share | {{{invalid|0}}} | {{#expr: {{{ballots|0}}} + {{{invalid|0}}} }} | #444}}
| vote = {{{invalid|0}}}
| ballots = {{#expr: {{{ballots|0}}} + {{{invalid|0}}} }}
| color = #444}}
|}</includeonly></onlyinclude>
|}</includeonly></onlyinclude>

Revision as of 10:19, 9 February 2022