Template:Election table results: Difference between revisions
Jump to navigation
Jump to search
m (Formatting fix) Tag: 2017 source edit |
(RON now part of the election table itself, added invalid ballots option) Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
<includeonly>{| class="wikitable" style="text-align: center;" | <onlyinclude><includeonly>{| class="wikitable" style="text-align: center;" | ||
! colspan="3" | Results: {{{title|}}} | ! colspan="3" | Results: {{{title|}}} | ||
|- | |- | ||
Line 6: | Line 6: | ||
! Candidate | ! Candidate | ||
! colspan="2" | {{#ifeq: {{{type|}}} | AV | Approvals | {{#ifeq: {{{type|}}} | IRV | First-Place Preferences | Votes}} }} | ! colspan="2" | {{#ifeq: {{{type|}}} | AV | Approvals | {{#ifeq: {{{type|}}} | IRV | First-Place Preferences | Votes}} }} | ||
{{#if: {{{1|}}} | | {{#if: {{{1|}}} | {{!}}-{{{1}}} |}} | ||
{{!}}-{{{1}}} |}}{{#if: {{{2|}}} | | {{#if: {{{2|}}} | {{!}}-{{{2}}} |}} | ||
{{!}}-{{{2}}} |}}{{#if: {{{3|}}} | | {{#if: {{{3|}}} | {{!}}-{{{3}}} |}} | ||
{{!}}-{{{3}}} |}}{{#if: {{{4|}}} | | {{#if: {{{4|}}} | {{!}}-{{{4}}} |}} | ||
{{!}}-{{{4}}} |}}{{#if: {{{5|}}} | | {{#if: {{{5|}}} | {{!}}-{{{5}}} |}} | ||
{{!}}-{{{ | {{#ifeq: {{{ron_opt|}}} | exclude || {{!}}-{{#ifeq: {{{ron_opt|}}} | win | {{!}}-style="background: #d2ffd2;" |}} | ||
|}</includeonly> | {{!}} ''Re-Open Nominations'' | ||
{{!}} {{{ron|0}}} | |||
{{!}} {{Election vote share | {{{ron|0}}} | {{{ballots|0}}} | #ff9900}} }} | |||
|-style="background: #aaa;" | |||
| '''Invalid ballots''' | |||
| {{{invalid|0}}} | |||
| {{Election vote share | {{{invalid|0}}} | {{#expr: {{{ballots|0}}} + {{{invalid|0}}} }} | #444}} | |||
|}</includeonly></onlyinclude> |