Template:ReferendumYesNo: Difference between revisions

From EarthMC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 33: Line 33:
| style="{{#if:{{{option3|}}}| |display:none;}}" class="infoboxcell" valign="top" |<font size=0.9px>{{{option3percent|}}}</font>
| style="{{#if:{{{option3|}}}| |display:none;}}" class="infoboxcell" valign="top" |<font size=0.9px>{{{option3percent|}}}</font>
|-
|-
| 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 size=0.9px 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 size=0.9px 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 size=0.9px 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 size=0.9px 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 size=0.9px 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 size=0.9px color="white">{{{invalidpercent|}}}</font>
|-
|-
| style="background:#212121" valign="top" |<font size=0.9px>'''Total votes'''</font>
| style="background:#212121" valign="top" |<font size=0.9px 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 size=0.9px 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 size=0.9px 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 size=0.9px 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 size=0.9px 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 size=0.9px 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:08, 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-->''
}}