Template:Presidential Election: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
! style="background:#212121; {{#if:{{{name2|}}}}}" class="infoboxcell" valign="top" |<font color="white">{{{name2}}}</font> | ! style="background:#212121; {{#if:{{{name2|}}}}}" class="infoboxcell" valign="top" |<font color="white">{{{name2}}}</font> | ||
|- | |- | ||
| style="{{#if:{{{ | | style="{{#if:{{{party1|}}}| |display:none;}}""" valign="top" |'''Political party''' | ||
| style="{{#if:{{{ | | style="{{#if:{{{party1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party1|}}} | ||
| style="{{#if:{{{ | | style="{{#if:{{{party2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party2|}}} | ||
|- | |||
| style="{{#if:{{{alliance1|}}}| |display:none;}}""" valign="top" |'''Alliance''' | |||
| style="{{#if:{{{alliance1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{alliance1|}}} | |||
| style="{{#if:{{{alliance2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{alliance2|}}} | |||
|- | |- | ||
| style="{{#if:{{{province1|}}}| |display:none;}}" valign="top" |'''{{{subdivision_name|}}}''' | | style="{{#if:{{{province1|}}}| |display:none;}}" valign="top" |'''{{{subdivision_name|}}}''' | ||
Line 34: | Line 38: | ||
| style="{{#if:{{{town1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{town1|}}} | | style="{{#if:{{{town1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{town1|}}} | ||
| style="{{#if:{{{town2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{town2|}}} | | style="{{#if:{{{town2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{town2|}}} | ||
|- | |||
| style="{{#if:{{{mate1|}}}| |display:none;}}""" valign="top" |'''Running mate''' | |||
| style="{{#if:{{{mate1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{mate1|}}} | |||
| style="{{#if:{{{mate2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{mate2|}}} | |||
|- | |- | ||
| style="{{#if:{{{electoral1|}}}| |display:none;}}" valign="top" |'''Electoral vote''' | | style="{{#if:{{{electoral1|}}}| |display:none;}}" valign="top" |'''Electoral vote''' | ||
Line 114: | Line 122: | ||
|name1=Example | |name1=Example | ||
|name2=Example | |name2=Example | ||
|subdivision_name=Example | |subdivision_name=Example | ||
|party1=Example | |||
|party2=Example | |||
|alliance1=Example | |||
|alliance2=Example | |||
|province1=Example | |province1=Example | ||
|province2=Example | |province2=Example | ||
|town1=Example | |town1=Example | ||
|town2=Example | |town2=Example | ||
|mate1=Example | |||
|mate2=Example | |||
|electoral1=Example | |electoral1=Example | ||
|electoral2=Example | |electoral2=Example |
Revision as of 06:02, 29 June 2023
|
This can be used for basically any election with a single winner, but the name of the Infobox came when this was made just for Presidential races. You can use this for literally any election that elects a single office though, whether it has electoral votes, elected by parliament, or uses ranked-choice voting. This just doesn't work for Legislative elections where seats are involved, or in Referendums.
Example usage:
{{Presidential_Election |color=Example |title1=Example |dateofelection=Example |image1=Example |image2=Example |name1=Example |name2=Example |subdivision_name=Example |party1=Example |party2=Example |alliance1=Example |alliance2=Example |province1=Example |province2=Example |town1=Example |town2=Example |mate1=Example |mate2=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 }}