Template:Presidential Election: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 121: | Line 121: | ||
|- | |- | ||
! colspan="3" style="{{#if:{{{map_image|}}}{{{map_caption|}}}| |display:none;}}{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | | ! colspan="3" style="{{#if:{{{map_image|}}}{{{map_caption|}}}| |display:none;}}{{#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; {{#if:{{{new|}}}{{{old|}}}|display:none;|}};" | ||
|} | |} | ||
{| align="center" border="0" cellpadding="5" cellspacing="1" width="100%" style="border-collapse:collapse; text-align:center; border:0px;" | {| align="center" border="0" cellpadding="5" cellspacing="1" width="100%" style="border-collapse:collapse; text-align:center; border:0px;" | ||
|- | |- | ||
| colspan="1" style="{{#if:{{{old|}}}|}};" valign="top" align="left" |'''{{{ | | colspan="1" style="{{#if:{{{old|}}}||display:none;}};" valign="top" align="left" |'''{{{officer}}} before'''<br>{{{old}}} | ||
| colspan="1" style="{{#if:{{{new|}}}|}};" valign="top" align="right" |'''{{{ | | colspan="1" style="{{#if:{{{new|}}}||display:none;}};" valign="top" align="right" |'''{{{officer}}} after'''<br>{{{new}}} | ||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
|} | |} |
Revision as of 11:51, 17 August 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 |flag=Example |dateofelection=Example |turnout=Example |image1=Example |image2=Example |image3=Example |color1=Example |color2=Example |color3=Example |name1=Example |name2=Example |name3=Example |subdivision_name=Example |party1=Example |party2=Example |party3=Example |alliance1=Example |alliance2=Example |alliance3=Example |province1=Example |province2=Example |province3=Example |town1=Example |town2=Example |town3=Example |mate1=Example |mate2=Example |mate3=Example |electoral1=Example |electoral2=Example |electoral3=Example |subdivisionscarried1=Example |subdivisionscarried2=Example |subdivisionscarried3=Example |popular1=Example |popular2=Example |popular3=Example |percentage1=Example |percentage2=Example |percentage3=Example |firstpreference1=Example |firstpreference2=Example |firstpreference3=Example |finalcount1=Example |finalcount2=Example |finalcount3=Example |firstround1=Example |firstround2=Example |firstround3=Example |secondround1=Example |secondround2=Example |secondround3=Example |runoff1=Example |runoff2=Example |runoff3=Example |map_image=Example |map_caption=Example |old=Example |new=Example |Office_name=Example |previous=Example |next=Example }}