Template:Infobox referendum: Difference between revisions

From RoPlay
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
! colspan="3" style=" padding-top:4px;padding-bottom:4px;" | {{{flag|}}}
! colspan="3" style=" padding-top:4px;padding-bottom:4px;" | {{{flag|}}}
|-
|-
! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}}{{#if:{{{flag|}}}| |display:none;}} text-align:center; font-weight:normal; color:#FFFFFF; background:#A2A9B1;padding-bottom:1px;"  |
! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}}{{#if:{{{flag|}}}| |display:none;}} text-align:center; font-weight:normal; color:#FFFFFF; background:#A2A9B1;padding-bottom:.1px;"  |
|-
|-
! colspan="1" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{date|}}}| |display:none;}} text-align:center;font-weight:normal;color:#000000;line-height:130%;width:34%;padding-top:10px;padding-bottom:10px; background:;"|{{#if:{{{date|}}}|'''{{{date|}}}'''|}}
! colspan="1" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{date|}}}| |display:none;}} text-align:center;font-weight:normal;color:#000000;line-height:130%;width:34%;padding-top:5px;padding-bottom:5px; background:;"|{{#if:{{{date|}}}|'''{{{date|}}}'''|}}
|-
|-
! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; {{#if:{{{previous|}}}{{{date|}}}{{{next|}}}| |display:none;}} color:#FFFFFF; background:#A2A9B1;"  |
! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; {{#if:{{{previous|}}}{{{date|}}}{{{next|}}}| |display:none;}} color:#FFFFFF; background:#A2A9B1;"  |

Revision as of 19:53, 22 September 2024

Infobox referendum
Turnout
Choice Votes %
Yes
No
Valid votes
Invalid or blank votes
Total votes ' 100%
Registered voters/turnout
{{{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.

Example referendum
70px|bordered
10-13th March 2013
Turnout
Choice Votes %
Yes 1500 50%
No 1500 50%
Valid votes 1,516 99.87%
Invalid or blank votes 2 0.13%
Total votes 1,518 100%
Registered voters/turnout 1650 92%
{{{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
}}