Template:ComplexElectionInfobox 3row: Difference between revisions

From EarthMC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 41: Line 41:
| style="{{#if:{{{option6col1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{option6col2|}}}
| style="{{#if:{{{option6col1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{option6col2|}}}
| style="{{#if:{{{option6col1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{option6col3|}}}
| style="{{#if:{{{option6col1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{option6col3|}}}
|-
| style="background:#212121" valign="top" |<font color="white">'''Total votes'''</font>
| style="background:#212121" class="infoboxcell" valign="top" |<font color="white">'''{{{totalvotes|}}}'''</font>
| style="background:#212121" class="infoboxcell" valign="top" |<font color="white">'''{{{totalpercent|}}}'''</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 color="white">{{{registered|}}}</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 22:49, 19 November 2022

{{{title1}}}
{{{flag}}}
{{{dateofelection}}}
' ' '
'
'
'
'
'
'
{{{map_image}}}
Previous Elected
{{{old}}} {{{new}}}
Last election Next election
{{{previous}}} {{{next}}}

|}


Example usage:

{{ComplexElectionInfobox_3row
|color=Example
|title1=Example
|flag=example
|dateofelection=Example
|column1=Example
|column1=Example
|column1=Example
|option1col1=Example
|option1col2=Example
|option1col3=Example
|option2col1=Example
|option2col2=Example
|option2col3=Example
|option3col1=Example
|option3col2=Example
|option3col3=Example
|option4col1=Example
|option4col2=Example
|option4col3=Example
|option5col1=Example
|option5col2=Example
|option5col3=Example
|option6col1=Example
|option6col2=Example
|option6col3=Example
|totalvotes=Example
|totalpercent=Example
|registered=Example ''<--OPTIONAL-->''
|turnout=Example ''<--OPTIONAL-->''
|map_image=Example ''<--OPTIONAL-->''
|map_caption=Example ''<--OPTIONAL-->''
|Office_name=Example ''<--OPTIONAL-->''
|old=Example ''<--OPTIONAL-->''
|new=Example ''<--OPTIONAL-->''
|previous=Example ''<--OPTIONAL-->''
|next=Example ''<--OPTIONAL-->''
}}