「模板:Infobox Election」:修訂間差異

出自竹園Wiki
跳至導覽 跳至搜尋
(建立內容為「<includeonly>{{infobox | child = {{{child|{{{embed|}}}}}} | bodyclass = {{#if:{{{election_date|}}}|vevent|}} | bodystyle = line-height: 1.5em; {{#if:<!-- -->{{{map_image|}}}{{{map|}}}{{{map2_image|}}}{{{map2|}}}{{{map3_image|}}}{{{map3|}}}{{{map4_image|}}}{{{map4|}}}<!-- -->|width:{{max | 1 = {{#if:{{{map_image|}}}{{{map|}}}|{{#invoke:string|replace|{{if empty|{{{map_size|}}}|300px}}|px%s*$||plain=false}}}} | 2 = {{#if:{{{map2_image|}}}{{{map2|}}}|{{#i…」的新頁面)
 
(清空全部內容)
標籤清空
行 1: 行 1:
<includeonly>{{infobox
| child = {{{child|{{{embed|}}}}}}
| bodyclass = {{#if:{{{election_date|}}}|vevent|}}
| bodystyle = line-height: 1.5em; {{#if:<!--
-->{{{map_image|}}}{{{map|}}}{{{map2_image|}}}{{{map2|}}}{{{map3_image|}}}{{{map3|}}}{{{map4_image|}}}{{{map4|}}}<!--
-->|width:{{max
| 1 = {{#if:{{{map_image|}}}{{{map|}}}|{{#invoke:string|replace|{{if empty|{{{map_size|}}}|300px}}|px%s*$||plain=false}}}}
| 2 = {{#if:{{{map2_image|}}}{{{map2|}}}|{{#invoke:string|replace|{{if empty|{{{map2_size|}}}|300px}}|px%s*$||plain=false}}}}
| 3 = {{#if:{{{map3_image|}}}{{{map3|}}}|{{#invoke:string|replace|{{if empty|{{{map3_size|}}}|300px}}|px%s*$||plain=false}}}}
| 4 = {{#if:{{{map4_image|}}}{{{map4|}}}|{{#invoke:string|replace|{{if empty|{{{map4_size|}}}|300px}}|px%s*$||plain=false}}}}
}}px}}
| titleclass = summary
| titlestyle = font-size: 125%;
| title = {{#ifeq:{{{child|{{{embed|}}}}}}|yes|{{#if:{{{election_name|}}}|<div style="background-color:#ddd; font-size:120%; font-weight:bold">{{{election_name}}}</div>}}|{{{election_name|}}}}}

| datastyle = text-align:center;
| labelstyle = width:5em;white-space:nowrap;

| subheaderstyle = line-height:130%;
| subheader1 = {{#if:{{{flag_image|}}}
|{{#invoke:InfoboxImage|InfoboxImage|image={{{flag_image|}}}|size=50px|alt=|link=}}<hr />
|{{#if:{{{country|}}}
|{{flagdeco|{{{country}}}|variant={{{flag_year|}}}|size=50px|noredlink={{main other||yes}}}}<hr />
}}
}}
| subheader2 = {{#if:{{{previous_year|}}}{{{election_date|}}}{{{next_year|}}}|
{{succession links|leftstyle=width:15%;|centerstyle = width:70%;|rightstyle=width:15%;
| left ={{#if:{{{previous_year|}}}|{{nowrap|{{#ifexist:{{{previous_election|}}}|[[{{{previous_election}}}|{{{previous_year}}}]]|{{{previous_year}}}}}}}}}
| center = {{#if:{{{election_date|}}}|'''{{{election_date}}}'''}}
| right = {{#if:{{{next_year|}}}|{{nowrap|{{#ifexist:{{{next_election|}}}|[[{{{next_election}}}|{{{next_year}}}]]|{{{next_year}}}}}}}}}
}}
}}
| subheader3 =
{{#if:{{{outgoing_members|{{{previous_mps|}}}}}}{{{elected_members|{{{elected_mps|}}}}}}|
{{succession links|leftstyle=width:49%; text-align:center;|rightstyle=width:49%; text-align:center;
| left = {{#if:{{{outgoing_members|{{{previous_mps|}}}}}}|{{#ifexist:{{{outgoing_members|{{{previous_mps|}}}}}}|[[{{{outgoing_members|{{{previous_mps|}}}}}}|離任議員]]|{{{outgoing_members|{{{previous_mps|}}}}}}}}}}
| right = {{#if:{{{elected_members|{{{elected_mps|}}}}}}|{{#ifexist:{{{elected_members|{{{elected_mps|}}}}}}|[[{{{elected_members|{{{elected_mps|}}}}}}|當選議員]]|{{{elected_members|{{{elected_mps|}}}}}}}}|}}
}}
}}
| headerstyle = font-weight:normal;
| header1 =
{{#switch:{{{type|}}}
| primary
| Primary
| presidential
| Presidential = {{#if:{{{votes_for_election|}}}|<hr />{{{votes_for_election}}}{{#if:{{{needed_votes|}}}|<br />獲勝需{{{needed_votes}}}票}}
}}
| parliamentary
| Parliamentary
| legislative
| Legislative
| by-election
| By-election = {{#if:{{{seats_for_election|}}}|<hr />{{{seats_for_election}}}{{#if:{{{majority_seats|}}}|<br />獲得過半多數需{{{majority_seats}}}个席位}}
}}
| #default =
}}
| data2 = {{#if:{{{opinion_polls|}}}| [[{{{opinion_polls}}}|民意調查]] }}

| label3 = 已登記選民
| data3 = {{{registered|}}}

| label4 = 投票率
| data4 = {{{turnout|}}}

| label5 = 點票
| data5 = {{#if:{{{votes_counted|}}}|{{center|{{Percentage bar|{{{votes_counted}}}|{{{votes_counted}}}%|1BCE0E}}}}{{small|截至 '''{{{last_update}}} {{{time_zone}}}''' }}}}

| label6 = 報告票數
| data6 = {{#if:{{{reporting|}}}|{{center|{{Percentage bar|{{{reporting}}}|{{{reporting}}}%|1BCE0E}}}}{{small|截至'''{{{last_update}}} {{{time_zone}}}''' }}}}

| label7 = 宣布票數
| data7 = {{#if:{{{declared|}}}|{{center|{{Percentage bar|{{{declared}}}|{{{declared}}}%|1BCE0E}}}}{{small|截至'''{{{last_update}}} {{{time_zone}}}''' }}}}

| data10 = <nowiki />
{{(!}} style="background:transparent; width:100%;"
{{!}}-
{{Infobox election/row
| type = {{{type|}}}
| divider = <!-- none -->
| 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}}}
| header1 = {{#switch:{{{type|}}}|parliamentary|Parliamentary=第一大黨|#default=多數黨}}
| header2 = {{#switch:{{{type|}}}|parliamentary|Parliamentary=第二大黨|#default=少數黨}}
| header3 = {{#switch:{{{type|}}}|parliamentary|Parliamentary=第三大黨|#default=第三大黨}}
| party_color = {{if empty| {{{party_colour|}}} | {{{party_color|}}} | yes }}
| color1 = {{if empty| {{{color1|}}} | {{{colour1|}}} }}
| color2 = {{if empty| {{{color2|}}} | {{{colour2|}}} }}
| color3 = {{if empty| {{{color3|}}} | {{{colour3|}}} }}
| image_size = {{{image_size|}}}
| image_upright = {{{image_upright|}}}
| image1 = {{{image1|}}}
| image1_size = {{{image1_size|}}}
| image1_upright = {{{image1_upright|}}}
| image2 = {{{image2|}}}
| image2_size = {{{image2_size|}}}
| image2_upright = {{{image2_upright|}}}
| image3 = {{{image3|}}}
| image3_size = {{{image3_size|}}}
| image3_upright = {{{image3_upright|}}}
| nominee1 = {{{nominee1|}}}
| nominee2 = {{{nominee2|}}}
| nominee3 = {{{nominee3|}}}
| candidate1 = {{{candidate1|}}}
| candidate2 = {{{candidate2|}}}
| candidate3 = {{{candidate3|}}}
| leader1 = {{{leader1|}}}
| leader2 = {{{leader2|}}}
| leader3 = {{{leader3|}}}
| party_name = {{{party_name}}}
| party1 = {{{party1|}}}
| party2 = {{{party2|}}}
| party3 = {{{party3|}}}
| alliance_name = {{{alliance_name}}}
| alliance1 = {{{alliance1|}}}
| alliance2 = {{{alliance2|}}}
| alliance3 = {{{alliance3|}}}
| home_state1 = {{{home_state1|}}}
| home_state2 = {{{home_state2|}}}
| home_state3 = {{{home_state3|}}}
| running_mate1 = {{{running_mate1|}}}
| running_mate2 = {{{running_mate2|}}}
| running_mate3 = {{{running_mate3|}}}
| college_voted = {{{college_voted|}}}
| electoral_vote1 = {{{electoral_vote1|}}}
| electoral_vote2 = {{{electoral_vote2|}}}
| electoral_vote3 = {{{electoral_vote3|}}}
| delegate_count1 = {{{delegate_count1|}}}
| delegate_count2 = {{{delegate_count2|}}}
| delegate_count3 = {{{delegate_count3|}}}
| states_carried1 = {{{states_carried1|}}}
| states_carried2 = {{{states_carried2|}}}
| states_carried3 = {{{states_carried3|}}}
| leader_since1 = {{{leader_since1|}}}
| leader_since2 = {{{leader_since2|}}}
| leader_since3 = {{{leader_since3|}}}
| leaders_seat1 = {{{leaders_seat1|}}}
| leaders_seat2 = {{{leaders_seat2|}}}
| leaders_seat3 = {{{leaders_seat3|}}}
| last_election1 = {{{last_election1|}}}
| last_election2 = {{{last_election2|}}}
| last_election3 = {{{last_election3|}}}
| seats_before1 = {{{seats_before1|}}}
| seats_before2 = {{{seats_before2|}}}
| seats_before3 = {{{seats_before3|}}}
| seats_needed1 = {{{seats_needed1|}}}
| seats_needed2 = {{{seats_needed2|}}}
| seats_needed3 = {{{seats_needed3|}}}
| seats1 = {{{seats1|}}}
| seats2 = {{{seats2|}}}
| seats3 = {{{seats3|}}}
| seats_after1 = {{{seats_after1|}}}
| seats_after2 = {{{seats_after2|}}}
| seats_after3 = {{{seats_after3|}}}
| seat_change1 = {{{seat_change1|}}}
| seat_change2 = {{{seat_change2|}}}
| seat_change3 = {{{seat_change3|}}}
| vote_type = {{{vote_type|民選}}}
| popular_vote1 = {{{popular_vote1|}}}
| popular_vote2 = {{{popular_vote2|}}}
| popular_vote3 = {{{popular_vote3|}}}
| percentage1 = {{{percentage1|}}}
| percentage2 = {{{percentage2|}}}
| percentage3 = {{{percentage3|}}}
| counties_won1 = {{{counties_won1|}}}
| counties_won2 = {{{counties_won2|}}}
| counties_won3 = {{{counties_won3|}}}
| counties_threshold1 = {{{counties_threshold1|}}}
| counties_threshold2 = {{{counties_threshold2|}}}
| counties_threshold3 = {{{counties_threshold3|}}}
| swing1 = {{{swing1|}}}
| swing2 = {{{swing2|}}}
| swing3 = {{{swing3|}}}
| opinion_polls = {{{opinion_polls|}}}
| poll1_date = {{if empty|{{{poll1_date1|}}}|{{{poll1_date|}}}}}
| poll1_source = {{if empty|{{{poll1_source1|}}}|{{{poll1_source|}}}}}
| poll1_person1 = {{if empty|{{{poll1_nominee1|}}}|{{{poll1_candidate1|}}}}}
| poll1_person2 = {{if empty|{{{poll1_nominee2|}}}|{{{poll1_candidate2|}}}}}
| poll1_person3 = {{if empty|{{{poll1_nominee3|}}}|{{{poll1_candidate3|}}}}}
| poll2_date = {{if empty|{{{poll2_date1|}}}|{{{poll2_date|}}}}}
| poll2_source = {{if empty|{{{poll2_source1|}}}|{{{poll2_source|}}}}}
| poll2_person1 = {{if empty|{{{poll2_nominee1|}}}|{{{poll2_candidate1|}}}}}
| poll2_person2 = {{if empty|{{{poll2_nominee2|}}}|{{{poll2_candidate2|}}}}}
| poll2_person3 = {{if empty|{{{poll2_nominee3|}}}|{{{poll2_candidate3|}}}}}
| poll3_date = {{if empty|{{{poll3_date1|}}}|{{{poll3_date|}}}}}
| poll3_source = {{if empty|{{{poll3_source1|}}}|{{{poll3_source|}}}}}
| poll3_person1 = {{if empty|{{{poll3_nominee1|}}}|{{{poll3_candidate1|}}}}}
| poll3_person2 = {{if empty|{{{poll3_nominee2|}}}|{{{poll3_candidate2|}}}}}
| poll3_person3 = {{if empty|{{{poll3_nominee3|}}}|{{{poll3_candidate3|}}}}}
| poll4_date = {{if empty|{{{poll4_date1|}}}|{{{poll4_date|}}}}}
| poll4_source = {{if empty|{{{poll4_source1|}}}|{{{poll4_source|}}}}}
| poll4_person1 = {{if empty|{{{poll4_nominee1|}}}|{{{poll4_candidate1|}}}}}
| poll4_person2 = {{if empty|{{{poll4_nominee2|}}}|{{{poll4_candidate2|}}}}}
| poll4_person3 = {{if empty|{{{poll4_nominee3|}}}|{{{poll4_candidate3|}}}}}
| poll5_date = {{if empty|{{{poll5_date1|}}}|{{{poll5_date|}}}}}
| poll5_source = {{if empty|{{{poll5_source1|}}}|{{{poll5_source|}}}}}
| poll5_person1 = {{if empty|{{{poll5_nominee1|}}}|{{{poll5_candidate1|}}}}}
| poll5_person2 = {{if empty|{{{poll5_nominee2|}}}|{{{poll5_candidate2|}}}}}
| poll5_person3 = {{if empty|{{{poll5_nominee3|}}}|{{{poll5_candidate3|}}}}}
| poll1_party1 = {{{poll1_party1|}}}| poll1_party2 = {{{poll1_party2|}}}| poll1_party3 = {{{poll1_party3|}}}
| poll2_party1 = {{{poll2_party1|}}}| poll2_party2 = {{{poll2_party2|}}}| poll2_party3 = {{{poll2_party3|}}}
| poll3_party1 = {{{poll3_party1|}}}| poll3_party2 = {{{poll3_party2|}}}| poll3_party3 = {{{poll3_party3|}}}
| poll4_party1 = {{{poll4_party1|}}}| poll4_party2 = {{{poll4_party2|}}}| poll4_party3 = {{{poll4_party3|}}}
| poll5_party1 = {{{poll5_party1|}}}| poll5_party2 = {{{poll5_party2|}}}| poll5_party3 = {{{poll5_party3|}}}

| 1blank = {{{1blank|}}}| 1data1 = {{{1data1|}}}| 1data2 = {{{1data2|}}}| 1data3 = {{{1data3|}}}
| 2blank = {{{2blank|}}}| 2data1 = {{{2data1|}}}| 2data2 = {{{2data2|}}}| 2data3 = {{{2data3|}}}
| 3blank = {{{3blank|}}}| 3data1 = {{{3data1|}}}| 3data2 = {{{3data2|}}}| 3data3 = {{{3data3|}}}
| 4blank = {{{4blank|}}}| 4data1 = {{{4data1|}}}| 4data2 = {{{4data2|}}}| 4data3 = {{{4data3|}}}
| 5blank = {{{5blank|}}}| 5data1 = {{{5data1|}}}| 5data2 = {{{5data2|}}}| 5data3 = {{{5data3|}}}
| 6blank = {{{6blank|}}}| 6data1 = {{{6data1|}}}| 6data2 = {{{6data2|}}}| 6data3 = {{{6data3|}}}
}}
{{!}}-
{{Infobox election/row
| type = {{{type|}}}
| divider = <hr />
| col3 = {{#if:{{{color6|}}}{{{colour6|}}}{{{image6|}}}{{{nominee6|}}}{{{candidate6|}}}{{{leader6|}}}{{{party6|}}}{{{alliance6|}}}{{{home_state6|}}}{{{running_mate6|}}}{{{electoral_vote6|}}}{{{delegate_count6|}}}{{{states_carried6|}}}{{{leader_since6|}}}{{{leaders_seat6|}}}{{{last_election6|}}}{{{seats_before6|}}}{{{seats_needed6|}}}{{{seats6|}}}{{{seats_after6|}}}{{{seat_change6|}}}{{{popular_vote6|}}}{{{percentage6|}}}{{{swing6|}}}{{{poll1_nominee6|}}}{{{poll1_candidate6|}}}{{{poll2_nominee6|}}}{{{poll2_candidate6|}}}{{{poll3_nominee6|}}}{{{poll3_candidate6|}}}{{{poll4_nominee6|}}}{{{poll4_candidate6|}}}{{{poll5_nominee6|}}}{{{poll5_candidate6|}}}{{{poll1_party6|}}}{{{poll2_party6|}}}{{{poll3_party6|}}}{{{poll4_party6|}}}{{{poll5_party6|}}}{{{1data6|}}}{{{2data6|}}}{{{3data6|}}}{{{4data6|}}}{{{5data6|}}}{{{6data6|}}}|yes}}
| ongoing = {{{ongoing|no}}}
| header1 = {{#if:{{{party3|}}}|第四大黨|第三大黨}}
| header2 = {{#if:{{{party3|}}}|第五大黨|第四大黨}}
| header3 = {{#if:{{{party3|}}}|第六大黨|第五大黨}}
| party_color = {{if empty| {{{party_colour|}}} | {{{party_color|}}} | yes }}
| color1 = {{if empty| {{{color4|}}} | {{{colour4|}}} }}
| color2 = {{if empty| {{{color5|}}} | {{{colour5|}}} }}
| color3 = {{if empty| {{{color6|}}} | {{{colour6|}}} }}
| image_size = {{{image_size|}}}
| image_upright = {{{image_upright|}}}
| image1 = {{{image4|}}}
| image1_size = {{{image4_size|}}}
| image1_upright = {{{image4_upright|}}}
| image2 = {{{image5|}}}
| image2_size = {{{image5_size|}}}
| image2_upright = {{{image5_upright|}}}
| image3 = {{{image6|}}}
| image3_size = {{{image6_size|}}}
| image3_upright = {{{image6_upright|}}}
| nominee1 = {{{nominee4|}}}
| nominee2 = {{{nominee5|}}}
| nominee3 = {{{nominee6|}}}
| candidate1 = {{{candidate4|}}}
| candidate2 = {{{candidate5|}}}
| candidate3 = {{{candidate6|}}}
| leader1 = {{{leader4|}}}
| leader2 = {{{leader5|}}}
| leader3 = {{{leader6|}}}
| party_name = {{{party_name}}}
| party1 = {{{party4|}}}
| party2 = {{{party5|}}}
| party3 = {{{party6|}}}
| alliance_name = {{{alliance_name}}}
| alliance1 = {{{alliance4|}}}
| alliance2 = {{{alliance5|}}}
| alliance3 = {{{alliance6|}}}
| home_state1 = {{{home_state4|}}}
| home_state2 = {{{home_state5|}}}
| home_state3 = {{{home_state6|}}}
| running_mate1 = {{{running_mate4|}}}
| running_mate2 = {{{running_mate5|}}}
| running_mate3 = {{{running_mate6|}}}
| college_voted = {{{college_voted|}}}
| electoral_vote1 = {{{electoral_vote4|}}}
| electoral_vote2 = {{{electoral_vote5|}}}
| electoral_vote3 = {{{electoral_vote6|}}}
| delegate_count1 = {{{delegate_count4|}}}
| delegate_count2 = {{{delegate_count5|}}}
| delegate_count3 = {{{delegate_count6|}}}
| states_carried1 = {{{states_carried4|}}}
| states_carried2 = {{{states_carried5|}}}
| states_carried3 = {{{states_carried6|}}}
| leader_since1 = {{{leader_since4|}}}
| leader_since2 = {{{leader_since5|}}}
| leader_since3 = {{{leader_since6|}}}
| leaders_seat1 = {{{leaders_seat4|}}}
| leaders_seat2 = {{{leaders_seat5|}}}
| leaders_seat3 = {{{leaders_seat6|}}}
| last_election1 = {{{last_election4|}}}
| last_election2 = {{{last_election5|}}}
| last_election3 = {{{last_election6|}}}
| seats_before1 = {{{seats_before4|}}}
| seats_before2 = {{{seats_before5|}}}
| seats_before3 = {{{seats_before6|}}}
| seats_needed1 = {{{seats_needed4|}}}
| seats_needed2 = {{{seats_needed5|}}}
| seats_needed3 = {{{seats_needed6|}}}
| seats1 = {{{seats4|}}}
| seats2 = {{{seats5|}}}
| seats3 = {{{seats6|}}}
| seats_after1 = {{{seats_after4|}}}
| seats_after2 = {{{seats_after5|}}}
| seats_after3 = {{{seats_after6|}}}
| seat_change1 = {{{seat_change4|}}}
| seat_change2 = {{{seat_change5|}}}
| seat_change3 = {{{seat_change6|}}}
| vote_type = {{{vote_type|民選}}}
| popular_vote1 = {{{popular_vote4|}}}
| popular_vote2 = {{{popular_vote5|}}}
| popular_vote3 = {{{popular_vote6|}}}
| percentage1 = {{{percentage4|}}}
| percentage2 = {{{percentage5|}}}
| percentage3 = {{{percentage6|}}}
| swing1 = {{{swing4|}}}
| swing2 = {{{swing5|}}}
| swing3 = {{{swing6|}}}
| opinion_polls = {{{opinion_polls|}}}
| poll1_date = {{if empty|{{{poll1_date2|}}}|{{{poll1_date|}}}}}
| poll1_source = {{if empty|{{{poll1_source2|}}}|{{{poll1_source|}}}}}
| poll1_person1 = {{if empty|{{{poll1_nominee4|}}}|{{{poll1_candidate4|}}}}}
| poll1_person2 = {{if empty|{{{poll1_nominee5|}}}|{{{poll1_candidate5|}}}}}
| poll1_person3 = {{if empty|{{{poll1_nominee6|}}}|{{{poll1_candidate6|}}}}}
| poll2_date = {{if empty|{{{poll2_date2|}}}|{{{poll2_date|}}}}}
| poll2_source = {{if empty|{{{poll2_source2|}}}|{{{poll2_source|}}}}}
| poll2_person1 = {{if empty|{{{poll2_nominee4|}}}|{{{poll2_candidate4|}}}}}
| poll2_person2 = {{if empty|{{{poll2_nominee5|}}}|{{{poll2_candidate5|}}}}}
| poll2_person3 = {{if empty|{{{poll2_nominee6|}}}|{{{poll2_candidate6|}}}}}
| poll3_date = {{if empty|{{{poll3_date2|}}}|{{{poll3_date|}}}}}
| poll3_source = {{if empty|{{{poll3_source2|}}}|{{{poll3_source|}}}}}
| poll3_person1 = {{if empty|{{{poll3_nominee4|}}}|{{{poll3_candidate4|}}}}}
| poll3_person2 = {{if empty|{{{poll3_nominee5|}}}|{{{poll3_candidate5|}}}}}
| poll3_person3 = {{if empty|{{{poll3_nominee6|}}}|{{{poll3_candidate6|}}}}}
| poll4_date = {{if empty|{{{poll4_date2|}}}|{{{poll4_date|}}}}}
| poll4_source = {{if empty|{{{poll4_source2|}}}|{{{poll4_source|}}}}}
| poll4_person1 = {{if empty|{{{poll4_nominee4|}}}|{{{poll4_candidate4|}}}}}
| poll4_person2 = {{if empty|{{{poll4_nominee5|}}}|{{{poll4_candidate5|}}}}}
| poll4_person3 = {{if empty|{{{poll4_nominee6|}}}|{{{poll4_candidate6|}}}}}
| poll5_date = {{if empty|{{{poll5_date2|}}}|{{{poll5_date|}}}}}
| poll5_source = {{if empty|{{{poll5_source2|}}}|{{{poll5_source|}}}}}
| poll5_person1 = {{if empty|{{{poll5_nominee4|}}}|{{{poll5_candidate4|}}}}}
| poll5_person2 = {{if empty|{{{poll5_nominee5|}}}|{{{poll5_candidate5|}}}}}
| poll5_person3 = {{if empty|{{{poll5_nominee6|}}}|{{{poll5_candidate6|}}}}}
| poll1_party1 = {{{poll1_party4|}}}| poll1_party2 = {{{poll1_party5|}}}| poll1_party3 = {{{poll1_party6|}}}
| poll2_party1 = {{{poll2_party4|}}}| poll2_party2 = {{{poll2_party5|}}}| poll2_party3 = {{{poll2_party6|}}}
| poll3_party1 = {{{poll3_party4|}}}| poll3_party2 = {{{poll3_party5|}}}| poll3_party3 = {{{poll3_party6|}}}
| poll4_party1 = {{{poll4_party4|}}}| poll4_party2 = {{{poll4_party5|}}}| poll4_party3 = {{{poll4_party6|}}}
| poll5_party1 = {{{poll5_party4|}}}| poll5_party2 = {{{poll5_party5|}}}| poll5_party3 = {{{poll5_party6|}}}

| 1blank = {{{1blank|}}}| 1data1 = {{{1data4|}}}| 1data2 = {{{1data5|}}}| 1data3 = {{{1data6|}}}
| 2blank = {{{2blank|}}}| 2data1 = {{{2data4|}}}| 2data2 = {{{2data5|}}}| 2data3 = {{{2data6|}}}
| 3blank = {{{3blank|}}}| 3data1 = {{{3data4|}}}| 3data2 = {{{3data5|}}}| 3data3 = {{{3data6|}}}
| 4blank = {{{4blank|}}}| 4data1 = {{{4data4|}}}| 4data2 = {{{4data5|}}}| 4data3 = {{{4data6|}}}
| 5blank = {{{5blank|}}}| 5data1 = {{{5data4|}}}| 5data2 = {{{5data5|}}}| 5data3 = {{{5data6|}}}
| 6blank = {{{6blank|}}}| 6data1 = {{{6data4|}}}| 6data2 = {{{6data5|}}}| 6data3 = {{{6data6|}}}
}}
{{!}}-
{{Infobox election/row
| type = {{{type|}}}
| divider = <hr />
| ongoing = {{{ongoing|no}}}
| col3 = {{#if:{{{color9|}}}{{{colour9|}}}{{{image9|}}}{{{nominee9|}}}{{{candidate9|}}}{{{leader9|}}}{{{party9|}}}{{{alliance9|}}}{{{home_state9|}}}{{{running_mate9|}}}{{{electoral_vote9|}}}{{{delegate_count9|}}}{{{states_carried9|}}}{{{leader_since9|}}}{{{leaders_seat9|}}}{{{last_election9|}}}{{{seats_before9|}}}{{{seats_needed9|}}}{{{seats9|}}}{{{seats_after9|}}}{{{seat_change9|}}}{{{popular_vote9|}}}{{{percentage9|}}}{{{counties_won9|}}}{{{counties_threshold9|}}}{{{swing9|}}}{{{poll1_nominee9|}}}{{{poll1_candidate9|}}}{{{poll2_nominee9|}}}{{{poll2_candidate9|}}}{{{poll3_nominee9|}}}{{{poll3_candidate9|}}}{{{poll4_nominee9|}}}{{{poll4_candidate9|}}}{{{poll5_nominee9|}}}{{{poll5_candidate9|}}}{{{poll1_party9|}}}{{{poll2_party9|}}}{{{poll3_party9|}}}{{{poll4_party9|}}}{{{poll5_party9|}}}{{{1data9|}}}{{{2data9|}}}{{{3data9|}}}{{{4data9|}}}{{{5data9|}}}{{{6data9|}}}|yes}}
| header1 = {{#switch:{{#expr:{{#if:{{{party3|}}}|1|0}}+{{#if:{{{party6|}}}|1|0}}}}|0=第五大黨|1=第六大黨|2=第七大黨}}
| header2 = {{#switch:{{#expr:{{#if:{{{party3|}}}|1|0}}+{{#if:{{{party6|}}}|1|0}}}}|0=第六大黨|1=第七大黨|2=第八大黨}}
| header3 = {{#switch:{{#expr:{{#if:{{{party3|}}}|1|0}}+{{#if:{{{party6|}}}|1|0}}}}|0=第七大黨|1=第八大黨|2=第九大黨}}
| party_color = {{if empty| {{{party_colour|}}} | {{{party_color|}}} | yes }}
| color1 = {{if empty| {{{color7|}}} | {{{colour7|}}} }}
| color2 = {{if empty| {{{color8|}}} | {{{colour8|}}} }}
| color3 = {{if empty| {{{color9|}}} | {{{colour9|}}} }}
| image_size = {{{image_size|}}}
| image_upright = {{{image_upright|}}}
| image1 = {{{image7|}}}
| image1_size = {{{image7_size|}}}
| image1_upright = {{{image7_upright|}}}
| image2 = {{{image8|}}}
| image2_size = {{{image8_size|}}}
| image2_upright = {{{image8_upright|}}}
| image3 = {{{image9|}}}
| image3_size = {{{image9_size|}}}
| image3_upright = {{{image9_upright|}}}
| nominee1 = {{{nominee7|}}}
| nominee2 = {{{nominee8|}}}
| nominee3 = {{{nominee9|}}}
| candidate1 = {{{candidate7|}}}
| candidate2 = {{{candidate8|}}}
| candidate3 = {{{candidate9|}}}
| leader1 = {{{leader7|}}}
| leader2 = {{{leader8|}}}
| leader3 = {{{leader9|}}}
| party_name = {{{party_name}}}
| party1 = {{{party7|}}}
| party2 = {{{party8|}}}
| party3 = {{{party9|}}}
| alliance_name = {{{alliance_name}}}
| alliance1 = {{{alliance7|}}}
| alliance2 = {{{alliance8|}}}
| alliance3 = {{{alliance9|}}}
| home_state1 = {{{home_state7|}}}
| home_state2 = {{{home_state8|}}}
| home_state3 = {{{home_state9|}}}
| running_mate1 = {{{running_mate7|}}}
| running_mate2 = {{{running_mate8|}}}
| running_mate3 = {{{running_mate9|}}}
| college_voted = {{{college_voted|}}}
| electoral_vote1 = {{{electoral_vote7|}}}
| electoral_vote2 = {{{electoral_vote8|}}}
| electoral_vote3 = {{{electoral_vote9|}}}
| delegate_count1 = {{{delegate_count7|}}}
| delegate_count2 = {{{delegate_count8|}}}
| delegate_count3 = {{{delegate_count9|}}}
| states_carried1 = {{{states_carried7|}}}
| states_carried2 = {{{states_carried8|}}}
| states_carried3 = {{{states_carried9|}}}
| leader_since1 = {{{leader_since7|}}}
| leader_since2 = {{{leader_since8|}}}
| leader_since3 = {{{leader_since9|}}}
| leaders_seat1 = {{{leaders_seat7|}}}
| leaders_seat2 = {{{leaders_seat8|}}}
| leaders_seat3 = {{{leaders_seat9|}}}
| last_election1 = {{{last_election7|}}}
| last_election2 = {{{last_election8|}}}
| last_election3 = {{{last_election9|}}}
| seats_before1 = {{{seats_before7|}}}
| seats_before2 = {{{seats_before8|}}}
| seats_before3 = {{{seats_before9|}}}
| seats_needed1 = {{{seats_needed7|}}}
| seats_needed2 = {{{seats_needed8|}}}
| seats_needed3 = {{{seats_needed9|}}}
| seats1 = {{{seats7|}}}
| seats2 = {{{seats8|}}}
| seats3 = {{{seats9|}}}
| seats_after1 = {{{seats_after7|}}}
| seats_after2 = {{{seats_after8|}}}
| seats_after3 = {{{seats_after9|}}}
| seat_change1 = {{{seat_change7|}}}
| seat_change2 = {{{seat_change8|}}}
| seat_change3 = {{{seat_change9|}}}
| vote_type = {{{vote_type|民選}}}
| popular_vote1 = {{{popular_vote7|}}}
| popular_vote2 = {{{popular_vote8|}}}
| popular_vote3 = {{{popular_vote9|}}}
| percentage1 = {{{percentage7|}}}
| percentage2 = {{{percentage8|}}}
| percentage3 = {{{percentage9|}}}
| swing1 = {{{swing7|}}}
| swing2 = {{{swing8|}}}
| swing3 = {{{swing9|}}}
| 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_nominee7|}}}|{{{poll1_candidate7|}}}}}
| poll1_person2 = {{if empty|{{{poll1_nominee8|}}}|{{{poll1_candidate8|}}}}}
| poll1_person3 = {{if empty|{{{poll1_nominee9|}}}|{{{poll1_candidate9|}}}}}
| poll2_date = {{if empty|{{{poll2_date3|}}}|{{{poll2_date|}}}}}
| poll2_source = {{if empty|{{{poll2_source3|}}}|{{{poll2_source|}}}}}
| poll2_person1 = {{if empty|{{{poll2_nominee7|}}}|{{{poll2_candidate7|}}}}}
| poll2_person2 = {{if empty|{{{poll2_nominee8|}}}|{{{poll2_candidate8|}}}}}
| poll2_person3 = {{if empty|{{{poll2_nominee9|}}}|{{{poll2_candidate9|}}}}}
| poll3_date = {{if empty|{{{poll3_date3|}}}|{{{poll3_date|}}}}}
| poll3_source = {{if empty|{{{poll3_source3|}}}|{{{poll3_source|}}}}}
| poll3_person1 = {{if empty|{{{poll3_nominee7|}}}|{{{poll3_candidate7|}}}}}
| poll3_person2 = {{if empty|{{{poll3_nominee8|}}}|{{{poll3_candidate8|}}}}}
| poll3_person3 = {{if empty|{{{poll3_nominee9|}}}|{{{poll3_candidate9|}}}}}
| poll4_date = {{if empty|{{{poll4_date3|}}}|{{{poll4_date|}}}}}
| poll4_source = {{if empty|{{{poll4_source3|}}}|{{{poll4_source|}}}}}
| poll4_person1 = {{if empty|{{{poll4_nominee7|}}}|{{{poll4_candidate7|}}}}}
| poll4_person2 = {{if empty|{{{poll4_nominee8|}}}|{{{poll4_candidate8|}}}}}
| poll4_person3 = {{if empty|{{{poll4_nominee9|}}}|{{{poll4_candidate9|}}}}}
| poll5_date = {{if empty|{{{poll5_date3|}}}|{{{poll5_date|}}}}}
| poll5_source = {{if empty|{{{poll5_source3|}}}|{{{poll5_source|}}}}}
| poll5_person1 = {{if empty|{{{poll5_nominee7|}}}|{{{poll5_candidate7|}}}}}
| poll5_person2 = {{if empty|{{{poll5_nominee8|}}}|{{{poll5_candidate8|}}}}}
| poll5_person3 = {{if empty|{{{poll5_nominee9|}}}|{{{poll5_candidate9|}}}}}
| poll1_party1 = {{{poll1_party7|}}}| poll1_party2 = {{{poll1_party8|}}}| poll1_party3 = {{{poll1_party9|}}}
| poll2_party1 = {{{poll2_party7|}}}| poll2_party2 = {{{poll2_party8|}}}| poll2_party3 = {{{poll2_party9|}}}
| poll3_party1 = {{{poll3_party7|}}}| poll3_party2 = {{{poll3_party8|}}}| poll3_party3 = {{{poll3_party9|}}}
| poll4_party1 = {{{poll4_party7|}}}| poll4_party2 = {{{poll4_party8|}}}| poll4_party3 = {{{poll4_party9|}}}
| poll5_party1 = {{{poll5_party7|}}}| poll5_party2 = {{{poll5_party8|}}}| poll5_party3 = {{{poll5_party9|}}}

| 1blank = {{{1blank|}}}| 1data1 = {{{1data7|}}}| 1data2 = {{{1data8|}}}| 1data3 = {{{1data9|}}}
| 2blank = {{{2blank|}}}| 2data1 = {{{2data7|}}}| 2data2 = {{{2data8|}}}| 2data3 = {{{2data9|}}}
| 3blank = {{{3blank|}}}| 3data1 = {{{3data7|}}}| 3data2 = {{{3data8|}}}| 3data3 = {{{3data9|}}}
| 4blank = {{{4blank|}}}| 4data1 = {{{4data7|}}}| 4data2 = {{{4data8|}}}| 4data3 = {{{4data9|}}}
| 5blank = {{{5blank|}}}| 5data1 = {{{5data7|}}}| 5data2 = {{{5data8|}}}| 5data3 = {{{5data9|}}}
| 6blank = {{{6blank|}}}| 6data1 = {{{6data7|}}}| 6data2 = {{{6data8|}}}| 6data3 = {{{6data9|}}}
}}
{{!)}}
| data11 =
{{#if:{{{map_image|}}}{{{map|}}}|<hr />{{#if:{{{map_image|}}}
|{{#invoke:InfoboxImage|InfoboxImage|image={{{map_image}}}|size={{{map_size|}}}|sizedefault=300px|alt={{{map_alt|}}}}}
|{{{map}}}
}}{{#if:{{{map_caption|}}}|<div>{{{map_caption|}}}</div>}}
}}
| data12 =
{{#if:{{{map2_image|}}}{{{map2|}}}|<hr />{{#if:{{{map2_image|}}}
|{{#invoke:InfoboxImage|InfoboxImage|image={{{map2_image}}}|size={{{map2_size|}}}|sizedefault=300px|alt={{{map2_alt|}}}}}
|{{{map2}}}
}}{{#if:{{{map2_caption|}}}|<div>{{{map2_caption|}}}</div>}}
}}
|data13 =
{{#if:{{{map3_image|}}}{{{map3|}}}|<hr />{{#if:{{{map3_image|}}}
|{{#invoke:InfoboxImage|InfoboxImage|image={{{map3_image}}}|size={{{map3_size|}}}|sizedefault=300px|alt={{{map3_alt|}}}}}
|{{{map3}}}
}}{{#if:{{{map3_caption|}}}|<div>{{{map3_caption|}}}</div>}}
}}
|data14 =
{{#if:{{{map4_image|}}}{{{map4|}}}|<hr />{{#if:{{{map4_image|}}}
|{{#invoke:InfoboxImage|InfoboxImage|image={{{map4_image}}}|size={{{map4_size|}}}|sizedefault=300px|alt={{{map4_alt|}}}}}
|{{{map4}}}
}}{{#if:{{{map4_caption|}}}|<div>{{{map4_caption|}}}</div>}}
}}
| data15 = {{#if:{{{title|}}}|<hr />
{{{!}} cellspacing="0" cellpadding="0" style="background:transparent; width:100%;"
{{!}} style="width:50%; text-align:left; text-size: 80%" {{!}}'''{{#if:{{{before_election|}}}{{{before_party|}}}|{{#ifeq:{{{type}}}|原|前{{{title}}}|{{#ifeq:{{{ongoing|no}}}|yes|現任{{#ifeq:{{{title}}}|美国参议员|[[{{{country}}}联邦参议员列表|{{{title}}}]]|{{{title}}}}}|选前{{#ifeq:{{{title}}}|美国参议员|[[{{{country}}}联邦参议员列表|{{{title}}}]]|{{{title}}}}}}}}}'''<br />
{{{before_election}}}<br />
{{#if:{{{before_party|}}}|{{Infobox election/shortname|link={{{party_name}}}|name={{{before_party}}}}} }} }}
{{!}} style="width:50%; text-align:right; text-size: 80%" {{!}} {{#ifeq:{{{ongoing|no}}}|yes|{{#ifeq:{{{type}}}|原|{{#if:{{{after_election|}}}|'''推定{{#if:{{{posttitle|}}}|{{{posttitle}}}|{{{title}}}'''}}|}}|}} |'''{{#if:{{{posttitle|}}}|{{{posttitle}}}|{{#ifeq:{{{type}}}|原||當選}}{{{title}}}}}'''}} <br />
{{#ifeq:{{{ongoing|no}}}|yes|{{#ifeq:{{{type}}}|原|{{#if:{{{after_election|}}}|{{{after_election}}}|}}}}}}
{{#ifeq:{{{ongoing|no}}}|yes||{{#if:{{{after_election|}}}|{{{after_election}}}|}}{{#if:{{{after_election|}}}{{{after_party|}}}|| }}<br />
{{#if:{{{after_party|}}}|{{Infobox election/shortname|link={{{party_name}}}|name={{{after_party}}}}}}} }}
{{!}}} }}
{{#if:{{{template_name|}}}|{{align|right|{{navbar|{{{template_name}}}|mini=2}}}} }}
| data16 = {{{module|}}}
}}</includeonly><noinclude>{{Documentation}}<!-- Add categories to the /doc subpage, not here! --></noinclude>{{#if:{{{electoral_vote1|}}}|[[Category:Infobox election使用electoral votes參數的條目]]}}<!-- temporary tracking of elections using an electoral college -->

於 2023年2月8日 (三) 13:36 的修訂