Template:Referendum: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width:{{{width|370px}}}; background: border-collapse:collapse; border:3.5px solid {{{color|}}}; font-size:smaller; line-height:1.5" |- |<div> {| border="0" cellpadding="1" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle" |- ! colspan="3" style="text-align:center; color:#FFFFFF; background:#212121; font-si...") |
No edit summary |
||
Line 31: | Line 31: | ||
! Choice !! Votes !! % | ! Choice !! Votes !! % | ||
|- style = "{{#if:{{{choice1|}}}{{{votes1|}}}{{{percentage1|}}}| |display:none;}} border-left: 4px solid {{{color1|}}}" | |- style = "{{#if:{{{choice1|}}}{{{votes1|}}}{{{percentage1|}}}| |display:none;}} border-left: 4px solid {{{color1|}}}" | ||
| style="text-align:left;" | {{{choice1|}}} || {{{votes1|}}} || {{{percentage1|}}} | | style="text-align:left;" | {{{choice1|}}} || style="text-align:right;" | {{{votes1|}}} || style="text-align:right;" | {{{percentage1|}}} | ||
|- style = "{{#if:{{{choice2|}}}{{{votes2|}}}{{{percentage2|}}}| |display:none;}} border-left: 4px solid {{{color2|}}}" | |||
| style="text-align:left;" | {{{choice2|}}} || style="text-align:right;" | {{{votes2|}}} || style="text-align:right;" | {{{percentage2|}}} | |||
|- style = "{{#if:{{{choice3|}}}{{{votes3|}}}{{{percentage3|}}}| |display:none;}} border-left: 4px solid {{{color3|}}}" | |||
| style="text-align:left;" | {{{choice3|}}} || style="text-align:right;" | {{{votes3|}}} || style="text-align:right;" | {{{percentage3|}}} | |||
|- style = "{{#if:{{{choice4|}}}{{{votes4|}}}{{{percentage4|}}}| |display:none;}} border-left: 4px solid {{{color4|}}}" | |||
| style="text-align:left;" | {{{choice4|}}} || style="text-align:right;" | {{{votes4|}}} || style="text-align:right;" | {{{percentage4|}}} | |||
|- style = "{{#if:{{{choice5|}}}{{{votes5|}}}{{{percentage5|}}}| |display:none;}} border-left: 4px solid {{{color5|}}}" | |||
| style="text-align:left;" | {{{choice5|}}} || style="text-align:right;" | {{{votes5|}}} || style="text-align:right;" | {{{percentage5|}}} | |||
|- style = "{{#if:{{{totalvotes|}}}| |display:none;}}" | |||
| style="background:#EEEEEE;text-align:left;" | '''Total votes''' || style="background:#EEEEEE;text-align:right;" | {{{totalvotes|}}} || style="background:#EEEEEE;text-align:right;" | 100% | |||
|- style = "{{#if:{{{voters|}}}{{{turnout|}}}| |display:none;}}" | |||
| style="background:#EEEEEE;text-align:left;" | Registered voters/turnout || style="background:#EEEEEE;text-align:right;" | {{{voters|}}} || style="background:#EEEEEE;text-align:right;" |{{{turnout|}}} | |||
|} | |} | ||
|} | |} | ||
Line 45: | Line 57: | ||
| colspan="3" style="{{#if:{{{map_caption|}}}| }}" class="infoboxcell" valign="top" align="middle" |{{{map_caption|}}} | | colspan="3" style="{{#if:{{{map_caption|}}}| }}" class="infoboxcell" valign="top" align="middle" |{{{map_caption|}}} | ||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
|} | |} | ||
|} | |} | ||
Line 62: | Line 63: | ||
{{Referendum | {{Referendum | ||
|color=black | |color=black | ||
|title1=3023 Turkish | |title1=3023 Turkish referendum | ||
|flag=[[File:Adsadsdsdasasdsdads.png|50px|link=Aurora:Turkey]] | |flag=[[File:Adsadsdsdasasdsdads.png|50px|link=Aurora:Turkey]] | ||
|dateofelection=14 May 3023 | |dateofelection=14 May 3023 | ||
|question=why? | |question=why? | ||
|color1= | |totalvotes=100 | ||
|choice1= | |voters=200 | ||
|votes1= | |turnout=50.00% | ||
|percentage1= | |||
|color1=green | |||
|choice1=Yes1 | |||
|votes1=33 | |||
|percentage1=33.00% | |||
|color2=blue | |||
|choice2=Yes2 | |||
|votes2=37 | |||
|percentage2=37.00% | |||
|color3=red | |||
|choice3=No | |||
|votes3=30 | |||
|percentage3=30.00% | |||
|map_image=[[File:Turkeymap.jpg|360px]] | |map_image=[[File:Turkeymap.jpg|360px]] | ||
Line 84: | Line 98: | ||
{{Referendum | {{Referendum | ||
|color=black | |color=black | ||
|title1=3023 Turkish | |title1=3023 Turkish referendum | ||
|flag=[[File:Adsadsdsdasasdsdads.png|50px|link=Aurora:Turkey]] | |flag=[[File:Adsadsdsdasasdsdads.png|50px|link=Aurora:Turkey]] | ||
|dateofelection=14 May 3023 | |dateofelection=14 May 3023 | ||
|question=why? | |question=why? | ||
|color1= | |totalvotes=100 | ||
|choice1= | |voters=200 | ||
|votes1= | |turnout=50.00% | ||
|percentage1= | |||
|color1=green | |||
|choice1=Yes1 | |||
|votes1=33 | |||
|percentage1=33.00% | |||
|color2=blue | |||
|choice2=Yes2 | |||
|votes2=37 | |||
|percentage2=37.00% | |||
|color3=red | |||
|choice3=No | |||
|votes3=30 | |||
|percentage3=30.00% | |||
|map_image=[[File:Turkeymap.jpg|360px]] | |map_image=[[File:Turkeymap.jpg|360px]] |
Revision as of 22:10, 5 September 2023
|
Example usage:
{{Referendum |color=black |title1=3023 Turkish referendum |flag=[[File:Adsadsdsdasasdsdads.png|50px|link=Aurora:Turkey]] |dateofelection=14 May 3023 |question=why? |totalvotes=100 |voters=200 |turnout=50.00% |color1=green |choice1=Yes1 |votes1=33 |percentage1=33.00% |color2=blue |choice2=Yes2 |votes2=37 |percentage2=37.00% |color3=red |choice3=No |votes3=30 |percentage3=30.00% |map_image=[[File:Turkeymap.jpg|360px]] |map_caption=Map Caption |officer=Speaker of the Assembly |old=Example1 |new=Example2 |previous=3022 |next=3024 }}