Template:ReferendumYesNo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(8 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 13: | Line 15: | ||
|} | |} | ||
{| 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=" | ! colspan="3" style="background:#212121;" |<font color="white" size=0.9px>Results</font> | ||
|- | |- | ||
! style="background:#212121;" class="infoboxcell" valign="top" |<font color="white">'''Response'''</font> | ! style="background:#212121;" class="infoboxcell" valign="top" |<font color="white">'''Response'''</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" | | | 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" |'''{{{option2|}}}''' | |||
| style="" class="infoboxcell" valign="top" |{{{option2votes|}}} | |||
| style="" class="infoboxcell" valign="top" |{{{option2votes|}}} | |||
|- | |- | ||
| style="" valign="top" | | | style="{{#if:{{{option3|}}}| |display:none;}}" valign="top" |'''{{{option3|}}}''' | ||
| style="" class="infoboxcell" valign="top" | | | style="{{#if:{{{option3|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{option3votes|}}} | ||
| style="" 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=" | | style="background:#212121" valign="top" |<font color="white">'''Total votes'''</font> | ||
| style=" | | style="background:#212121" class="infoboxcell" valign="top" |<font color="white">'''{{{totalvotes|}}}'''</font> | ||
| style=" | | 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;" | | ||
Line 61: | Line 67: | ||
<noinclude> | <noinclude> | ||
This should be used for referendums | This should be used for referendums or ballot initiatives or measures. | ||
Example usage:<pre> | Example usage:<pre> | ||
{{ReferendumYesNo | {{ReferendumYesNo | ||
|color=Example | |color=Example | ||
|title1=Example | |title1=Example | ||
|flag=example | |||
|dateofelection=Example | |dateofelection=Example | ||
| | |referendumquestion=Example | ||
| | |option1=Example | ||
| | |option1votes=Example | ||
| | |option1percent=Example | ||
|validvotes=Example | |option2=Example | ||
|validpercent=Example | |option2votes=Example | ||
|invalidvotes=Example | |option2percent=Example | ||
|invalidpercent=Example | |option3=Example ''<--OPTIONAL-->'' | ||
|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> |
Latest revision as of 22:29, 19 November 2022
|
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-->'' }}