Template:TSP Election/result: Difference between revisions

From TSP Encyclopedia
Jump to navigation Jump to search
m (Fix Invalid percentage calculation)
Tag: 2017 source edit
(Automatic RON % calculation)
Tag: 2017 source edit
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable"
{| class="wikitable" style="table-layout: fixed;"
! colspan="4" | Results{{#if: {{{title|}}} | : {{{title}}} |}}
! colspan="4" | Results{{#if: {{{title|}}} | : {{{title}}} |}}
|- style="font-weight: normal;"
|-
! colspan="2" style="text-align: right; vertical-align: top;" | Notes:
! colspan="4" style="font-size: 80%; font-weight: normal;" | {{font color||#d2ffd2|Green background}} denotes winning candidates.<br>{{font color||#ffcccc|Red background}} denotes eliminated candidates.<br>'''{{color|green|&check;}}''' and '''{{color|red|&cross;}}''' signal victory or defeat of incumbents respectively.
! colspan="2" style="text-align: left; font-size: 80%;" | {{font color||#d2ffd2|Green background}} denotes winning candidates.<br>{{font color||#ffcccc|Red background}} denotes eliminated candidates.<br>'''{{color|green|&check;}}''' and '''{{color|red|&cross;}}''' denote the status of any incumbent, win or lose respectively.
|-
|-
! colspan="2" | Candidate
! colspan="2" | Candidate
Line 13: Line 12:
| party = RON
| party = RON
| votes = {{{ron_votes|0}}}
| votes = {{{ron_votes|0}}}
| percentage = {{{ron_percentage|0}}}
| percentage = {{#expr: {{{ron_votes|0}}} / {{{ballots|1}}} * 100 }}
}}}}
}}}}
{{TSP Election/result/candidate | lose
{{TSP Election/result/candidate | lose
Line 22: Line 21:
}}
}}
|-
|-
! colspan="3" style="text-align: left;" | Total ballots cast:
! colspan="3" style="text-align: right;" | Total ballots cast:
| style="text-align: left;" | {{{ballots|0}}}
| style="text-align: left;" | {{{ballots|0}}}
|-
|-
! colspan="3" style="text-align: left;" | Turnout:
! colspan="3" style="text-align: right;" | Turnout:
| <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: #{{#ifexpr: {{{turnout|0}}} > 50 | lightgreen | lightpink}}; height: 100%; width: {{{turnout|0}}};">{{{turnout|0}}}</div></div>
| {{TSP Election/meta/votebar|{{{turnout|0}}}|{{#ifexpr: {{{turnout|0}}} > 50 | 90ee90 | ffb6c1}}}}
|}
|}

Latest revision as of 10:23, 18 November 2022

Results
Green background denotes winning candidates.
Red background denotes eliminated candidates.
and signal victory or defeat of incumbents respectively.
Candidate Votes
  Re-Open Nominations 0
0%
  Invalid ballots 0
0%
Total ballots cast: 0
Turnout:
0%