Template:Infobox referendum: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(52 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em;width:350px;min-width:350px; background: border-collapse:collapse | {| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em;width:350px;min-width:350px; background: border-collapse:collapse; font-size:smaller; line-height:1.5" | ||
! <font style="text-align:center; font-size:130%;">{{{name|{{PAGENAME}}}}}</font> | ! <font style="text-align:center; font-size:130%;">{{{name|{{PAGENAME}}}}}</font> | ||
|- | |- | ||
{| cellspacing="1" cellpadding="1" style="background-color: #F8F9FA; float:right; clear:right; margin: 0 0 .5em 1em;width:350px;min-width:350px; background: border-collapse:collapse; border:1px solid #A2A9B1; font-size:smaller; line-height:1.5" | |||
|<div> | |<div> | ||
{| border="0" cellpadding="1" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle" | {| border="0" cellpadding="1" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle" | ||
Line 7: | 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;| | | ! 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:{{{ | ! 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; | ! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#bbbdc0; height: 0.1px;" | | ||
|- | |- | ||
|<div style="background-color: #FEFEFE; border: 2px solid #A2A9B1; padding: 15px 15px; margin-top: 3px; font-size: 14px">{{{question|}}}</div> | |||
|- | |- | ||
! | ! 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 30: | Line 29: | ||
|- | |- | ||
! '''Choice''' !! '''Votes''' !! '''%''' | ! '''Choice''' !! '''Votes''' !! '''%''' | ||
|- style = "border-left: 4px solid {{{ | |- style = "border-left: 4px solid {{{option_1_colour|#999}}}" | ||
| | | {{{option_1|}}} || {{{option_1_votes|}}} || {{{option_1_percentage|}}} | ||
|- style = "border-left: 4px solid {{{ | |- style = "border-left: 4px solid {{{option_2_colour|#999}}}" | ||
| | | {{{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 64: | Line 69: | ||
| colspan="1" style="{{#if:{{{new|}}}||display:none;}};" valign="top" align="right" |'''{{{officer}}} after'''<br>{{{new}}} | | colspan="1" style="{{#if:{{{new|}}}||display:none;}};" valign="top" align="right" |'''{{{officer}}} after'''<br>{{{new}}} | ||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
|} | |||
|} | |} | ||
|} | |} | ||
<noinclude> | <noinclude> | ||
{{Infobox referendum | {{Infobox referendum | ||
|name=Example referendum | |name=Example referendum | ||
|country=Link to country | |country=Link to country | ||
|flag=[[Falkland Islands.png| | |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 | |||
|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 = 1,516 | ||
Line 92: | Line 106: | ||
Example usage:<pre> | Example usage:<pre> | ||
{{Infobox referendum | {{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% | |||
}} | }} | ||
</pre> | </pre> |
Latest revision as of 20:47, 22 September 2024
Infobox referendum |
---|
|
Example referendum |
---|
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% }}