Template:Election table results: Difference between revisions
Jump to navigation
Jump to search
(RON now part of the election table itself, added invalid ballots option) Tag: 2017 source edit |
m (More candidate slots) Tag: 2017 source edit |
||
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|}}} | {{!}}-{{{1}}} |}} | {{#if: {{{1|}}} | {{!}}-{{{1}}} |}}{{#if: {{{2|}}} | {{!}}-{{{2}}} |}}{{#if: {{{3|}}} | {{!}}-{{{3}}} |}}{{#if: {{{4|}}} | {{!}}-{{{4}}} |}}{{#if: {{{5|}}} | {{!}}-{{{5}}} |}}{{#if: {{{6|}}} | {{!}}-{{{6}}} |}}{{#if: {{{7|}}} | {{!}}-{{{7}}} |}}{{#if: {{{8|}}} | {{!}}-{{{8}}} |}}{{#if: {{{9|}}} | {{!}}-{{{9}}} |}}{{#if: {{{10|}}} | {{!}}-{{{10}}} |}} | ||
{{#if: {{{2|}}} | {{!}}-{{{2}}} |}} | {{#ifeq: {{{ron_opt|}}} | exclude || {{!}}-style="text-align: left;{{#ifeq: {{{ron_opt|}}} | win | background: #d2ffd2 |}}" | ||
{{#if: {{{3|}}} | {{!}}-{{{3}}} |}} | |||
{{#if: {{{4|}}} | {{!}}-{{{4}}} |}} | |||
{{#if: {{{5|}}} | {{!}}-{{{5}}} |}} | |||
{{# | |||
{{!}} ''Re-Open Nominations'' | {{!}} ''Re-Open Nominations'' | ||
{{!}} {{{ron|0}}} | {{!}} {{{ron|0}}} | ||
{{!}} {{Election vote share | {{{ron|0}}} | {{{ballots|0}}} | #ff9900}} }} | {{!}} {{Election vote share | {{{ron|0}}} | {{{ballots|0}}} | #ff9900}} }} | ||
|-style="background: #aaa;" | |-style="text-align: left; background: #aaa;" | ||
| '''Invalid ballots''' | | '''Invalid ballots''' | ||
| {{{invalid|0}}} | | {{{invalid|0}}} | ||
| {{Election vote share | {{{invalid|0}}} | {{#expr: {{{ballots|0}}} + {{{invalid|0}}} }} | #444}} | | {{Election vote share | {{{invalid|0}}} | {{#expr: {{{ballots|0}}} + {{{invalid|0}}} }} | #444}} | ||
|}</includeonly></onlyinclude> | |}</includeonly></onlyinclude> |