Template:ReferendumYesNo: Difference between revisions

From EarthMC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 21: Line 21:
! 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 color="white">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 color="white">{{{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 color="white">{{{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 color="white">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 color="white">{{{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 color="white">{{{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 color="white">'''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 color="white">'''{{{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 color="white">'''{{{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 color="white">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 color="white">{{{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 color="white">{{{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;" |

Revision as of 04:11, 8 September 2022

{{{title1}}}
{{{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
|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-->''
}}