Template:Infobox referendum: Difference between revisions

From RoPlay
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 34: Line 34:
| {{{option_2}}} || {{{option_2_votes|}}} || {{{option_2_percentage|}}}
| {{{option_2}}} || {{{option_2_votes|}}} || {{{option_2_percentage|}}}


{{#if:{{{option_3|}}}|
|- style = "{{#if:{{{option_3|}}}|display: none;| |}} border-left: 4px solid {{{option_3_colour|#999}}}"
|- style = "border-left: 4px solid {{{option_3_colour|#999}}}"
| {{{option_3|}}} || {{{option_3_votes|}}} || {{{option_3_percentage|}}}
| {{{option_3|}}} || {{{option_3_votes|}}} || {{{option_3_percentage|}}}
}}
|- style = "{{#if:{{{option_4|}}}|display: none;| |}} border-left: 4px solid {{{option_4_colour|#999}}}"
 
{{#if:{{{option_4|}}}|
|- style = "border-left: 4px solid {{{option_4_colour|#999}}}"
| {{{option_4|}}} || {{{option_4_votes|}}} || {{{option_4_percentage|}}}
| {{{option_4|}}} || {{{option_4_votes|}}} || {{{option_4_percentage|}}}
}}


|- style = "border-left: 4px solid #999; background-color: #EEEEEE;"
|- style = "border-left: 4px solid #999; background-color: #EEEEEE;"

Latest revision as of 20:47, 22 September 2024

Infobox referendum
Results
Turnout
Choice Votes %
{{{option_2}}}
Valid votes
Invalid or blank votes
Total votes ' 100%
Registered voters/turnout
{{{map_image}}}
{{{officer}}} before
{{{old}}}
{{{officer}}} after
{{{new}}}
Example referendum
10-13th March 2013
Amends Constitution: Provides That May And November Property Tax Elections Are Decided By Majority Of Voters Voting
Results
Turnout
Choice Votes %
Yes 1500 50%
No 1500 50%
Unsure 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
|name=Example referendum
|country=Link to country
|flag=[[File:Falkland Islands.png|border|60px]]
|date=10-13th March 2013
|question = Amends Constitution: Provides That May And November Property Tax Elections Are Decided By Majority Of Voters Voting

|option_1=[[File:Yes tick.png|14px]] '''Yes'''
|option_1_votes=1500
|option_1_percentage=50%
|option_1_colour=#23c

|option_2=[[File:No tick.png|14px]] '''No'''
|option_2_votes=1500
|option_2_percentage=50%
|option_2_colour=#c82

|option_3=Unsure
|option_3_votes=1500
|option_3_percentage=50%
|option_3_colour=#cdc

|valid_votes = 1,516
|valid_votes_percentage = 99.87%
|invalid_votes = 2
|invalid_votes_percentage =0.13%

|total_votes = 1,518
|registered_voters_turnout = 1650
|registered_voters_turnout_percentage = 92%
}}