Template:Infobox referendum: Difference between revisions

From RoPlay
Jump to navigation Jump to search
No edit summary
No edit summary
Line 32: Line 32:
! Choice !! Votes !! %
! Choice !! Votes !! %
|- style = "border-left: 4px solid {{{yes_colour|}}}"
|- style = "border-left: 4px solid {{{yes_colour|}}}"
| [[File:Yes tick.png|14px]] '''Yes''' || {{{yes}}} || {{{yes_percentage}}}
| [[File:Yes tick.png|14px]] '''Yes''' || {{{yes|}}} || {{{yes_percentage|}}}
|- style = "border-left: 4px solid {{{no_colour|}}}"
|- style = "border-left: 4px solid {{{no_colour|}}}"
| [[File:No tick.png|14px]] '''No''' || {{{no}}} || {{{no_percentage}}}
| [[File:No tick.png|14px]] '''No''' || {{{no|}}} || {{{no_percentage|}}}
|}
|}
|}
|}

Revision as of 18:27, 22 September 2024

Infobox referendum
Turnout
Choice Votes %
Yes
No
{{{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
No
{{{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
}}