Template:Presidential Election: Difference between revisions

From EarthMC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 38: Line 38:
| style="{{#if:{{{electoral1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{electoral1|}}}
| style="{{#if:{{{electoral1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{electoral1|}}}
| style="{{#if:{{{electoral2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{electoral2|}}}
| style="{{#if:{{{electoral2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{electoral2|}}}
|-
| style="" valign="top" |'''{{{subdivision_name}}}s carried'''
| style="{{#if:{{{subdivisionscarried1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{subdivisionscarried1|}}}
| style="{{#if:{{{subdivisionscarried2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{subdivisionscarried2|}}}
|-
|-
| style="" valign="top" |'''Popular vote'''
| style="" valign="top" |'''Popular vote'''
Line 46: Line 50:
| style="{{#if:{{{percentage1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{percentage1|}}}
| style="{{#if:{{{percentage1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{percentage1|}}}
| style="{{#if:{{{percentage2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{percentage2|}}}
| style="{{#if:{{{percentage2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{percentage2|}}}
|-
| style="" valign="top" |'''<font size=0.9x>1st Preference</font>'''
| style="{{#if:{{{firstpreference1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{firstpreference1|}}}
| style="{{#if:{{{firstpreference2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{firstpreference2|}}}
|-
| style="" valign="top" |'''<font size=0.9x>Final count</font>'''
| style="{{#if:{{{finalcount1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{finalcount1|}}}
| style="{{#if:{{{finalcount2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{finalcount2|}}}
|-
| style="" valign="top" |'''First round'''
| style="{{#if:{{{firstround1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{firstround1|}}}
| style="{{#if:{{{firstround2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{firstround2|}}}
|-
| style="" valign="top" |'''Second round'''
| style="{{#if:{{{secondround1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{secondround1|}}}
| style="{{#if:{{{secondround2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{secondround2|}}}
|-
| style="" valign="top" |'''Runoff'''
| style="{{#if:{{{runoff1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{runoff1|}}}
| style="{{#if:{{{runoff2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{runoff2|}}}
|-
|-
! 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 96: Line 120:
|town1=Example
|town1=Example
|town2=Example
|town2=Example
|electoral1=Example
|electoral2=Example
|subdivisionscarried1=Example
|subdivisionscarried2=Example
|popular1=Example
|popular1=Example
|popular2=Example
|popular2=Example
|percentage1=Example
|percentage1=Example
|percentage2=Example
|percentage2=Example
|firstpreference1=Example
|firstpreference2=Example
|finalcount1=Example
|finalcount2=Example
|firstround1=Example
|firstround2=Example
|secondround1=Example
|secondround2=Example
|runoff=Example
|map_image=Example
|map_image=Example
|map_caption=Example
|map_caption=Example

Revision as of 02:18, 8 September 2022

{{{title1}}}
{{{dateofelection}}}
{{{image1}}} {{{image2}}}
Candidate {{{name1}}} {{{name2}}}
Running mate
'
Town
Electoral vote
{{{subdivision_name}}}s carried
Popular vote
Percentage
1st Preference
Final count
First round
Second round
Runoff
{{{map_image}}}
Previous Elected
{{{old}}} {{{new}}}
Last election Next election
{{{previous}}} {{{next}}}


Example usage:

{{Presidential_Election
|color=Example
|title1=Example
|dateofelection=Example
|image1=Example
|image2=Example
|name1=Example
|name2=Example
|mate1=Example
|mate2=Example
|subdivision_name=Example
|province1=Example
|province2=Example
|town1=Example
|town2=Example
|electoral1=Example
|electoral2=Example
|subdivisionscarried1=Example
|subdivisionscarried2=Example
|popular1=Example
|popular2=Example
|percentage1=Example
|percentage2=Example
|firstpreference1=Example
|firstpreference2=Example
|finalcount1=Example
|finalcount2=Example
|firstround1=Example
|firstround2=Example
|secondround1=Example
|secondround2=Example
|runoff=Example
|map_image=Example
|map_caption=Example
|old=Example
|new=Example
|Office_name=Example
|previous=Example
|next=Example
}}