Template:Presidential Election: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(31 intermediate revisions by one other user not shown) | |||
Line 9: | Line 9: | ||
|- | |- | ||
! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}}{{#if:{{{flag|}}}| |display:none;}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;padding-bottom:1px;" | | ! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}}{{#if:{{{flag|}}}| |display:none;}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;padding-bottom:1px;" | | ||
|- style="{{#if:{{{previous|}}}{{{dateofelection|}}}{{{next|}}}| |display:none;}}" | |||
! colspan="1" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{previous|}}}{{{dateofelection|}}}{{{next|}}}| |display:none;}} text-align:left; font-weight:normal; color:#000000; line-height:130%; width: 33%; background:;" |{{#if:{{{previous|}}}|← {{{previous|}}}|}} | |||
! colspan="1" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{previous|}}}{{{dateofelection|}}}{{{next|}}}| |display:none;}} text-align:center;font-weight:normal;color:#000000;line-height:130%;width:34%; background:;padding-top:10px;{{#if:{{{outgoing|}}}{{{elected|}}}||padding-bottom:10px;}}"|{{#if:{{{dateofelection|}}}|'''{{{dateofelection|}}}'''|}} | |||
! colspan="1" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{previous|}}}{{{dateofelection|}}}{{{next|}}}| |display:none;}} text-align:right; font-weight:normal; color:#000000; line-height:130%; width: 33%; background:;" |{{#if:{{{next|}}}|{{{next|}}} →|}} | |||
|- style = "{{#if:{{{outgoing|}}}{{{elected|}}}||display:none;}}" | |||
! colspan="1" style="padding-bottom:10px;{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{outgoing|}}}{{{elected|}}}| |display:none;}} text-align:left; font-weight:normal; color:#000000; line-height:130%; width: 33%; background:;" |{{#if:{{{outgoing|}}}|<span style="margin-left:25px;">← {{{outgoing|}}}</span>|}} | |||
! colspan="1" | | |||
! colspan="1" style="padding-bottom:10px;{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{outgoing|}}}{{{elected|}}}| |display:none;}} text-align:right; font-weight:normal; color:#000000; line-height:130%; width: 33%; background:;" |{{#if:{{{elected|}}}|<span style="margin-right:25px;">{{{elected|}}} →</span>|}} | |||
|- | |- | ||
! colspan=" | ! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; {{#if:{{{dateofelection|}}}{{{next|}}}| |display:none;}} color:#FFFFFF; background:#212121;" | | ||
! colspan=" | |- style="{{#if:{{{seatsup|}}}||display:none;}}" | ||
! colspan=" | ! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{seatsup|}}}|display:none;}} text-align:center; font-weight:normal; color:#000000; background:;" |{{{seatsup|}}} | ||
| | |- style="{{#if:{{{needed|}}}||display:none;}}" | ||
! colspan="3" style="{{#if:{{{hideb|}}}|display: none;| |}} {{#if:{{{needed|}}}|display:none;}} text-align:center; font-weight:normal; color:#000000; background:;" |{{{needed|}}} | |||
|- style="{{#if:{{{ongoing|}}}||display:none;}}" | |||
| colspan="3" | | |||
{| style="table-layout: fixed;width:100%;height: auto;" | |||
| colspan="1" style="width:33%;{{#if:{{{ongoing|}}}||display:none;}}" | '''Completion rate''' | |||
| colspan="2" style="width:67%;{{#if:{{{ongoing|}}}||display:none;}}" |<span style="display: table;margin: 0 auto;">{{#if:{{{ongoing|}}}|{{PercentageBox|#1BCE0E|{{#expr: ({{#time: U|{{CurrentTime}} }} - {{#time: U|{{{start_timestamp}}} }}) / ({{#time: U|{{{end_timestamp}}} }} - {{#time: U|{{{start_timestamp}}} }}) * 100 round 2 }}%}}|}}<br>as of '''{{CURRENTTIME}} GMT'''</span> | |||
|} | |||
|- | |- | ||
! style="width:text-align:left;5em;white-space:nowrap;{{#if:{{{turnout|}}}| |display:none;}}" | '''Turnout''' | ! style="width:text-align:left;5em;white-space:nowrap;{{#if:{{{turnout|}}}| |display:none;}}" | '''Turnout''' | ||
Line 25: | Line 39: | ||
|- | |- | ||
! style="width:auto;text-align:left;white-space:nowrap;" | | ! style="width:auto;text-align:left;white-space:nowrap;" | | ||
| colspan="1" style="box-shadow:0px 0px 0px 2px white inset;border-bottom: 8px solid {{{color1|}}};text-align:center;background-color:#;{{#if:{{{image1|}}}||display:none;}}" | {{{image1}}} | |||
| colspan="1" style="box-shadow:0px 0px 0px 2px white inset;border-bottom: 8px solid {{{color2|}}};text-align:center;background-color:#;{{#if:{{{image2|}}}||display:none;}}" | {{{image2}}} | |||
| colspan="1" style="box-shadow:0px 0px 0px 2px white inset;border-bottom: 8px solid {{{color3|}}};text-align:center;background-color:#;{{#if:{{{image3|}}}||display:none;}}" | {{{image3}}} | |||
|- | |- | ||
! | ! | ||
! | ! | ||
|- style = "background-color:#212121;" | |- style = "background-color:#212121;" | ||
! colspan="1" style="width:auto;float:left;background:#212121;text-align:left; {{#if:{{{name1|}}}}}" |<font color="white">Candidate</font> | ! colspan="1" style="width:auto;float:left;background:#212121;text-align:left; {{#if:{{{name1|}}}{{{name2|}}}{{{name3|}}}| |display:none;}}{{#if:{{{name1|}}}}}" |<font color="white">Candidate</font> | ||
| colspan="1" style="text-align:center;background:#212121; {{#if:{{{name1|}}}}}{{#if:{{{name3|}}}|width:26%;|width:39%;}}{{#if:{{{name2|}}}| |width:78%;}}" class="infoboxcell" valign="top" |<font color="white">{{{name1}}}</font> | | colspan="1" style="text-align:center;background:#212121; {{#if:{{{name1|}}}| |display:none;}}{{#if:{{{name1|}}}}}{{#if:{{{name3|}}}|width:26%;|width:39%;}}{{#if:{{{name2|}}}| |width:78%;}}" class="infoboxcell" valign="top" |<font color="white">{{{name1}}}</font> | ||
| colspan="1" style="text-align:center;background:#212121; {{#if:{{{name2|}}}}}{{#if:{{{name2|}}}| |display:none;}}{{#if:{{{name3|}}}|width:26%;|width:39%;}}" class="infoboxcell" valign="top" |<font color="white">{{{name2}}}</font> | | colspan="1" style="text-align:center;background:#212121; {{#if:{{{name2|}}}}}{{#if:{{{name2|}}}| |display:none;}}{{#if:{{{name3|}}}|width:26%;|width:39%;}}" class="infoboxcell" valign="top" |<font color="white">{{{name2}}}</font> | ||
| colspan="1" style="width:26%;text-align:center;background:#212121; {{#if:{{{name3|}}}| |display:none;}}" class="infoboxcell" valign="top" |<font color="white">{{{name3}}}</font> | | colspan="1" style="width:26%;text-align:center;background:#212121; {{#if:{{{name3|}}}| |display:none;}}" class="infoboxcell" valign="top" |<font color="white">{{{name3}}}</font> | ||
|- | |- | ||
! style="width:auto;border: dashed red 0px;float:left;text-align:left;{{#if:{{{party1|}}}| |display:none;}}" valign="top" |'''Political party''' | ! style="width:auto;border: dashed red 0px;float:left;text-align:left;{{#if:{{{party1|}}}{{{part2|}}}{{{party3|}}}| |display:none;}}" valign="top" |'''Political party''' | ||
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}border: dashed red 0px;text-align:center;{{#if:{{{party1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party1|}}} | | style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}border: dashed red 0px;text-align:center;{{#if:{{{party1|}}}{{{part2|}}}{{{party3|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party1|}}} | ||
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}border: dashed red 0px;text-align:center;{{#if:{{{party2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party2|}}} | | style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}border: dashed red 0px;text-align:center;{{#if:{{{party2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party2|}}} | ||
| style="width:26%;border: dashed red 0px;text-align:center;{{#if:{{{party3|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party3|}}} | | style="width:26%;border: dashed red 0px;text-align:center;{{#if:{{{party3|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party3|}}} | ||
Line 92: | Line 106: | ||
| style="width:26%;text-align:center;{{#if:{{{finalcount3|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{finalcount3|}}} | | style="width:26%;text-align:center;{{#if:{{{finalcount3|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{finalcount3|}}} | ||
|- | |- | ||
! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{firstround1|}}}| |display:none;}}" valign="top" |'''First round''' | ! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{firstround1|}}}| |display:none;}}" valign="top" |'''{{#if:{{{secondround1|}}}{{{secondround2|}}}{{{secondround3|}}}|First round|Percentage}}''' | ||
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{firstround1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{firstround1|}}} | | style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{firstround1|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{firstround1|}}} | ||
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{firstround2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{firstround2|}}} | | style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{firstround2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{firstround2|}}} | ||
Line 106: | Line 120: | ||
| style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{runoff2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{runoff2|}}} | | style="{{#if:{{{name3|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{runoff2|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{runoff2|}}} | ||
| style="width:26%;text-align:center;{{#if:{{{runoff3|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{runoff3|}}} | | style="width:26%;text-align:center;{{#if:{{{runoff3|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{runoff3|}}} | ||
|- | |||
|} | |||
{| align="center" border="0" cellpadding="1" cellspacing="1" width="100%" style="text-align:center; border:1px;border-collapse:collapse; {{#if:{{{image4|}}}{{{name4|}}}{{{party4|}}}{{{alliance4|}}}{{{province4|}}}{{{town4|}}}{{{mate4|}}}{{{electoral4|}}}{{{subdivisionscarried4|}}}{{{popular4|}}}{{{percentage4|}}}{{{firstpreference4|}}}{{{finalcount4|}}}{{{firstround4|}}}{{{secondround4|}}}{{{runoff4|}}}| |display:none;}}" | |||
|- | |||
! style="width:auto;text-align:left;white-space:nowrap;" | | |||
{{#if:{{{image4<includeonly>|</includeonly>}}} | {{!}} colspan="1" style="box-shadow:0px 0px 0px 5px white inset;border-bottom: 8px solid {{{color4|}}};text-align:center;background-color:#;{{#if:{{{image4|}}}| |display:none;}}" {{!}}{{{image4}}} }} | |||
{{#if:{{{image5<includeonly>|</includeonly>}}} | {{!}} colspan="1" style="box-shadow:0px 0px 0px 5px white inset;border-bottom: 8px solid {{{color5|}}};text-align:center;background-color:#;{{#if:{{{image5|}}}| |display:none;}}" {{!}}{{{image5}}} }} | |||
{{#if:{{{image6<includeonly>|</includeonly>}}} | {{!}} colspan="1" style="box-shadow:0px 0px 0px 5px white inset;border-bottom: 8px solid {{{color6|}}};text-align:center;background-color:#;{{#if:{{{image6|}}}| |display:none;}}" {{!}}{{{image6}}} }} | |||
|- | |||
! | |||
! | |||
|- style = "background-color:#212121;" | |||
! colspan="1" style="width:auto;float:left;background:#212121;text-align:left; {{#if:{{{name4|}}}{{{name5|}}}{{{name6|}}}| |display:none;}}{{#if:{{{name4|}}}}}" |<font color="white">Candidate</font> | |||
| colspan="1" style="text-align:center;background:#212121; {{#if:{{{name4|}}}| |display:none;}}{{#if:{{{name4|}}}}}{{#if:{{{name6|}}}|width:26%;|width:39%;}}{{#if:{{{name5|}}}| |width:78%;}}" class="infoboxcell" valign="top" |<font color="white">{{{name4}}}</font> | |||
| colspan="1" style="text-align:center;background:#212121; {{#if:{{{name5|}}}}}{{#if:{{{name5|}}}| |display:none;}}{{#if:{{{name6|}}}|width:26%;|width:39%;}}" class="infoboxcell" valign="top" |<font color="white">{{{name5}}}</font> | |||
| colspan="1" style="width:26%;text-align:center;background:#212121; {{#if:{{{name6|}}}| |display:none;}}" class="infoboxcell" valign="top" |<font color="white">{{{name6}}}</font> | |||
|- | |||
! style="width:auto;border: dashed red 0px;float:left;text-align:left;{{#if:{{{party4|}}}{{{part5|}}}{{{party6|}}}| |display:none;}}" valign="top" |'''Political party''' | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}border: dashed red 0px;text-align:center;{{#if:{{{party4|}}}{{{part5|}}}{{{party6|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party4|}}} | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}border: dashed red 0px;text-align:center;{{#if:{{{party4|}}}{{{part5|}}}{{{party6|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party5|}}} | |||
| style="width:26%;border: dashed red 0px;text-align:center;{{#if:{{{party6|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{party6|}}} | |||
|- | |||
! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{alliance4|}}}| |display:none;}}" valign="top" |'''Alliance''' | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{alliance4|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{alliance4|}}} | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{alliance5|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{alliance5|}}} | |||
| style="width:26%;text-align:center;{{#if:{{{alliance6|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{alliance6|}}} | |||
|- | |||
! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{province4|}}}| |display:none;}}" valign="top" |'''{{{subdivision_name|}}}''' | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{province4|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{province4|}}} | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{province5|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{province5|}}} | |||
| style="width:26%;text-align:center;{{#if:{{{province6|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{province6|}}} | |||
|- | |||
! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{province4|}}}| |display:none;}}" valign="top" |'''{{{subdivision2_name|}}}''' | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{province4|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{province24|}}} | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{province5|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{province25|}}} | |||
| style="width:26%;text-align:center;{{#if:{{{province6|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{province26|}}} | |||
|- | |||
! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{town4|}}}| |display:none;}}" valign="top" |'''Hometown''' | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{town4|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{town4|}}} | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{town5|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{town5|}}} | |||
| style="width:26%;text-align:center;{{#if:{{{town6|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{town6|}}} | |||
|- | |||
! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{mate4|}}}| |display:none;}}" valign="top" |'''Running mate''' | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{mate4|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{mate4|}}} | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{mate5|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{mate5|}}} | |||
| style="width:26%;text-align:center;{{#if:{{{mate6|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{mate6|}}} | |||
|- | |||
! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{electoral4|}}}| |display:none;}}" valign="top" |'''Electoral vote''' | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{electoral4|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{electoral4|}}} | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{electoral5|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{electoral5|}}} | |||
| style="width:26%;text-align:center;{{#if:{{{electoral6|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{electoral6|}}} | |||
|- | |||
! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{subdivisionscarried4|}}}| |display:none;}}" valign="top" |'''{{{subdivision_name|}}}s carried''' | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{subdivisionscarried4|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{subdivisionscarried4|}}} | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{subdivisionscarried5|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{subdivisionscarried5|}}} | |||
| style="width:26%;text-align:center;{{#if:{{{subdivisionscarried6|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{subdivisionscarried6|}}} | |||
|- | |||
! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{popular4|}}}| |display:none;}}" valign="top" |'''Popular vote''' | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{popular4|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{popular4|}}} | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{popular5|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{popular5|}}} | |||
| style="width:26%;text-align:center;{{#if:{{{popular6|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{popular6|}}} | |||
|- | |||
! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{percentage4|}}}| |display:none;}}" valign="top" |'''Percentage''' | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{percentage4|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{percentage4|}}} | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{percentage5|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{percentage5|}}} | |||
| style="width:26%;text-align:center;{{#if:{{{percentage6|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{percentage6|}}} | |||
|- | |||
! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{firstpreference4|}}}| |display:none;}}" valign="top" |'''4st preference''' | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{firstpreference4|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{firstpreference4|}}} | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{firstpreference5|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{firstpreference5|}}} | |||
| style="width:26%;text-align:center;{{#if:{{{firstpreference6|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{firstpreference6|}}} | |||
|- | |||
! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{finalcount4|}}}| |display:none;}}" valign="top" |'''Final count''' | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{finalcount4|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{finalcount4|}}} | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{finalcount5|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{finalcount5|}}} | |||
| style="width:26%;text-align:center;{{#if:{{{finalcount6|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{finalcount6|}}} | |||
|- | |||
! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{firstround4|}}}| |display:none;}}" valign="top" |'''{{#if:{{{secondround4|}}}{{{secondround5|}}}{{{secondround6|}}}|First round|Percentage}}''' | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{firstround4|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{firstround4|}}} | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{firstround5|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{firstround5|}}} | |||
| style="width:26%;text-align:center;{{#if:{{{firstround6|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{firstround6|}}} | |||
|- | |||
! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{secondround4|}}}| |display:none;}}" valign="top" |'''Second round''' | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{secondround4|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{secondround4|}}} | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{secondround5|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{secondround5|}}} | |||
| style="width:26%;text-align:center;{{#if:{{{secondround6|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{secondround6|}}} | |||
|- | |||
! style="width:auto;float:left;display: inline-block;width:fit-content;text-align:left;{{#if:{{{runoff4|}}}| |display:none;}}" valign="top" |'''Runoff''' | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{runoff4|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{runoff4|}}} | |||
| style="{{#if:{{{name6|}}}|width:26%;|width:39%;}}text-align:center;{{#if:{{{runoff5|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{runoff5|}}} | |||
| style="width:26%;text-align:center;{{#if:{{{runoff6|}}}| |display:none;}}" class="infoboxcell" valign="top" |{{{runoff6|}}} | |||
|- | |- | ||
|} | |} | ||
Line 121: | Line 226: | ||
|- | |- | ||
! 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" |'''{{{Office_name}}} before'''<br>{{{old}}} | | colspan="1" style="{{#if:{{{old|}}}||display:none;}};" valign="top" align="left" |'''{{{officer|{{{Office_name|{{{officer|}}}}}}}}} before'''<br>{{{old}}} | ||
| colspan="1" style="{{#if:{{{new|}}}|}};" valign="top" align="right" |'''{{{Office_name}}} after'''<br>{{{new}}} | | colspan="1" style="{{#if:{{{new|}}}||display:none;}};" valign="top" align="right" |'''{{{officer|{{{Office_name|{{{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;" | ||
|} | |} | ||
|} | |}<noinclude> | ||
<noinclude> | |||
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. | 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:<pre> | Example usage:<pre> | ||
Line 139: | Line 242: | ||
|flag=Example | |flag=Example | ||
|dateofelection=Example | |dateofelection=Example | ||
|outgoing=test | |||
|elected=test2 | |||
|turnout=Example | |turnout=Example | ||
|image1=Example | |image1=Example |
Latest revision as of 08:16, 2 September 2024
|
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 |outgoing=test |elected=test2 |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 }}