Template:ReferendumYesNo: Difference between revisions

From EarthMC
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 6: Line 6:
! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:150%;" |{{{name|<font color="white">{{{title1}}}</font>}}}
! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:150%;" |{{{name|<font color="white">{{{title1}}}</font>}}}
|- style="text-align:center;"
|- style="text-align:center;"
|-
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{flag|}}}|}} text-align:center; font-weight:normal; color:#000000; background:;" |{{{flag}}}
|-
|-
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{dateofelection|}}}|}} text-align:center; font-weight:normal; color:#000000; background:;" |{{{dateofelection}}}
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{dateofelection|}}}|}} text-align:center; font-weight:normal; color:#000000; background:;" |{{{dateofelection}}}
Line 12: Line 14:
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|}
|}
{| colspan="3" align="center" border="0" cellpadding="4" cellspacing="1" width="100%" style="border-collapse:collapse; text-align:center; width:100%; border:0px"
{| align="center" border="0" cellpadding="4" cellspacing="1" width="100%" style="border-collapse:collapse; text-align:center; width:100%; border:0px"
! style="background:#FFFFFF;" |<font color="black">{{{referendumquestion|}}}</font>
! colspan="3" style="background:#FFFFFF;" |<font color="black" size=0.9px>{{{referendumquestion|}}}</font>
|-
|-
! colspan="3" style="background:#212121;" |<font color="white" size=0.9px>Results</font>
! colspan="3" style="background:#212121;" |<font color="white" size=0.9px>Results</font>
Line 21: Line 23:
! style="background:#212121;" class="infoboxcell" valign="top" |<font color="white">'''%'''</font>
! style="background:#212121;" class="infoboxcell" valign="top" |<font color="white">'''%'''</font>
|-
|-
| style="" valign="top" |<font size=0.9px>'''{{{option1|}}}'''</font>
| style="" valign="top" |'''{{{option1|}}}'''
| style="" class="infoboxcell" valign="top" |<font size=0.9px>{{{option1votes|}}}</font>
| style="" class="infoboxcell" valign="top" |{{{option1votes|}}}
| style="" class="infoboxcell" valign="top" |<font size=0.9px>{{{option1percent|}}}</font>
| style="" class="infoboxcell" valign="top" |{{{option1percent|}}}
|-
|-
| style="" valign="top" |<font size=0.9px>'''{{{option2|}}}'''</font>
| style="" valign="top" |'''{{{option2|}}}'''
| style="" class="infoboxcell" valign="top" |<font size=0.9px>{{{option2votes|}}}</font>
| style="" class="infoboxcell" valign="top" |{{{option2votes|}}}
| style="" class="infoboxcell" valign="top" |<font size=0.9px>{{{option2votes|}}}</font>
| style="" class="infoboxcell" valign="top" |{{{option2votes|}}}
|-
|-
| style="{{#if:{{{option3|}}}| |display:none;}}" valign="top" |<font size=0.9px>'''{{{option3|}}}'''</font>
| style="{{#if:{{{option3|}}}| |display:none;}}" valign="top" |'''{{{option3|}}}'''
| style="{{#if:{{{option3|}}}| |display:none;}}" class="infoboxcell" valign="top" |<font size=0.9px>{{{option3votes|}}}</font>
| style="{{#if:{{{option3|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{option3votes|}}}
| style="{{#if:{{{option3|}}}| |display:none;}}" class="infoboxcell" valign="top" |<font size=0.9px>{{{option3percent|}}}</font>
| style="{{#if:{{{option3|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{option3percent|}}}
|-
|-
| style="{{#if:{{{validvotes|}}}| |display:none;}} background:#212121" valign="top" |<font size=0.9px>Valid votes</font>
| style="{{#if:{{{validvotes|}}}| |display:none;}} background:#212121" valign="top" |<font color="white">Valid votes</font>
| style="{{#if:{{{validvotes|}}}| |display:none;}} background:#212121" class="infoboxcell" valign="top" |<font size=0.9px>{{{validvotes|}}}</font>
| style="{{#if:{{{validvotes|}}}| |display:none;}} background:#212121" class="infoboxcell" valign="top" |<font color="white">{{{validvotes|}}}</font>
| style="{{#if:{{{validvotes|}}}| |display:none;}} background:#212121" class="infoboxcell" valign="top" |<font size=0.9px>{{{validpercent|}}}</font>
| style="{{#if:{{{validvotes|}}}| |display:none;}} background:#212121" class="infoboxcell" valign="top" |<font color="white">{{{validpercent|}}}</font>
|-
|-
| style="{{#if:{{{invalidvotes|}}}| |display:none;}} background:#212121" valign="top" |<font size=0.9px>Invalid or blank votes</font>
| style="{{#if:{{{invalidvotes|}}}| |display:none;}} background:#212121" valign="top" |<font color="white">Invalid or blank votes</font>
| style="{{#if:{{{invalidvotes|}}}| |display:none;}} background:#212121" class="infoboxcell" valign="top" |<font size=0.9px>{{{invalidvotes|}}}</font>
| style="{{#if:{{{invalidvotes|}}}| |display:none;}} background:#212121" class="infoboxcell" valign="top" |<font color="white">{{{invalidvotes|}}}</font>
| style="{{#if:{{{invalidvotes|}}}| |display:none;}} background:#212121" class="infoboxcell" valign="top" |<font size=0.9px>{{{invalidpercent|}}}</font>
| style="{{#if:{{{invalidvotes|}}}| |display:none;}} background:#212121" class="infoboxcell" valign="top" |<font color="white">{{{invalidpercent|}}}</font>
|-
|-
| style="background:#212121" valign="top" |<font size=0.9px>'''Total votes'''</font>
| style="background:#212121" valign="top" |<font color="white">'''Total votes'''</font>
| style="background:#212121" class="infoboxcell" valign="top" |<font size=0.9px>'''{{{totalvotes|}}}'''</font>
| style="background:#212121" class="infoboxcell" valign="top" |<font color="white">'''{{{totalvotes|}}}'''</font>
| style="background:#212121" class="infoboxcell" valign="top" |<font size=0.9px>'''{{{totalpercent|}}}'''</font>
| style="background:#212121" class="infoboxcell" valign="top" |<font color="white">'''{{{totalpercent|}}}'''</font>
|-
|-
| style="{{#if:{{{turnout|}}}| |display:none;}} background:#212121" valign="top" |<font size=0.9px>Registered voters/turnout</font>
| style="{{#if:{{{turnout|}}}| |display:none;}} background:#212121" valign="top" |<font color="white">Registered voters/turnout</font>
| style="{{#if:{{{turnout|}}}| |display:none;}} background:#212121" class="infoboxcell" valign="top" |<font size=0.9px>{{{registered|}}}</font>
| style="{{#if:{{{turnout|}}}| |display:none;}} background:#212121" class="infoboxcell" valign="top" |<font color="white">{{{registered|}}}</font>
| style="{{#if:{{{turnout|}}}| |display:none;}} background:#212121" class="infoboxcell" valign="top" |<font size=0.9px>{{{turnout|}}}</font>
| style="{{#if:{{{turnout|}}}| |display:none;}} background:#212121" class="infoboxcell" valign="top" |<font color="white">{{{turnout|}}}</font>
|-
|-
! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" |
! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" |
Line 70: Line 72:
|color=Example
|color=Example
|title1=Example
|title1=Example
|flag=example
|dateofelection=Example
|dateofelection=Example
|referendumquestion=Example
|referendumquestion=Example

Latest revision as of 22:29, 19 November 2022

{{{title1}}}
{{{flag}}}
{{{dateofelection}}}
Results
Response Votes %
'
'
'
Valid votes
Invalid or blank votes
Total votes ' '
Registered voters/turnout
{{{map_image}}}


This should be used for referendums or ballot initiatives or measures.

Example usage:

{{ReferendumYesNo
|color=Example
|title1=Example
|flag=example
|dateofelection=Example
|referendumquestion=Example
|option1=Example
|option1votes=Example
|option1percent=Example
|option2=Example
|option2votes=Example
|option2percent=Example
|option3=Example ''<--OPTIONAL-->''
|option3votes=Example ''<--OPTIONAL-->''
|option3percent=Example ''<--OPTIONAL-->''
|validvotes=Example ''<--OPTIONAL-->''
|validpercent=Example ''<--OPTIONAL-->''
|invalidvotes=Example ''<--OPTIONAL-->''
|invalidpercent=Example ''<--OPTIONAL-->''
|totalvotes=Example
|totalpercent=Example
|registered=Example ''<--OPTIONAL-->''
|turnout=Example ''<--OPTIONAL-->''
|map_image=Example ''<--OPTIONAL-->''
|map_caption=Example ''<--OPTIONAL-->''
}}