Template:Infobox referendum: Difference between revisions

From RoPlay
Jump to navigation Jump to search
No edit summary
No edit summary
Line 35: Line 35:
|- style = "border-left: 4px solid {{{no_colour|#999}}}"
|- style = "border-left: 4px solid {{{no_colour|#999}}}"
| [[File:No tick.png|14px]] '''No''' || {{{no|}}} || {{{no_percentage|}}}
| [[File:No tick.png|14px]] '''No''' || {{{no|}}} || {{{no_percentage|}}}
|- style = "border-left: 4px solid {{{no_colour|#999}}}; background-color: #EEEEEE;"
|- style = "border-left: 4px solid #999; background-color: #EEEEEE;"
| Valid votes || {{{valid_votes|}}} || {{{valid_votes_percentage|}}}
| Valid votes || {{{valid_votes|}}} || {{{valid_votes_percentage|}}}
|- style = "border-left: 4px solid {{{no_colour|#999}}}; background-color: #EEEEEE;"
|- style = "border-left: 4px solid #999; background-color: #EEEEEE;"
| Invalid or blank votes || {{{invalid_votes|}}} || {{{invalid_votes_percentage|}}}
| Invalid or blank votes || {{{invalid_votes|}}} || {{{invalid_votes_percentage|}}}
|}
|}

Revision as of 18:34, 22 September 2024

Infobox referendum
Turnout
Choice Votes %
Yes
No
Valid votes
Invalid or blank votes
{{{map_image}}}
{{{officer}}} before
{{{old}}}
{{{officer}}} after
{{{new}}}

For if the other election templates dont work. This one holds up to 12 parties! Can be used for mearly any election. Template is below with values shown here.

Infobox referendum
Turnout
Choice Votes %
Yes 1500 50%
No 1500 50%
Valid votes 1,516 99.87%
Invalid or blank votes 2 0.13%
{{{officer}}} before
{{{old}}}
{{{officer}}} after
{{{new}}}

Example usage:

{{Infobox referendum
|yes=1500
|yes_percentage=50%
|yes_colour=#23c
|no=1500
|no_percentage=50%
|no_colour=#c82
}}