Template:ReferendumYesNo: Difference between revisions
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" | | | style="" valign="top" |'''{{{option1|}}}''' | ||
| style="" class="infoboxcell" valign="top" | | | style="" class="infoboxcell" valign="top" |{{{option1votes|}}} | ||
| style="" class="infoboxcell" valign="top" | | | style="" class="infoboxcell" valign="top" |{{{option1percent|}}} | ||
|- | |- | ||
| style="" valign="top" | | | style="" valign="top" |'''{{{option2|}}}''' | ||
| style="" class="infoboxcell" valign="top" | | | style="" class="infoboxcell" valign="top" |{{{option2votes|}}} | ||
| style="" class="infoboxcell" valign="top" | | | style="" class="infoboxcell" valign="top" |{{{option2votes|}}} | ||
|- | |- | ||
| style="{{#if:{{{option3|}}}| |display:none;}}" valign="top" | | | style="{{#if:{{{option3|}}}| |display:none;}}" valign="top" |'''{{{option3|}}}''' | ||
| style="{{#if:{{{option3|}}}| |display:none;}}" class="infoboxcell" valign="top" | | | style="{{#if:{{{option3|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{option3votes|}}} | ||
| style="{{#if:{{{option3|}}}| |display:none;}}" class="infoboxcell" valign="top" | | | style="{{#if:{{{option3|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{option3percent|}}} | ||
|- | |- | ||
| style="{{#if:{{{validvotes|}}}| |display:none;}} background:#212121" valign="top" |<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 | | 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 | | 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 | | 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 | | 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 | | style="{{#if:{{{invalidvotes|}}}| |display:none;}} background:#212121" class="infoboxcell" valign="top" |<font color="white">{{{invalidpercent|}}}</font> | ||
|- | |- | ||
| style="background:#212121" valign="top" |<font | | style="background:#212121" valign="top" |<font color="white">'''Total votes'''</font> | ||
| style="background:#212121" class="infoboxcell" valign="top" |<font | | style="background:#212121" class="infoboxcell" valign="top" |<font color="white">'''{{{totalvotes|}}}'''</font> | ||
| style="background:#212121" class="infoboxcell" valign="top" |<font | | style="background:#212121" class="infoboxcell" valign="top" |<font color="white">'''{{{totalpercent|}}}'''</font> | ||
|- | |- | ||
| style="{{#if:{{{turnout|}}}| |display:none;}} background:#212121" valign="top" |<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 | | 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 | | 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
|
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-->'' }}