Template:Infobox referendum: Difference between revisions

From RoPlay
Jump to navigation Jump to search
No edit summary
No edit summary
 
(43 intermediate revisions by the same user not shown)
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; height: .5px;"  |
! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#bbbdc0; height: 0.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:8px;padding-bottom:8px; 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:8px;padding-bottom:8px; 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; height: .5px;"  |
! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#bbbdc0; height: 0.1px;"  |
|-
|-
! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{seatsup|}}}|}} text-align:center; font-weight:normal; color:#000000; background:;" |{{{seatsup|}}}
|<div style="background-color: #FEFEFE; border: 2px solid #A2A9B1; padding: 15px 15px; margin-top: 3px; font-size: 14px">{{{question|}}}</div>
|-
|-
! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{needed|}}}|}} text-align:center; font-weight:normal; color:#000000; background:;" |{{{needed|}}}
! style="white-space:nowrap; background-color: #EFEFEF; margin-top: 5px; font-size: 14px" | '''Results'''
|-
|-
! style="width:text-align:left;5em;white-space:nowrap;{{#if:{{{turnout|}}}| |display:none;}}" | '''Turnout'''
! style="width:text-align:left;5em;white-space:nowrap;{{#if:{{{turnout|}}}| |display:none;}}" | '''Turnout'''
Line 29: Line 29:
|-
|-
! '''Choice''' !! '''Votes''' !! '''%'''
! '''Choice''' !! '''Votes''' !! '''%'''
|- style = "border-left: 4px solid {{{yes_colour|#999}}}"
|- style = "border-left: 4px solid {{{option_1_colour|#999}}}"
| [[File:Yes tick.png|14px]] '''Yes''' || {{{yes|}}} || {{{yes_percentage|}}}
| {{{option_1|}}} || {{{option_1_votes|}}} || {{{option_1_percentage|}}}
|- style = "border-left: 4px solid {{{no_colour|#999}}}"
|- style = "border-left: 4px solid {{{option_2_colour|#999}}}"
| [[File:No tick.png|14px]] '''No''' || {{{no|}}} || {{{no_percentage|}}}
| {{{option_2}}} || {{{option_2_votes|}}} || {{{option_2_percentage|}}}
 
|- style = "{{#if:{{{option_3|}}}|display: none;| |}} border-left: 4px solid {{{option_3_colour|#999}}}"
| {{{option_3|}}} || {{{option_3_votes|}}} || {{{option_3_percentage|}}}
|- style = "{{#if:{{{option_4|}}}|display: none;| |}} border-left: 4px solid {{{option_4_colour|#999}}}"
| {{{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;"
| Valid votes || {{{valid_votes|}}} || {{{valid_votes_percentage|}}}
| Valid votes || {{{valid_votes|}}} || {{{valid_votes_percentage|}}}
Line 67: Line 73:
|}
|}
<noinclude>
<noinclude>
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
{{Infobox referendum
|name=Example referendum
|name=Example referendum
|country=Link to country
|country=Link to country
|flag=[[Falkland Islands.png|70px|bordered]]
|flag=[[File:Falkland Islands.png|border|60px]]
|date=10-13th March 2013
|date=10-13th March 2013
|question = Amends Constitution: Provides That May And November Property Tax Elections Are Decided By Majority Of Voters Voting


|yes=1500
|option_1=[[File:Yes tick.png|14px]] '''Yes'''
|yes_percentage=50%
|option_1_votes=1500
|yes_colour=#23c
|option_1_percentage=50%
|no=1500
|option_1_colour=#23c
|no_percentage=50%
 
|no_colour=#c82
|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 = 1,516
Line 92: Line 106:
Example usage:<pre>
Example usage:<pre>
{{Infobox referendum
{{Infobox referendum
|yes=1500
|name=Example referendum
|yes_percentage=50%
|country=Link to country
|yes_colour=#23c
|flag=[[File:Falkland Islands.png|border|60px]]
|no=1500
|date=10-13th March 2013
|no_percentage=50%
|question = Amends Constitution: Provides That May And November Property Tax Elections Are Decided By Majority Of Voters Voting
|no_colour=#c82
 
|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%
}}
}}
</pre>
</pre>

Latest revision as of 21: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%
}}