Template:ComplexElectionInfobox 3row: Difference between revisions

From EarthMC
Jump to navigation Jump to search
(Created page with "{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width:380px; background: border-collapse:collapse; border:3.5px solid {{{color|}}}; font-size:smaller; line-height:1.5" |- |<div> {| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle" |- ! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:150%;" |{{...")
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 4: Line 4:
{| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle"
{| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle"
|-
|-
! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:150%;" |{{{name|<font color="white">{{{title1}}}</font>}}}
! colspan="3" 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="3" 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="3" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{dateofelection|}}}|}} text-align:center; font-weight:normal; color:#000000; background:;" |{{{dateofelection}}}
|-
|-
! colspan="2" 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;" |
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|-
|-
Line 18: Line 18:
! style="background:#212121;" class="infoboxcell" valign="top" |<font color="white">'''{{{column3|}}}'''</font>
! style="background:#212121;" class="infoboxcell" valign="top" |<font color="white">'''{{{column3|}}}'''</font>
|-
|-
| style="" valign="top" |'''{{{option1col1|}}}'''
| style="" valign="top" |   '''{{{option1col1|}}}'''
| style="" class="infoboxcell" valign="top" |{{{option1col2|}}}
| style="" class="infoboxcell" valign="top" |{{{option1col2|}}}
| style="" class="infoboxcell" valign="top" |{{{option1col3|}}}
| style="" class="infoboxcell" valign="top" |{{{option1col3|}}}
|-
|-
| style="" valign="top" |'''{{{option2col1|}}}'''
| style="" valign="top" |   '''{{{option2col1|}}}'''
| style="" class="infoboxcell" valign="top" |{{{option2col2|}}}
| style="" class="infoboxcell" valign="top" |{{{option2col2|}}}
| style="" class="infoboxcell" valign="top" |{{{option2col3|}}}
| style="" class="infoboxcell" valign="top" |{{{option2col3|}}}
|-
|-
| style="{{#if:{{{option3col1|}}}| |display:none;}}" valign="top" |'''{{{option3col1|}}}'''
| style="{{#if:{{{option3col1|}}}| |display:none;}}" valign="top" |   '''{{{option3col1|}}}'''
| style="{{#if:{{{option3col1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{option3col2|}}}
| style="{{#if:{{{option3col1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{option3col2|}}}
| style="{{#if:{{{option3col1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{option3col3|}}}
| style="{{#if:{{{option3col1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{option3col3|}}}
|-
|-
| style="{{#if:{{{option4col1|}}}| |display:none;}}" valign="top" |'''{{{option4col1|}}}'''
| style="{{#if:{{{option4col1|}}}| |display:none;}}" valign="top" |   '''{{{option4col1|}}}'''
| style="{{#if:{{{option4col1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{option4col2|}}}
| style="{{#if:{{{option4col1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{option4col2|}}}
| style="{{#if:{{{option4col1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{option4col3|}}}
| style="{{#if:{{{option4col1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{option4col3|}}}
|-
|-
| style="{{#if:{{{option5col1|}}}| |display:none;}}" valign="top" |'''{{{option5col1|}}}'''
| style="{{#if:{{{option5col1|}}}| |display:none;}}" valign="top" |   '''{{{option5col1|}}}'''
| style="{{#if:{{{option5col1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{option5col2|}}}
| style="{{#if:{{{option5col1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{option5col2|}}}
| style="{{#if:{{{option5col1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{option5col3|}}}
| style="{{#if:{{{option5col1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{option5col3|}}}
|-
|-
| style="{{#if:{{{option6col1|}}}| |display:none;}}" valign="top" |'''{{{option6col1|}}}'''
| style="{{#if:{{{option6col1|}}}| |display:none;}}" valign="top" |   '''{{{option6col1|}}}'''
| 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="{{#if:{{{option7col1|}}}| |display:none;}}" valign="top" |   '''{{{option7col1|}}}'''
| style="background:#212121" class="infoboxcell" valign="top" |<font color="white">'''{{{totalvotes|}}}'''</font>
| style="{{#if:{{{option7col1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{option7col2|}}}
| style="background:#212121" class="infoboxcell" valign="top" |<font color="white">'''{{{totalpercent|}}}'''</font>
| style="{{#if:{{{option7col1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{option7col3|}}}
|-
|-
| style="{{#if:{{{turnout|}}}| |display:none;}} background:#212121" valign="top" |<font color="white">Registered voters/turnout</font>
| style="{{#if:{{{option8col1|}}}| |display:none;}}" valign="top" |   '''{{{option8col1|}}}'''
| style="{{#if:{{{turnout|}}}| |display:none;}} background:#212121" class="infoboxcell" valign="top" |<font color="white">{{{registered|}}}</font>
| style="{{#if:{{{option8col1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{option8col2|}}}
| style="{{#if:{{{turnout|}}}| |display:none;}} background:#212121" class="infoboxcell" valign="top" |<font color="white">{{{turnout|}}}</font>
| style="{{#if:{{{option8col1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{option8col3|}}}
|-
|-
! 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 79: Line 79:
| style="{{#if:{{{next|}}}|}}" class="infoboxcell" valign="top" align="right" |{{{next}}}
| style="{{#if:{{{next|}}}|}}" class="infoboxcell" valign="top" align="right" |{{{next}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|}
|}
|}
|}
|}
Line 111: Line 110:
|option6col2=Example
|option6col2=Example
|option6col3=Example
|option6col3=Example
|totalvotes=Example
|option7col1=Example
|totalpercent=Example
|option7col2=Example
|registered=Example ''<--OPTIONAL-->''
|option7col3=Example
|turnout=Example ''<--OPTIONAL-->''
|option8col1=Example
|option8col2=Example
|option8col3=Example
|map_image=Example ''<--OPTIONAL-->''
|map_image=Example ''<--OPTIONAL-->''
|map_caption=Example ''<--OPTIONAL-->''
|map_caption=Example ''<--OPTIONAL-->''

Latest revision as of 00:03, 20 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
|option7col1=Example
|option7col2=Example
|option7col3=Example
|option8col1=Example
|option8col2=Example
|option8col3=Example
|map_image=Example ''<--OPTIONAL-->''
|map_caption=Example ''<--OPTIONAL-->''
|Office_name=Example ''<--OPTIONAL-->''
|old=Example ''<--OPTIONAL-->''
|new=Example ''<--OPTIONAL-->''
|previous=Example ''<--OPTIONAL-->''
|next=Example ''<--OPTIONAL-->''
}}