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>'''√ Yes'''</font>
| style="" valign="top" |<font size=0.9px>'''{{{option1|}}}'''</font>
| style="" class="infoboxcell" valign="top" |<font size=0.9px>{{{yesvotes|}}}</font>
| style="" class="infoboxcell" valign="top" |<font size=0.9px>{{{option1votes|}}}</font>
| style="" class="infoboxcell" valign="top" |<font size=0.9px>{{{yespercent|}}}</font>
| style="" class="infoboxcell" valign="top" |<font size=0.9px>{{{option1percent|}}}</font>
|-
|-
| style="" valign="top" |<font size=0.9px>'''ⓧ No'''</font>
| style="" valign="top" |<font size=0.9px>'''{{{option2|}}}'''</font>
| style="" class="infoboxcell" valign="top" |<font size=0.9px>{{{novotes|}}}</font>
| style="" class="infoboxcell" valign="top" |<font size=0.9px>{{{option2votes|}}}</font>
| style="" class="infoboxcell" valign="top" |<font size=0.9px>{{{nopercent|}}}</font>
| style="" class="infoboxcell" valign="top" |<font size=0.9px>{{{option2votes|}}}</font>
|-
| style="{{#if:{{{option3|}}}| |display:none;}}" valign="top" |<font size=0.9px>'''{{{option3|}}}'''</font>
| style="{{#if:{{{option3|}}}| |display:none;}}" class="infoboxcell" valign="top" |<font size=0.9px>{{{option3votes|}}}</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>Valid votes</font>
Line 37: Line 41:
| 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>{{{invalidpercent|}}}</font>
|-
|-
| style="{{#if:{{{totalvotes|}}}| |display:none;}} background:#212121" valign="top" |<font size=0.9px>'''Total votes'''</font>
| style="background:#212121" valign="top" |<font size=0.9px>'''Total votes'''</font>
| style="{{#if:{{{totalvotes|}}}| |display:none;}} background:#212121" class="infoboxcell" valign="top" |<font size=0.9px>'''{{{totalvotes|}}}'''</font>
| style="background:#212121" class="infoboxcell" valign="top" |<font size=0.9px>'''{{{totalvotes|}}}'''</font>
| style="{{#if:{{{totalvotes|}}}| |display:none;}} background:#212121" class="infoboxcell" valign="top" |<font size=0.9px>'''{{{totalpercent|}}}'''</font>
| style="background:#212121" class="infoboxcell" valign="top" |<font size=0.9px>'''{{{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>Registered voters/turnout</font>
Line 61: Line 65:


<noinclude>
<noinclude>
This should be used for referendums in which the only options are yes and no.
This should be used for referendums or ballot initiatives or measures.
Example usage:<pre>
Example usage:<pre>
{{ReferendumYesNo
{{ReferendumYesNo
Line 67: Line 71:
|title1=Example
|title1=Example
|dateofelection=Example
|dateofelection=Example
|yesvotes=Example
|option1=Example
|yespercent=Example
|option1votes=Example
|novotes=Example
|option1percent=Example
|nopercent=Example
|option2=Example
|validvotes=Example
|option2votes=Example
|validpercent=Example
|option2percent=Example
|invalidvotes=Example
|option3=Example ''<--OPTIONAL-->''
|invalidpercent=Example
|option3votes=Example ''<--OPTIONAL-->''
|option3percent=Example ''<--OPTIONAL-->''
|validvotes=Example ''<--OPTIONAL-->''
|validpercent=Example ''<--OPTIONAL-->''
|invalidvotes=Example ''<--OPTIONAL-->''
|invalidpercent=Example ''<--OPTIONAL-->''
|totalvotes=Example
|totalvotes=Example
|totalpercent=Example
|totalpercent=Example
|registered=Example
|registered=Example ''<--OPTIONAL-->''
|turnout=Example
|turnout=Example ''<--OPTIONAL-->''
|map_image=Example
|map_image=Example ''<--OPTIONAL-->''
|map_caption=Example
|map_caption=Example ''<--OPTIONAL-->''
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Revision as of 03:57, 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
|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-->''
}}