Template:Infobox election: Difference between revisions

Jump to navigation Jump to search
(Undid revision 924840709 by Trialpears (talk) I'm stupid see talk)
 
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{infobox
<includeonly>{{#invoke:infobox|infoboxTemplate
| child    = {{{child|{{{embed|}}}}}}
| child    = {{{child|{{{embed|}}}}}}
| bodyclass = {{#if:{{{election_date|}}}|vevent|}}
| bodyclass = {{#if:{{{election_date|}}}|vevent|}}
Line 12: Line 12:
| titleclass = summary
| titleclass = summary
| titlestyle = font-size: 125%;
| titlestyle = font-size: 125%;
| title = {{#ifeq:{{{child|{{{embed|}}}}}}|yes|{{#if:{{{election_name|}}}|<div style="font-size:120%; font-weight:bold">{{{election_name}}}</div>}}|{{{election_name|}}}}}
| title = {{#ifeq:{{{child|{{{embed|}}}}}}|yes|{{#if:{{{election_name|}}}|<div style="background-color:#ddd; font-size:120%; font-weight:bold">{{{election_name}}}</div>}}|{{{election_name|{{PAGENAME}}}}}}}


| datastyle = text-align:center;
| datastyle = text-align:center;
Line 21: Line 21:
   |{{#invoke:InfoboxImage|InfoboxImage|image={{{flag_image|}}}|size=50px|alt=|link=}}<hr />
   |{{#invoke:InfoboxImage|InfoboxImage|image={{{flag_image|}}}|size=50px|alt=|link=}}<hr />
   |{{#if:{{{country|}}}
   |{{#if:{{{country|}}}
     |{{#if:{{{flag_year|}}}|{{flagdeco|{{{country}}}|variant={{{flag_year|}}}|size=50px}}
     |{{#ifexist:Template:Country data {{{country}}}|{{flagdeco|{{{country}}}|variant={{{flag_year|}}}|size=50px|noredlink={{main other||yes}}}}<hr />}}
    |{{flagdeco|{{{country}}}|size=50px}}
  }}
  }}<hr />
}}
  }}
  }}
| subheader2 =  {{#if:{{{previous_year|}}}{{{election_date|}}}{{{next_year|}}}|  
| subheader2 =  {{#if:{{{previous_year|}}}{{{election_date|}}}{{{next_year|}}}|  
Line 66: Line 64:


| label5 = Votes&nbsp;counted
| label5 = Votes&nbsp;counted
| data5 = {{#if:{{{votes_counted|}}}|{{center|{{Percentage bar|{{{votes_counted}}}|{{{votes_counted}}}%|1BCE0E}}}}{{small|as of '''{{{last_update}}} {{{time_zone}}}''' }}}}
| data5 = {{#if:{{{votes_counted|}}}|{{center|{{Percentage bar|{{{votes_counted}}}|{{{votes_counted}}}%|1BCE0E}}}}as of '''{{{last_update}}} {{{time_zone}}}''' }}


| label6 = Reporting
| label6 = Reporting
| data6 = {{#if:{{{reporting|}}}|{{center|{{Percentage bar|{{{reporting}}}|{{{reporting}}}%|1BCE0E}}}}{{small|as of '''{{{last_update}}} {{{time_zone}}}''' }}}}
| data6 = {{#if:{{{reporting|}}}|{{center|{{Percentage bar|{{{reporting}}}|{{{reporting}}}%|1BCE0E}}}}as of '''{{{last_update}}} {{{time_zone}}}''' }}


| label7 = Declared
| label7 = Declared
| data7 = {{#if:{{{declared|}}}|{{center|{{Percentage bar|{{{declared}}}|{{{declared}}}%|1BCE0E}}}}{{small|as of '''{{{last_update}}} {{{time_zone}}}''' }}}}
| data7 = {{#if:{{{declared|}}}|{{center|{{Percentage bar|{{{declared}}}|{{{declared}}}%|1BCE0E}}}}as of '''{{{last_update}}} {{{time_zone}}}''' }}


| data10 =  <nowiki />
| data10 =  <nowiki />
Line 80: Line 78:
| type = {{{type|}}}
| type = {{{type|}}}
| divider = <!-- none -->
| divider = <!-- none -->
| filler = {{{filler|}}}
| col3 = {{#if:{{{color3|}}}{{{colour3|}}}{{{image3|}}}{{{nominee3|}}}{{{candidate3|}}}{{{leader3|}}}{{{party3|}}}{{{alliance3|}}}{{{home_state3|}}}{{{running_mate3|}}}{{{electoral_vote3|}}}{{{delegate_count3|}}}{{{states_carried3|}}}{{{leader_since3|}}}{{{leaders_seat3|}}}{{{last_election3|}}}{{{seats_before3|}}}{{{seats_needed3|}}}{{{seats3|}}}{{{seats_after3|}}}{{{seat_change3|}}}{{{popular_vote3|}}}{{{percentage3|}}}{{{swing3|}}}{{{poll1_nominee3|}}}{{{poll1_candidate3|}}}{{{poll2_nominee3|}}}{{{poll2_candidate3|}}}{{{poll3_nominee3|}}}{{{poll3_candidate3|}}}{{{poll4_nominee3|}}}{{{poll4_candidate3|}}}{{{poll5_nominee3|}}}{{{poll5_candidate3|}}}{{{poll1_party3|}}}{{{poll2_party3|}}}{{{poll3_party3|}}}{{{poll4_party3|}}}{{{poll5_party3|}}}{{{1data3|}}}{{{2data3|}}}{{{3data3|}}}{{{4data3|}}}{{{5data3|}}}{{{6data3|}}}|yes}}
| col3 = {{#if:{{{color3|}}}{{{colour3|}}}{{{image3|}}}{{{nominee3|}}}{{{candidate3|}}}{{{leader3|}}}{{{party3|}}}{{{alliance3|}}}{{{home_state3|}}}{{{running_mate3|}}}{{{electoral_vote3|}}}{{{delegate_count3|}}}{{{states_carried3|}}}{{{leader_since3|}}}{{{leaders_seat3|}}}{{{last_election3|}}}{{{seats_before3|}}}{{{seats_needed3|}}}{{{seats3|}}}{{{seats_after3|}}}{{{seat_change3|}}}{{{popular_vote3|}}}{{{percentage3|}}}{{{swing3|}}}{{{poll1_nominee3|}}}{{{poll1_candidate3|}}}{{{poll2_nominee3|}}}{{{poll2_candidate3|}}}{{{poll3_nominee3|}}}{{{poll3_candidate3|}}}{{{poll4_nominee3|}}}{{{poll4_candidate3|}}}{{{poll5_nominee3|}}}{{{poll5_candidate3|}}}{{{poll1_party3|}}}{{{poll2_party3|}}}{{{poll3_party3|}}}{{{poll4_party3|}}}{{{poll5_party3|}}}{{{1data3|}}}{{{2data3|}}}{{{3data3|}}}{{{4data3|}}}{{{5data3|}}}{{{6data3|}}}|yes}}
| ongoing = {{{ongoing|no}}}
| ongoing = {{{ongoing|no}}}
Line 89: Line 88:
| color2 = {{if empty| {{{color2|}}} | {{{colour2|}}} }}
| color2 = {{if empty| {{{color2|}}} | {{{colour2|}}} }}
| color3 = {{if empty| {{{color3|}}} | {{{colour3|}}} }}
| color3 = {{if empty| {{{color3|}}} | {{{colour3|}}} }}
| image_size = {{{image_size|}}}
| image_size = {{{image_size|150x150px}}}
| image_upright = {{{image_upright|}}}
| image_upright = {{{image_upright|}}}
| image1 = {{{image1|}}}
| image1 = {{{image1|}}}
Line 100: Line 99:
| image3_size = {{{image3_size|}}}
| image3_size = {{{image3_size|}}}
| image3_upright = {{{image3_upright|}}}
| image3_upright = {{{image3_upright|}}}
| pageimage1 = {{{pageimage1|}}}
| pageimage2 = {{{pageimage2|}}}
| pageimage3 = {{{pageimage3|}}}
| nominee1 = {{{nominee1|}}}
| nominee1 = {{{nominee1|}}}
| nominee2 = {{{nominee2|}}}
| nominee2 = {{{nominee2|}}}
Line 109: Line 111:
| leader2 = {{{leader2|}}}
| leader2 = {{{leader2|}}}
| leader3 = {{{leader3|}}}
| leader3 = {{{leader3|}}}
| party_name = {{{party_name}}}
| party1_name = {{{party1_name|{{{party_name|}}}}}}
| party2_name = {{{party2_name|{{{party_name|}}}}}}
| party3_name = {{{party3_name|{{{party_name|}}}}}}
| party1 = {{{party1|}}}
| party1 = {{{party1|}}}
| party2 = {{{party2|}}}
| party2 = {{{party2|}}}
| party3 = {{{party3|}}}
| party3 = {{{party3|}}}
| alliance_name = {{{alliance_name}}}
| alliance1_name = {{{alliance1_name|{{{alliance_name|}}}}}}
| alliance2_name = {{{alliance2_name|{{{alliance_name|}}}}}}
| alliance3_name = {{{alliance3_name|{{{alliance_name|}}}}}}
| alliance1 = {{{alliance1|}}}
| alliance1 = {{{alliance1|}}}
| alliance2 = {{{alliance2|}}}
| alliance2 = {{{alliance2|}}}
Line 225: Line 231:
| color2 = {{if empty| {{{color5|}}} | {{{colour5|}}} }}
| color2 = {{if empty| {{{color5|}}} | {{{colour5|}}} }}
| color3 = {{if empty| {{{color6|}}} | {{{colour6|}}} }}
| color3 = {{if empty| {{{color6|}}} | {{{colour6|}}} }}
| image_size = {{{image_size|}}}
| image_size = {{{image_size|150x150px}}}
| image_upright = {{{image_upright|}}}
| image_upright = {{{image_upright|}}}
| image1 = {{{image4|}}}
| image1 = {{{image4|}}}
Line 236: Line 242:
| image3_size = {{{image6_size|}}}
| image3_size = {{{image6_size|}}}
| image3_upright = {{{image6_upright|}}}
| image3_upright = {{{image6_upright|}}}
| pageimage1 = {{{pageimage4|}}}
| pageimage2 = {{{pageimage5|}}}
| pageimage3 = {{{pageimage6|}}}
| nominee1 = {{{nominee4|}}}
| nominee1 = {{{nominee4|}}}
| nominee2 = {{{nominee5|}}}
| nominee2 = {{{nominee5|}}}
Line 245: Line 254:
| leader2 = {{{leader5|}}}
| leader2 = {{{leader5|}}}
| leader3 = {{{leader6|}}}
| leader3 = {{{leader6|}}}
| party_name = {{{party_name}}}
| party1_name = {{{party4_name|{{{party_name|}}}}}}
| party2_name = {{{party5_name|{{{party_name|}}}}}}
| party3_name = {{{party6_name|{{{party_name|}}}}}}
| party1 = {{{party4|}}}
| party1 = {{{party4|}}}
| party2 = {{{party5|}}}
| party2 = {{{party5|}}}
| party3 = {{{party6|}}}
| party3 = {{{party6|}}}
| alliance_name = {{{alliance_name}}}
| alliance1_name = {{{alliance4_name|{{{alliance_name|}}}}}}
| alliance2_name = {{{alliance5_name|{{{alliance_name|}}}}}}
| alliance3_name = {{{alliance6_name|{{{alliance_name|}}}}}}
| alliance1 = {{{alliance4|}}}
| alliance1 = {{{alliance4|}}}
| alliance2 = {{{alliance5|}}}
| alliance2 = {{{alliance5|}}}
Line 355: Line 368:
| color2 = {{if empty| {{{color8|}}} | {{{colour8|}}} }}
| color2 = {{if empty| {{{color8|}}} | {{{colour8|}}} }}
| color3 = {{if empty| {{{color9|}}} | {{{colour9|}}} }}
| color3 = {{if empty| {{{color9|}}} | {{{colour9|}}} }}
| image_size = {{{image_size|}}}
| image_size = {{{image_size|150x150px}}}
| image_upright = {{{image_upright|}}}
| image_upright = {{{image_upright|}}}
| image1 = {{{image7|}}}
| image1 = {{{image7|}}}
Line 366: Line 379:
| image3_size = {{{image9_size|}}}
| image3_size = {{{image9_size|}}}
| image3_upright = {{{image9_upright|}}}
| image3_upright = {{{image9_upright|}}}
| pageimage1 = {{{pageimage7|}}}
| pageimage2 = {{{pageimage8|}}}
| pageimage3 = {{{pageimage9|}}}
| nominee1 = {{{nominee7|}}}
| nominee1 = {{{nominee7|}}}
| nominee2 = {{{nominee8|}}}
| nominee2 = {{{nominee8|}}}
Line 375: Line 391:
| leader2 = {{{leader8|}}}
| leader2 = {{{leader8|}}}
| leader3 = {{{leader9|}}}
| leader3 = {{{leader9|}}}
| party_name = {{{party_name}}}
| party1_name = {{{party7_name|{{{party_name|}}}}}}
| party2_name = {{{party8_name|{{{party_name|}}}}}}
| party3_name = {{{party9_name|{{{party_name|}}}}}}
| party1 = {{{party7|}}}
| party1 = {{{party7|}}}
| party2 = {{{party8|}}}
| party2 = {{{party8|}}}
| party3 = {{{party9|}}}
| party3 = {{{party9|}}}
| alliance_name = {{{alliance_name}}}
| alliance1_name = {{{alliance7_name|{{{alliance_name|}}}}}}
| alliance2_name = {{{alliance8_name|{{{alliance_name|}}}}}}
| alliance3_name = {{{alliance9_name|{{{alliance_name|}}}}}}
| alliance1 = {{{alliance7|}}}
| alliance1 = {{{alliance7|}}}
| alliance2 = {{{alliance8|}}}
| alliance2 = {{{alliance8|}}}
Line 471: Line 491:
| 5blank = {{{5blank|}}}| 5data1 = {{{5data7|}}}| 5data2 = {{{5data8|}}}| 5data3 = {{{5data9|}}}
| 5blank = {{{5blank|}}}| 5data1 = {{{5data7|}}}| 5data2 = {{{5data8|}}}| 5data3 = {{{5data9|}}}
| 6blank = {{{6blank|}}}| 6data1 = {{{6data7|}}}| 6data2 = {{{6data8|}}}| 6data3 = {{{6data9|}}}
| 6blank = {{{6blank|}}}| 6data1 = {{{6data7|}}}| 6data2 = {{{6data8|}}}| 6data3 = {{{6data9|}}}
}}
{{!}}-
{{Infobox election/row
| type = {{{type|}}}
| divider = <hr />
| ongoing = {{{ongoing|no}}}
| col3 = {{#if:{{{color12|}}}{{{colour12|}}}{{{image12|}}}{{{nominee12|}}}{{{candidate12|}}}{{{leader12|}}}{{{party12|}}}{{{alliance12|}}}{{{home_state12|}}}{{{running_mate12|}}}{{{electoral_vote12|}}}{{{delegate_count12|}}}{{{states_carried12|}}}{{{leader_since12|}}}{{{leaders_seat12|}}}{{{last_election12|}}}{{{seats_before12|}}}{{{seats_needed12|}}}{{{seats12|}}}{{{seats_after12|}}}{{{seat_change12|}}}{{{popular_vote12|}}}{{{percentage12|}}}{{{counties_won12|}}}{{{counties_threshold12|}}}{{{swing12|}}}{{{poll1_nominee12|}}}{{{poll1_candidate12|}}}{{{poll2_nominee12|}}}{{{poll2_candidate12|}}}{{{poll3_nominee12|}}}{{{poll3_candidate12|}}}{{{poll4_nominee12|}}}{{{poll4_candidate12|}}}{{{poll5_nominee12|}}}{{{poll5_candidate12|}}}{{{poll1_party12|}}}{{{poll2_party12|}}}{{{poll3_party12|}}}{{{poll4_party12|}}}{{{poll5_party12|}}}{{{1data12|}}}{{{2data12|}}}{{{3data12|}}}{{{4data12|}}}{{{5data12|}}}{{{6data12|}}}|yes}}
| header1 = {{#switch:{{#expr:{{#if:{{{party3|}}}|1|0}}+{{#if:{{{party6|}}}|1|0}}}}|0=Fifth party|1=Sixth party|2=Seventh party}}
| header2 = {{#switch:{{#expr:{{#if:{{{party3|}}}|1|0}}+{{#if:{{{party6|}}}|1|0}}}}|0=Sixth party|1=Seventh party|2=Eighth party}}
| header3 = {{#switch:{{#expr:{{#if:{{{party3|}}}|1|0}}+{{#if:{{{party6|}}}|1|0}}}}|0=Seventh party|1=Eighth party|2=Ninth party}}
| party_color = {{if empty| {{{party_colour|}}} | {{{party_color|}}} | yes }}
| color1 = {{if empty| {{{color10|}}} | {{{colour10|}}} }}
| color2 = {{if empty| {{{color11|}}} | {{{colour11|}}} }}
| color3 = {{if empty| {{{color12|}}} | {{{colour12|}}} }}
| image_size = {{{image_size|150x150px}}}
| image_upright = {{{image_upright|}}}
| image1 = {{{image10|}}}
| image1_size = {{{image10_size|}}}
| image1_upright = {{{image10_upright|}}}
| image2 = {{{image11|}}}
| image2_size = {{{image11_size|}}}
| image2_upright = {{{image11_upright|}}}
| image3 = {{{image12|}}}
| image3_size = {{{image12_size|}}}
| image3_upright = {{{image12_upright|}}}
| pageimage1 = {{{pageimage10|}}}
| pageimage2 = {{{pageimage11|}}}
| pageimage3 = {{{pageimage12|}}}
| nominee1 = {{{nominee10|}}}
| nominee2 = {{{nominee11|}}}
| nominee3 = {{{nominee12|}}}
| candidate1 = {{{candidate10|}}}
| candidate2 = {{{candidate11|}}}
| candidate3 = {{{candidate12|}}}
| leader1 = {{{leader10|}}}
| leader2 = {{{leader11|}}}
| leader3 = {{{leader12|}}}
| party1_name = {{{party10_name|{{{party_name|}}}}}}
| party2_name = {{{party11_name|{{{party_name|}}}}}}
| party3_name = {{{party12_name|{{{party_name|}}}}}}
| party1 = {{{party10|}}}
| party2 = {{{party11|}}}
| party3 = {{{party12|}}}
| alliance1_name = {{{alliance10_name|{{{alliance_name|}}}}}}
| alliance2_name = {{{alliance11_name|{{{alliance_name|}}}}}}
| alliance3_name = {{{alliance12_name|{{{alliance_name|}}}}}}
| alliance1 = {{{alliance10|}}}
| alliance2 = {{{alliance11|}}}
| alliance3 = {{{alliance12|}}}
| home_state1 = {{{home_state10|}}}
| home_state2 = {{{home_state11|}}}
| home_state3 = {{{home_state12|}}}
| running_mate1 = {{{running_mate10|}}}
| running_mate2 = {{{running_mate11|}}}
| running_mate3 = {{{running_mate12|}}}
| college_voted = {{{college_voted|}}}
| electoral_vote1 = {{{electoral_vote10|}}}
| electoral_vote2 = {{{electoral_vote11|}}}
| electoral_vote3 = {{{electoral_vote12|}}}
| delegate_count1 = {{{delegate_count10|}}}
| delegate_count2 = {{{delegate_count11|}}}
| delegate_count3 = {{{delegate_count12|}}}
| states_carried1 = {{{states_carried10|}}}
| states_carried2 = {{{states_carried11|}}}
| states_carried3 = {{{states_carried12|}}}
| leader_since1 = {{{leader_since10|}}}
| leader_since2 = {{{leader_since11|}}}
| leader_since3 = {{{leader_since12|}}}
| leaders_seat1 = {{{leaders_seat10|}}}
| leaders_seat2 = {{{leaders_seat11|}}}
| leaders_seat3 = {{{leaders_seat12|}}}
| last_election1 = {{{last_election10|}}}
| last_election2 = {{{last_election11|}}}
| last_election3 = {{{last_election12|}}}
| seats_before1 = {{{seats_before10|}}}
| seats_before2 = {{{seats_before11|}}}
| seats_before3 = {{{seats_before12|}}}
| seats_needed1 = {{{seats_needed10|}}}
| seats_needed2 = {{{seats_needed11|}}}
| seats_needed3 = {{{seats_needed12|}}}
| seats1 = {{{seats10|}}}
| seats2 = {{{seats11|}}}
| seats3 = {{{seats12|}}}
| seats_after1 = {{{seats_after10|}}}
| seats_after2 = {{{seats_after11|}}}
| seats_after3 = {{{seats_after12|}}}
| seat_change1 = {{{seat_change10|}}}
| seat_change2 = {{{seat_change11|}}}
| seat_change3 = {{{seat_change12|}}}
| vote_type = {{{vote_type|Popular}}}
| popular_vote1 = {{{popular_vote10|}}}
| popular_vote2 = {{{popular_vote11|}}}
| popular_vote3 = {{{popular_vote12|}}}
| percentage1 = {{{percentage10|}}}
| percentage2 = {{{percentage11|}}}
| percentage3 = {{{percentage12|}}}
| swing1 = {{{swing10|}}}
| swing2 = {{{swing11|}}}
| swing3 = {{{swing12|}}}
| opinion_polls = {{{opinion_polls|}}}
| poll1_date = {{if empty|{{{poll1_date3|}}}|{{{poll1_date|}}}}}
| poll1_source = {{if empty|{{{poll1_source3|}}}|{{{poll1_source|}}}}}
| poll1_person1 = {{if empty|{{{poll1_nominee10|}}}|{{{poll1_candidate10|}}}}}
| poll1_person2 = {{if empty|{{{poll1_nominee11|}}}|{{{poll1_candidate11|}}}}}
| poll1_person3 = {{if empty|{{{poll1_nominee12|}}}|{{{poll1_candidate12|}}}}}
| poll2_date = {{if empty|{{{poll2_date3|}}}|{{{poll2_date|}}}}}
| poll2_source = {{if empty|{{{poll2_source3|}}}|{{{poll2_source|}}}}}
| poll2_person1 = {{if empty|{{{poll2_nominee10|}}}|{{{poll2_candidate10|}}}}}
| poll2_person2 = {{if empty|{{{poll2_nominee11|}}}|{{{poll2_candidate11|}}}}}
| poll2_person3 = {{if empty|{{{poll2_nominee12|}}}|{{{poll2_candidate12|}}}}}
| poll3_date = {{if empty|{{{poll3_date3|}}}|{{{poll3_date|}}}}}
| poll3_source = {{if empty|{{{poll3_source3|}}}|{{{poll3_source|}}}}}
| poll3_person1 = {{if empty|{{{poll3_nominee10|}}}|{{{poll3_candidate10|}}}}}
| poll3_person2 = {{if empty|{{{poll3_nominee11|}}}|{{{poll3_candidate11|}}}}}
| poll3_person3 = {{if empty|{{{poll3_nominee12|}}}|{{{poll3_candidate12|}}}}}
| poll4_date = {{if empty|{{{poll4_date3|}}}|{{{poll4_date|}}}}}
| poll4_source = {{if empty|{{{poll4_source3|}}}|{{{poll4_source|}}}}}
| poll4_person1 = {{if empty|{{{poll4_nominee10|}}}|{{{poll4_candidate10|}}}}}
| poll4_person2 = {{if empty|{{{poll4_nominee11|}}}|{{{poll4_candidate11|}}}}}
| poll4_person3 = {{if empty|{{{poll4_nominee12|}}}|{{{poll4_candidate12|}}}}}
| poll5_date = {{if empty|{{{poll5_date3|}}}|{{{poll5_date|}}}}}
| poll5_source = {{if empty|{{{poll5_source3|}}}|{{{poll5_source|}}}}}
| poll5_person1 = {{if empty|{{{poll5_nominee10|}}}|{{{poll5_candidate10|}}}}}
| poll5_person2 = {{if empty|{{{poll5_nominee11|}}}|{{{poll5_candidate11|}}}}}
| poll5_person3 = {{if empty|{{{poll5_nominee12|}}}|{{{poll5_candidate12|}}}}}
| poll1_party1 = {{{poll1_party10|}}}| poll1_party2 = {{{poll1_party11|}}}| poll1_party3 = {{{poll1_party12|}}}
| poll2_party1 = {{{poll2_party10|}}}| poll2_party2 = {{{poll2_party11|}}}| poll2_party3 = {{{poll2_party12|}}}
| poll3_party1 = {{{poll3_party10|}}}| poll3_party2 = {{{poll3_party11|}}}| poll3_party3 = {{{poll3_party12|}}}
| poll4_party1 = {{{poll4_party10|}}}| poll4_party2 = {{{poll4_party11|}}}| poll4_party3 = {{{poll4_party12|}}}
| poll5_party1 = {{{poll5_party10|}}}| poll5_party2 = {{{poll5_party11|}}}| poll5_party3 = {{{poll5_party12|}}}
| 1blank = {{{1blank|}}}| 1data1 = {{{1data10|}}}| 1data2 = {{{1data11|}}}| 1data3 = {{{1data12|}}}
| 2blank = {{{2blank|}}}| 2data1 = {{{2data10|}}}| 2data2 = {{{2data11|}}}| 2data3 = {{{2data12|}}}
| 3blank = {{{3blank|}}}| 3data1 = {{{3data10|}}}| 3data2 = {{{3data11|}}}| 3data3 = {{{3data12|}}}
| 4blank = {{{4blank|}}}| 4data1 = {{{4data10|}}}| 4data2 = {{{4data11|}}}| 4data3 = {{{4data12|}}}
| 5blank = {{{5blank|}}}| 5data1 = {{{5data10|}}}| 5data2 = {{{5data11|}}}| 5data3 = {{{5data12|}}}
| 6blank = {{{6blank|}}}| 6data1 = {{{6data10|}}}| 6data2 = {{{6data11|}}}| 6data3 = {{{6data12|}}}
}}
}}
{{!)}}
{{!)}}
Line 499: Line 656:
| data15 = {{#if:{{{title|}}}|<hr />
| data15 = {{#if:{{{title|}}}|<hr />
{{{!}} cellspacing="0" cellpadding="0" style="background:transparent; width:100%;"
{{{!}} cellspacing="0" cellpadding="0" style="background:transparent; width:100%;"
{{!}} style="width:50%; text-align:left;" {{!}}'''{{#if:{{{before_election|}}}{{{before_party|}}}|{{#ifeq:{{{type}}}|primary|Previous {{{title}}}|{{#ifeq:{{{ongoing|no}}}|yes|Incumbent {{#ifeq:{{{title}}}|U.S. Senator|[[List of United States Senators from {{{country}}}|{{{title}}}]]|{{{title}}}}}|{{#ifeq:{{{title}}}|U.S. Senator|[[List of United States Senators from {{{country}}}|{{{title}}}]]|{{{title}}}}} before election}}}}'''<br />
{{!}} style="width:50%; text-align:left;" {{!}}{{#if:{{{before_election|}}}{{{before_party|}}}|'''{{#ifeq:{{{type}}}|primary|Previous {{{title}}}|{{#ifeq:{{{ongoing|no}}}|yes|Incumbent {{#ifeq:{{lc:{{{title}}}}}|u.s. senator|[[List of United States senators from {{#ifeq:{{{country}}}|Georgia (U.S. state)|Georgia|{{{country}}}}}|U.S. senator]]|{{{title}}}}}|{{#ifeq:{{lc:{{{title}}}}}|u.s. senator|[[List of United States senators from {{#ifeq:{{{country}}}|Georgia (U.S. state)|Georgia|{{{country}}}}}|U.S. senator]]|{{{title}}}}} before election}}}}'''<br />
{{{before_election}}}<br />
{{{before_election}}}<br />
{{#if:{{{before_party|}}}|{{Infobox election/shortname|link={{{party_name}}}|name={{{before_party}}}}} }} }}
{{#if:{{{before_party|}}}|{{Infobox election/shortname|link={{{before_party_link|{{{party_name}}}}}}|name={{{before_party}}}}} }} }}
{{!}} style="width:50%; text-align:right;" {{!}} {{#ifeq:{{{ongoing|no}}}|yes|{{#ifeq:{{{type}}}|primary|{{#if:{{{after_election|}}}|'''Presumptive {{#if:{{{posttitle|}}}|{{{posttitle}}}|{{{title}}}'''}}|}}|}} |'''{{#if:{{{posttitle|}}}|{{{posttitle}}}|{{#ifeq:{{{type}}}|primary||Elected}} {{{title}}}}}'''}} <br />
{{!}} style="width:50%; text-align:right;" {{!}} {{#ifeq:{{{ongoing|no}}}|yes|{{#ifeq:{{{type}}}|primary|{{#if:{{{after_election|}}}|'''Presumptive {{#if:{{{posttitle|}}}|{{{posttitle}}}|{{{title}}}}}'''|}}|}} |'''{{#if:{{{posttitle|}}}|{{{posttitle}}}|{{#ifeq:{{{type}}}|primary||Elected}} {{{title}}}}}'''}} <br />
{{#ifeq:{{{ongoing|no}}}|yes|{{#ifeq:{{{type}}}|primary|{{#if:{{{after_election|}}}|{{{after_election}}}|}}}}}}
{{#ifeq:{{{ongoing|no}}}|yes|{{#ifeq:{{{type}}}|primary|{{#if:{{{after_election|}}}|{{{after_election}}}|}}}}}}
{{#ifeq:{{{ongoing|no}}}|yes||{{#if:{{{after_election|}}}|{{{after_election}}}|}}{{#if:{{{after_election|}}}{{{after_party|}}}||TBD}}<br />
{{#ifeq:{{{ongoing|no}}}|yes||{{#if:{{{after_election|}}}|{{{after_election}}}|}}{{#if:{{{after_election|}}}{{{after_party|}}}||TBD}}<br />
{{#if:{{{after_party|}}}|{{Infobox election/shortname|link={{{party_name}}}|name={{{after_party}}}}}}} }}
{{#if:{{{after_party|}}}|{{Infobox election/shortname|link={{{after_party_link|{{{party_name|}}}}}}|name={{{after_party}}}}}}} }}
{{!}}} }}
{{!}}} }}
{{#if:{{{template_name|}}}|{{align|right|{{navbar|{{{template_name}}}|mini=2}}}} }}
{{#if:{{{template_name|}}}|{{align|right|{{navbar|{{{template_name}}}|mini=2}}}} }}
| data16 = {{{module|}}}
| data16 = {{{module|}}}
}}</includeonly><noinclude>{{Documentation}}<!-- Add categories to the /doc subpage, not here! --></noinclude>{{#if:{{{electoral_vote1|}}}|{{Main other|[[Category:Elections using electoral votes]]}}}}<!-- temporary tracking of elections using an electoral college -->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox election with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox election]] with unknown parameter "_VALUE_"|ignoreblank=y| 1blank | 1data1 | 1data2 | 1data3 | 1data4 | 1data5 | 1data6 | 1data7 | 1data8 | 1data9 | 2blank | 2data1 | 2data2 | 2data3 | 2data4 | 2data5 | 2data6 | 2data7 | 2data8 | 2data9 | 3blank | 3data1 | 3data2 | 3data3 | 3data4 | 3data5 | 3data6 | 3data7 | 3data8 | 3data9 | 4blank | 4data1 | 4data2 | 4data3 | 4data4 | 4data5 | 4data6 | 4data7 | 4data8 | 4data9 | 5blank | 5data1 | 5data2 | 5data3 | 5data4 | 5data5 | 5data6 | 5data7 | 5data8 | 5data9 | 6blank | 6data1 | 6data2 | 6data3 | 6data4 | 6data5 | 6data6 | 6data7 | 6data8 | 6data9 | after_election | after_party | alliance_name | alliance1 | alliance2 | alliance3 | alliance4 | alliance5 | alliance6 | alliance7 | alliance8 | alliance9 | before_election | before_party | candidate1 | candidate2 | candidate3 | candidate4 | candidate5 | candidate6 | candidate7 | candidate8 | candidate9 | college_voted | color1 | color2 | color3 | color4 | color5 | color6 | color7 | color8 | color9 | colour1 | colour2 | colour3 | colour4 | colour5 | colour6 | colour7 | colour8 | colour9 | counties_threshold1 | counties_threshold2 | counties_threshold3 | counties_threshold9 | counties_won1 | counties_won2 | counties_won3 | counties_won9 | country | declared | delegate_count1 | delegate_count2 | delegate_count3 | delegate_count4 | delegate_count5 | delegate_count6 | delegate_count7 | delegate_count8 | delegate_count9 | elected_members | elected_mps | election_date | election_name | electoral_vote1 | electoral_vote2 | electoral_vote3 | electoral_vote4 | electoral_vote5 | electoral_vote6 | electoral_vote7 | electoral_vote8 | electoral_vote9 | flag_image | flag_year | home_state1 | home_state2 | home_state3 | home_state4 | home_state5 | home_state6 | home_state7 | home_state8 | home_state9 | image_size | image_upright | image1 | image1_size | image1_upright | image2 | image2_size | image2_upright | image3 | image3_size | image3_upright | image4 | image4_size | image4_upright | image5 | image5_size | image5_upright | image6 | image6_size | image6_upright | image7 | image7_size | image7_upright | image8 | image8_size | image8_upright | image9 | image9_size | image9_upright | last_election1 | last_election2 | last_election3 | last_election4 | last_election5 | last_election6 | last_election7 | last_election8 | last_election9 | last_update | leader_since1 | leader_since2 | leader_since3 | leader_since4 | leader_since5 | leader_since6 | leader_since7 | leader_since8 | leader_since9 | leader1 | leader2 | leader3 | leader4 | leader5 | leader6 | leader7 | leader8 | leader9 | leaders_seat1 | leaders_seat2 | leaders_seat3 | leaders_seat4 | leaders_seat5 | leaders_seat6 | leaders_seat7 | leaders_seat8 | leaders_seat9 | majority_seats | map | map_alt | map_caption | map_image | map_size | map2 | map2_alt | map2_caption | map2_image | map2_size | map3 | map3_alt | map3_caption | map3_image | map3_size | map4 | map4_alt | map4_caption | map4_image | map4_size | needed_votes | next_election | next_year | nominee1 | nominee2 | nominee3 | nominee4 | nominee5 | nominee6 | nominee7 | nominee8 | nominee9 | ongoing | opinion_polls | outgoing_members | party_color | party_colour | party_name | party1 | party2 | party3 | party4 | party5 | party6 | party7 | party8 | party9 | percentage1 | percentage2 | percentage3 | percentage4 | percentage5 | percentage6 | percentage7 | percentage8 | percentage9 | poll1_candidate1 | poll1_candidate2 | poll1_candidate3 | poll1_candidate4 | poll1_candidate5 | poll1_candidate6 | poll1_candidate7 | poll1_candidate8 | poll1_candidate9 | poll1_date | poll1_date1 | poll1_date2 | poll1_date3 | poll1_nominee1 | poll1_nominee2 | poll1_nominee3 | poll1_nominee4 | poll1_nominee5 | poll1_nominee6 | poll1_nominee7 | poll1_nominee8 | poll1_nominee9 | poll1_party1 | poll1_party2 | poll1_party3 | poll1_party4 | poll1_party5 | poll1_party6 | poll1_party7 | poll1_party8 | poll1_party9 | poll1_source | poll1_source1 | poll1_source2 | poll1_source3 | poll2_candidate1 | poll2_candidate2 | poll2_candidate3 | poll2_candidate4 | poll2_candidate5 | poll2_candidate6 | poll2_candidate7 | poll2_candidate8 | poll2_candidate9 | poll2_date | poll2_date1 | poll2_date2 | poll2_date3 | poll2_nominee1 | poll2_nominee2 | poll2_nominee3 | poll2_nominee4 | poll2_nominee5 | poll2_nominee6 | poll2_nominee7 | poll2_nominee8 | poll2_nominee9 | poll2_party1 | poll2_party2 | poll2_party3 | poll2_party4 | poll2_party5 | poll2_party6 | poll2_party7 | poll2_party8 | poll2_party9 | poll2_source | poll2_source1 | poll2_source2 | poll2_source3 | poll3_candidate1 | poll3_candidate2 | poll3_candidate3 | poll3_candidate4 | poll3_candidate5 | poll3_candidate6 | poll3_candidate7 | poll3_candidate8 | poll3_candidate9 | poll3_date | poll3_date1 | poll3_date2 | poll3_date3 | poll3_nominee1 | poll3_nominee2 | poll3_nominee3 | poll3_nominee4 | poll3_nominee5 | poll3_nominee6 | poll3_nominee7 | poll3_nominee8 | poll3_nominee9 | poll3_party1 | poll3_party2 | poll3_party3 | poll3_party4 | poll3_party5 | poll3_party6 | poll3_party7 | poll3_party8 | poll3_party9 | poll3_source | poll3_source1 | poll3_source2 | poll3_source3 | poll4_candidate1 | poll4_candidate2 | poll4_candidate3 | poll4_candidate4 | poll4_candidate5 | poll4_candidate6 | poll4_candidate7 | poll4_candidate8 | poll4_candidate9 | poll4_date | poll4_date1 | poll4_date2 | poll4_date3 | poll4_nominee1 | poll4_nominee2 | poll4_nominee3 | poll4_nominee4 | poll4_nominee5 | poll4_nominee6 | poll4_nominee7 | poll4_nominee8 | poll4_nominee9 | poll4_party1 | poll4_party2 | poll4_party3 | poll4_party4 | poll4_party5 | poll4_party6 | poll4_party7 | poll4_party8 | poll4_party9 | poll4_source | poll4_source1 | poll4_source2 | poll4_source3 | poll5_candidate1 | poll5_candidate2 | poll5_candidate3 | poll5_candidate4 | poll5_candidate5 | poll5_candidate6 | poll5_candidate7 | poll5_candidate8 | poll5_candidate9 | poll5_date | poll5_date1 | poll5_date2 | poll5_date3 | poll5_nominee1 | poll5_nominee2 | poll5_nominee3 | poll5_nominee4 | poll5_nominee5 | poll5_nominee6 | poll5_nominee7 | poll5_nominee8 | poll5_nominee9 | poll5_party1 | poll5_party2 | poll5_party3 | poll5_party4 | poll5_party5 | poll5_party6 | poll5_party7 | poll5_party8 | poll5_party9 | poll5_source | poll5_source1 | poll5_source2 | poll5_source3 | popular_vote1 | popular_vote2 | popular_vote3 | popular_vote4 | popular_vote5 | popular_vote6 | popular_vote7 | popular_vote8 | popular_vote9 | posttitle | previous_election | previous_mps | previous_year | registered | reporting | running_mate1 | running_mate2 | running_mate3 | running_mate4 | running_mate5 | running_mate6 | running_mate7 | running_mate8 | running_mate9 | seat_change1 | seat_change2 | seat_change3 | seat_change4 | seat_change5 | seat_change6 | seat_change7 | seat_change8 | seat_change9 | seats_after1 | seats_after2 | seats_after3 | seats_after4 | seats_after5 | seats_after6 | seats_after7 | seats_after8 | seats_after9 | seats_before1 | seats_before2 | seats_before3 | seats_before4 | seats_before5 | seats_before6 | seats_before7 | seats_before8 | seats_before9 | seats_for_election | seats_needed1 | seats_needed2 | seats_needed3 | seats_needed4 | seats_needed5 | seats_needed6 | seats_needed7 | seats_needed8 | seats_needed9 | seats1 | seats2 | seats3 | seats4 | seats5 | seats6 | seats7 | seats8 | seats9 | states_carried1 | states_carried2 | states_carried3 | states_carried4 | states_carried5 | states_carried6 | states_carried7 | states_carried8 | states_carried9 | swing1 | swing2 | swing3 | swing4 | swing5 | swing6 | swing7 | swing8 | swing9 | template_name | time_zone | title | turnout | type | vote_type | votes_counted | votes_for_election }}
}}</includeonly><noinclude>{{documentation}}<!-- Add categories to the /doc subpage, not here! --></noinclude>{{#if:{{{electoral_vote1|}}}|{{Main other|[[Category:Elections using electoral votes]]}}}}<!-- temporary tracking of elections using an electoral college -->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox election with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox election]] with unknown parameter "_VALUE_"|ignoreblank=y| regexp1 = [%d]blank | regexp2 = [%d]data[%d] | after_election | after_party | after_party_link | regexp3 = alliance[%d]_name | alliance_name | regexp4 = alliance[%d] | before_election | before_party | before_party_link | regexp5 = candidate[%d] | child | college_voted | regexp6 = colou?r[%d] | counties_threshold1 | counties_threshold2 | counties_threshold3 | counties_threshold9 | counties_won1 | counties_won2 | counties_won3 | counties_won9 | country | declared | regexp7 = delegate_count[%d] | elected_members | elected_mps | election_date | election_name | regexp8 = electoral_vote[%d] | embed | filler | flag_image | flag_year | regexp9 = home_state[%d] | image_size | image_upright | regexp10 = image[%d] | regexp11 = image[%d]_size | regexp12 = image[%d]_upright | regexp13 = last_election[%d] | last_update | regexp14 = leader_since[%d] | regexp15 = leader[%d] | regexp16 = leaders_seat[%d] | majority_seats | map | map_alt | map_caption | map_image | map_size | map2 | map2_alt | map2_caption | map2_image | map2_size | map3 | map3_alt | map3_caption | map3_image | map3_size | map4 | map4_alt | map4_caption | map4_image | map4_size | module | needed_votes | next_election | next_year | regexp17 = nominee[%d] | ongoing | opinion_polls | outgoing_members | party_color | party_colour | regexp18 = party[%d]_name | party_name | regexp19 = party[%d] | regexp20 = percentage[%d] | regexp21 = poll[%d]_candidate[%d] | regexp22 = poll[%d]_date[%d]? | regexp23 = poll[%d]_nominee[%d] | regexp24 = poll[%d]_party[%d] | regexp25 = poll[%d]_source[%d]? | regexp26 = popular_vote[%d] | posttitle | previous_election | previous_mps | previous_year | registered | reporting | regexp27 = running_mate[%d] | regexp28 = seat_change[%d] | regexp29 = seats_after[%d] | regexp30 = seats_before[%d] | seats_for_election | regexp31 = seats_needed[%d] | regexp32 = seats[%d] | regexp33 = states_carried[%d] | regexp34 = swing[%d] | template_name | time_zone | title | turnout | type | vote_type | votes_counted | votes_for_election }}

Latest revision as of 13:56, 26 April 2024