Template:Infobox election: Difference between revisions
From Chalo Chatu, Zambia online encyclopedia
Jump to navigationJump to search
m 1 revision imported |
Chalochatu (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
| child = {{{child|{{{embed|}}}}}} | | child = {{{child|{{{embed|}}}}}} | ||
| bodyclass = {{#if:{{{election_date|}}}|vevent|}} | | bodyclass = {{#if:{{{election_date|}}}|vevent|}} | ||
| bodystyle = line-height: 1.5em; {{#if: | | bodystyle = line-height: 1.5em; {{#if:{{{map_image|}}}{{{map|}}}{{{map2_image|}}}{{{map2|}}}{{{map3_image|}}}{{{map3|}}}{{{map4_image|}}}{{{map4|}}}|width:{{{map_size|{{{map2_size|{{{map3_size|{{{map4_size|300px}}}}}}}}}}}};}} | ||
}} | |||
| titleclass = summary | | titleclass = summary | ||
| titlestyle = font-size: 125%; | | titlestyle = font-size: 125%; | ||
Line 44: | Line 37: | ||
| Primary | | Primary | ||
| presidential | | presidential | ||
| Presidential = {{#if:{{{votes_for_election|}}}|<hr />{{{votes_for_election}}}{{#if:{{{needed_votes|}}}|<br />{{{needed_votes}}} votes needed to win}} | | Presidential = {{#if:{{{votes_for_election|}}}|<hr />{{{votes_for_election}}}{{#if:{{{needed_votes|}}}|<br />{{{needed_votes}}} votes needed to win}}}} | ||
}} | |||
| parliamentary | | parliamentary | ||
| Parliamentary | | Parliamentary | ||
Line 51: | Line 43: | ||
| Legislative | | Legislative | ||
| by-election | | by-election | ||
| By-election = {{#if:{{{seats_for_election|}}}|<hr />{{{seats_for_election}}}{{#if:{{{majority_seats|}}}|<br />{{{majority_seats}}} seats needed for a majority}} | | By-election = {{#if:{{{seats_for_election|}}}|<hr />{{{seats_for_election}}}{{#if:{{{majority_seats|}}}|<br />{{{majority_seats}}} seats needed for a majority}}}} | ||
}} | |||
| #default = | | #default = | ||
}} | }} | ||
Line 64: | Line 55: | ||
| label5 = Votes counted | | label5 = Votes counted | ||
| data5 = {{#if:{{{votes_counted|}}} | | data5 = {{#if:{{{votes_counted|}}}|{{Percentage bar|{{{votes_counted}}}|{{{votes_counted}}}%|1BCE0E}} as of '''{{{last_update}}} {{{time_zone}}}''' }} | ||
| label6 = Reporting | | label6 = Reporting | ||
| data6 = {{#if:{{{reporting|}}} | | data6 = {{#if:{{{reporting|}}}|{{Percentage bar|{{{reporting}}}|{{{reporting}}}%|1BCE0E}} as of '''{{{last_update}}} {{{time_zone}}}''' }} | ||
| label7 = Declared | | label7 = Declared | ||
| data7 = {{#if:{{{declared|}}} | | data7 = {{#if:{{{declared|}}}|{{Percentage bar|{{{declared}}}|{{{declared}}}%|1BCE0E}} as of '''{{{last_update}}} {{{time_zone}}}''' }} | ||
| data10 = <nowiki /> | | data10 = <nowiki /> | ||
Line 83: | Line 74: | ||
| header2 = {{#switch:{{{type|}}}|parliamentary|Parliamentary=Second party|#default=Minority party}} | | header2 = {{#switch:{{{type|}}}|parliamentary|Parliamentary=Second party|#default=Minority party}} | ||
| header3 = {{#switch:{{{type|}}}|parliamentary|Parliamentary=Third party|#default=Third party}} | | header3 = {{#switch:{{{type|}}}|parliamentary|Parliamentary=Third party|#default=Third party}} | ||
| party_color = {{if | | party_color = {{#if:{{{party_colour|}}}|{{{party_colour}}}|{{{party_color|}}}}} | ||
| color1 = {{if | | color1 = {{#if:{{{color1|}}}|{{{color1}}}|{{{colour1|}}}}} | ||
| color2 = {{if | | color2 = {{#if:{{{color2|}}}|{{{color2}}}|{{{colour2|}}}}} | ||
| color3 = {{if | | color3 = {{#if:{{{color3|}}}|{{{color3}}}|{{{colour3|}}}}} | ||
| image_size = {{{image_size|150x150px}}} | | image_size = {{{image_size|150x150px}}} | ||
| image_upright = {{{image_upright|}}} | | image_upright = {{{image_upright|}}} | ||
Line 172: | Line 163: | ||
| swing3 = {{{swing3|}}} | | swing3 = {{{swing3|}}} | ||
| opinion_polls = {{{opinion_polls|}}} | | opinion_polls = {{{opinion_polls|}}} | ||
| poll1_date = {{if | | poll1_date = {{#if:{{{poll1_date1|}}}|{{{poll1_date1}}}|{{{poll1_date|}}}}} | ||
| poll1_source = {{if | | poll1_source = {{#if:{{{poll1_source1|}}}|{{{poll1_source1}}}|{{{poll1_source|}}}}} | ||
| poll1_person1 = {{if | | poll1_person1 = {{#if:{{{poll1_nominee1|}}}|{{{poll1_nominee1}}}|{{{poll1_candidate1|}}}}} | ||
| poll1_person2 = {{if | | poll1_person2 = {{#if:{{{poll1_nominee2|}}}|{{{poll1_nominee2}}}|{{{poll1_candidate2|}}}}} | ||
| poll1_person3 = {{if | | poll1_person3 = {{#if:{{{poll1_nominee3|}}}|{{{poll1_nominee3}}}|{{{poll1_candidate3|}}}}} | ||
| poll2_date = {{if | | poll2_date = {{#if:{{{poll2_date1|}}}|{{{poll2_date1}}}|{{{poll2_date|}}}}} | ||
| poll2_source = {{if | | poll2_source = {{#if:{{{poll2_source1|}}}|{{{poll2_source1}}}|{{{poll2_source|}}}}} | ||
| poll2_person1 = {{if | | poll2_person1 = {{#if:{{{poll2_nominee1|}}}|{{{poll2_nominee1}}}|{{{poll2_candidate1|}}}}} | ||
| poll2_person2 = {{if | | poll2_person2 = {{#if:{{{poll2_nominee2|}}}|{{{poll2_nominee2}}}|{{{poll2_candidate2|}}}}} | ||
| poll2_person3 = {{if | | poll2_person3 = {{#if:{{{poll2_nominee3|}}}|{{{poll2_nominee3}}}|{{{poll2_candidate3|}}}}} | ||
| poll3_date = {{if | | poll3_date = {{#if:{{{poll3_date1|}}}|{{{poll3_date1}}}|{{{poll3_date|}}}}} | ||
| poll3_source = {{if | | poll3_source = {{#if:{{{poll3_source1|}}}|{{{poll3_source1}}}|{{{poll3_source|}}}}} | ||
| poll3_person1 = {{if | | poll3_person1 = {{#if:{{{poll3_nominee1|}}}|{{{poll3_nominee1}}}|{{{poll3_candidate1|}}}}} | ||
| poll3_person2 = {{if | | poll3_person2 = {{#if:{{{poll3_nominee2|}}}|{{{poll3_nominee2}}}|{{{poll3_candidate2|}}}}} | ||
| poll3_person3 = {{if | | poll3_person3 = {{#if:{{{poll3_nominee3|}}}|{{{poll3_nominee3}}}|{{{poll3_candidate3|}}}}} | ||
| poll4_date = {{if | | poll4_date = {{#if:{{{poll4_date1|}}}|{{{poll4_date1}}}|{{{poll4_date|}}}}} | ||
| poll4_source = {{if | | poll4_source = {{#if:{{{poll4_source1|}}}|{{{poll4_source1}}}|{{{poll4_source|}}}}} | ||
| poll4_person1 = {{if | | poll4_person1 = {{#if:{{{poll4_nominee1|}}}|{{{poll4_nominee1}}}|{{{poll4_candidate1|}}}}} | ||
| poll4_person2 = {{if | | poll4_person2 = {{#if:{{{poll4_nominee2|}}}|{{{poll4_nominee2}}}|{{{poll4_candidate2|}}}}} | ||
| poll4_person3 = {{if | | poll4_person3 = {{#if:{{{poll4_nominee3|}}}|{{{poll4_nominee3}}}|{{{poll4_candidate3|}}}}} | ||
| | | poll5_date = {{#if:{{{poll5_date1|}}}|{{{poll5_date1}}}|{{{poll5_date|}}}}} | ||
| | | poll5_source = {{#if:{{{poll5_source1|}}}|{{{poll5_source1}}}|{{{poll5_source|}}}}} | ||
| poll5_person1 = {{#if:{{{poll5_nominee1|}}}|{{{poll5_nominee1}}}|{{{poll5_candidate1|}}}}} | |||
| | | poll5_person2 = {{#if:{{{poll5_nominee2|}}}|{{{poll5_nominee2}}}|{{{poll5_candidate2|}}}}} | ||
| poll5_person3 = {{#if:{{{poll5_nominee3|}}}|{{{poll5_nominee3}}}|{{{poll5_candidate3|}}}}} | |||
| | |||
| | |||
| | |||
| 1blank = {{{1blank|}}}| 1data1 = {{{1data1|}}}| 1data2 = {{{1data2|}}}| 1data3 = {{{1data3|}}} | | 1blank = {{{1blank|}}}| 1data1 = {{{1data1|}}}| 1data2 = {{{1data2|}}}| 1data3 = {{{1data3|}}} | ||
Line 219: | Line 205: | ||
| header2 = {{#if:{{{party3|}}}|Fifth party|Fourth party}} | | header2 = {{#if:{{{party3|}}}|Fifth party|Fourth party}} | ||
| header3 = {{#if:{{{party3|}}}|Sixth party|Fifth party}} | | header3 = {{#if:{{{party3|}}}|Sixth party|Fifth party}} | ||
| party_color = {{if | | party_color = {{#if:{{{party_colour|}}}|{{{party_colour}}}|{{{party_color|}}}}} | ||
| color1 = {{if | | color1 = {{#if:{{{color4|}}}|{{{color4}}}|{{{colour4|}}}}} | ||
| color2 = {{if | | color2 = {{#if:{{{color5|}}}|{{{color5}}}|{{{colour5|}}}}} | ||
| color3 = {{if | | color3 = {{#if:{{{color6|}}}|{{{color6}}}|{{{colour6|}}}}} | ||
| image_size = {{{image_size|150x150px}}} | | image_size = {{{image_size|150x150px}}} | ||
| image_upright = {{{image_upright|}}} | | image_upright = {{{image_upright|}}} | ||
Line 302: | Line 288: | ||
| swing3 = {{{swing6|}}} | | swing3 = {{{swing6|}}} | ||
| opinion_polls = {{{opinion_polls|}}} | | opinion_polls = {{{opinion_polls|}}} | ||
| poll1_date = {{if | | poll1_date = {{#if:{{{poll1_date2|}}}|{{{poll1_date2}}}|{{{poll1_date|}}}}} | ||
| poll1_source = {{if | | poll1_source = {{#if:{{{poll1_source2|}}}|{{{poll1_source2}}}|{{{poll1_source|}}}}} | ||
| poll1_person1 = {{if | | poll1_person1 = {{#if:{{{poll1_nominee4|}}}|{{{poll1_nominee4}}}|{{{poll1_candidate4|}}}}} | ||
| poll1_person2 = {{if | | poll1_person2 = {{#if:{{{poll1_nominee5|}}}|{{{poll1_nominee5}}}|{{{poll1_candidate5|}}}}} | ||
| poll1_person3 = {{if | | poll1_person3 = {{#if:{{{poll1_nominee6|}}}|{{{poll1_nominee6}}}|{{{poll1_candidate6|}}}}} | ||
| poll2_date = {{if | | poll2_date = {{#if:{{{poll2_date2|}}}|{{{poll2_date2}}}|{{{poll2_date|}}}}} | ||
| poll2_source = {{if | | poll2_source = {{#if:{{{poll2_source2|}}}|{{{poll2_source2}}}|{{{poll2_source|}}}}} | ||
| poll2_person1 = {{if | | poll2_person1 = {{#if:{{{poll2_nominee4|}}}|{{{poll2_nominee4}}}|{{{poll2_candidate4|}}}}} | ||
| poll2_person2 = {{if | | poll2_person2 = {{#if:{{{poll2_nominee5|}}}|{{{poll2_nominee5}}}|{{{poll2_candidate5|}}}}} | ||
| poll2_person3 = {{if | | poll2_person3 = {{#if:{{{poll2_nominee6|}}}|{{{poll2_nominee6}}}|{{{poll2_candidate6|}}}}} | ||
| poll3_date = {{if | | poll3_date = {{#if:{{{poll3_date2|}}}|{{{poll3_date2}}}|{{{poll3_date|}}}}} | ||
| poll3_source = {{if | | poll3_source = {{#if:{{{poll3_source2|}}}|{{{poll3_source2}}}|{{{poll3_source|}}}}} | ||
| poll3_person1 = {{if | | poll3_person1 = {{#if:{{{poll3_nominee4|}}}|{{{poll3_nominee4}}}|{{{poll3_candidate4|}}}}} | ||
| poll3_person2 = {{if | | poll3_person2 = {{#if:{{{poll3_nominee5|}}}|{{{poll3_nominee5}}}|{{{poll3_candidate5|}}}}} | ||
| poll3_person3 = {{if | | poll3_person3 = {{#if:{{{poll3_nominee6|}}}|{{{poll3_nominee6}}}|{{{poll3_candidate6|}}}}} | ||
| poll4_date = {{if | | poll4_date = {{#if:{{{poll4_date2|}}}|{{{poll4_date2}}}|{{{poll4_date|}}}}} | ||
| poll4_source = {{if | | poll4_source = {{#if:{{{poll4_source2|}}}|{{{poll4_source2}}}|{{{poll4_source|}}}}} | ||
| poll4_person1 = {{if | | poll4_person1 = {{#if:{{{poll4_nominee4|}}}|{{{poll4_nominee4}}}|{{{poll4_candidate4|}}}}} | ||
| poll4_person2 = {{if | | poll4_person2 = {{#if:{{{poll4_nominee5|}}}|{{{poll4_nominee5}}}|{{{poll4_candidate5|}}}}} | ||
| poll4_person3 = {{if | | poll4_person3 = {{#if:{{{poll4_nominee6|}}}|{{{poll4_nominee6}}}|{{{poll4_candidate6|}}}}} | ||
| | | poll5_date = {{#if:{{{poll5_date2|}}}|{{{poll5_date2}}}|{{{poll5_date|}}}}} | ||
| | | poll5_source = {{#if:{{{poll5_source2|}}}|{{{poll5_source2}}}|{{{poll5_source|}}}}} | ||
| poll5_person1 = {{#if:{{{poll5_nominee4|}}}|{{{poll5_nominee4}}}|{{{poll5_candidate4|}}}}} | |||
| | | poll5_person2 = {{#if:{{{poll5_nominee5|}}}|{{{poll5_nominee5}}}|{{{poll5_candidate5|}}}}} | ||
| poll5_person3 = {{#if:{{{poll5_nominee6|}}}|{{{poll5_nominee6}}}|{{{poll5_candidate6|}}}}} | |||
| | |||
| | |||
| | |||
| 1blank = {{{1blank|}}}| 1data1 = {{{1data4|}}}| 1data2 = {{{1data5|}}}| 1data3 = {{{1data6|}}} | | 1blank = {{{1blank|}}}| 1data1 = {{{1data4|}}}| 1data2 = {{{1data5|}}}| 1data3 = {{{1data6|}}} | ||
Line 349: | Line 330: | ||
| header2 = {{#switch:{{#expr:{{#if:{{{party3|}}}|1|0}}+{{#if:{{{party6|}}}|1|0}}}}|0=Sixth party|1=Seventh party|2=Eighth 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}} | | header3 = {{#switch:{{#expr:{{#if:{{{party3|}}}|1|0}}+{{#if:{{{party6|}}}|1|0}}}}|0=Seventh party|1=Eighth party|2=Ninth party}} | ||
| party_color = {{if | | party_color = {{#if:{{{party_colour|}}}|{{{party_colour}}}|{{{party_color|}}}}} | ||
| color1 = {{if | | color1 = {{#if:{{{color7|}}}|{{{color7}}}|{{{colour7|}}}}} | ||
| color2 = {{if | | color2 = {{#if:{{{color8|}}}|{{{color8}}}|{{{colour8|}}}}} | ||
| color3 = {{if | | color3 = {{#if:{{{color9|}}}|{{{color9}}}|{{{colour9|}}}}} | ||
| image_size = {{{image_size|150x150px}}} | | image_size = {{{image_size|150x150px}}} | ||
| image_upright = {{{image_upright|}}} | | image_upright = {{{image_upright|}}} | ||
Line 432: | Line 413: | ||
| swing3 = {{{swing9|}}} | | swing3 = {{{swing9|}}} | ||
| opinion_polls = {{{opinion_polls|}}} | | opinion_polls = {{{opinion_polls|}}} | ||
| poll1_date = {{if | | poll1_date = {{#if:{{{poll1_date3|}}}|{{{poll1_date3}}}|{{{poll1_date|}}}}} | ||
| poll1_source = {{if | | poll1_source = {{#if:{{{poll1_source3|}}}|{{{poll1_source3}}}|{{{poll1_source|}}}}} | ||
| poll1_person1 = {{if | | poll1_person1 = {{#if:{{{poll1_nominee7|}}}|{{{poll1_nominee7}}}|{{{poll1_candidate7|}}}}} | ||
| poll1_person2 = {{if | | poll1_person2 = {{#if:{{{poll1_nominee8|}}}|{{{poll1_nominee8}}}|{{{poll1_candidate8|}}}}} | ||
| poll1_person3 = {{if | | poll1_person3 = {{#if:{{{poll1_nominee9|}}}|{{{poll1_nominee9}}}|{{{poll1_candidate9|}}}}} | ||
| poll2_date = {{if | | poll2_date = {{#if:{{{poll2_date3|}}}|{{{poll2_date3}}}|{{{poll2_date|}}}}} | ||
| poll2_source = {{if | | poll2_source = {{#if:{{{poll2_source3|}}}|{{{poll2_source3}}}|{{{poll2_source|}}}}} | ||
| poll2_person1 = {{if | | poll2_person1 = {{#if:{{{poll2_nominee7|}}}|{{{poll2_nominee7}}}|{{{poll2_candidate7|}}}}} | ||
| poll2_person2 = {{if | | poll2_person2 = {{#if:{{{poll2_nominee8|}}}|{{{poll2_nominee8}}}|{{{poll2_candidate8|}}}}} | ||
| poll2_person3 = {{if | | poll2_person3 = {{#if:{{{poll2_nominee9|}}}|{{{poll2_nominee9}}}|{{{poll2_candidate9|}}}}} | ||
| poll3_date = {{if | | poll3_date = {{#if:{{{poll3_date3|}}}|{{{poll3_date3}}}|{{{poll3_date|}}}}} | ||
| poll3_source = {{if | | poll3_source = {{#if:{{{poll3_source3|}}}|{{{poll3_source3}}}|{{{poll3_source|}}}}} | ||
| poll3_person1 = {{if | | poll3_person1 = {{#if:{{{poll3_nominee7|}}}|{{{poll3_nominee7}}}|{{{poll3_candidate7|}}}}} | ||
| poll3_person2 = {{if | | poll3_person2 = {{#if:{{{poll3_nominee8|}}}|{{{poll3_nominee8}}}|{{{poll3_candidate8|}}}}} | ||
| poll3_person3 = {{if | | poll3_person3 = {{#if:{{{poll3_nominee9|}}}|{{{poll3_nominee9}}}|{{{poll3_candidate9|}}}}} | ||
| poll4_date = {{if | | poll4_date = {{#if:{{{poll4_date3|}}}|{{{poll4_date3}}}|{{{poll4_date|}}}}} | ||
| poll4_source = {{if | | poll4_source = {{#if:{{{poll4_source3|}}}|{{{poll4_source3}}}|{{{poll4_source|}}}}} | ||
| poll4_person1 = {{if | | poll4_person1 = {{#if:{{{poll4_nominee7|}}}|{{{poll4_nominee7}}}|{{{poll4_candidate7|}}}}} | ||
| poll4_person2 = {{if | | poll4_person2 = {{#if:{{{poll4_nominee8|}}}|{{{poll4_nominee8}}}|{{{poll4_candidate8|}}}}} | ||
| poll4_person3 = {{if | | poll4_person3 = {{#if:{{{poll4_nominee9|}}}|{{{poll4_nominee9}}}|{{{poll4_candidate9|}}}}} | ||
| | | poll5_date = {{#if:{{{poll5_date3|}}}|{{{poll5_date3}}}|{{{poll5_date|}}}}} | ||
| | | poll5_source = {{#if:{{{poll5_source3|}}}|{{{poll5_source3}}}|{{{poll5_source|}}}}} | ||
| poll5_person1 = {{#if:{{{poll5_nominee7|}}}|{{{poll5_nominee7}}}|{{{poll5_candidate7|}}}}} | |||
| | | poll5_person2 = {{#if:{{{poll5_nominee8|}}}|{{{poll5_nominee8}}}|{{{poll5_candidate8|}}}}} | ||
| poll5_person3 = {{#if:{{{poll5_nominee9|}}}|{{{poll5_nominee9}}}|{{{poll5_candidate9|}}}}} | |||
| | |||
| | |||
| | |||
| 1blank = {{{1blank|}}}| 1data1 = {{{1data7|}}}| 1data2 = {{{1data8|}}}| 1data3 = {{{1data9|}}} | | 1blank = {{{1blank|}}}| 1data1 = {{{1data7|}}}| 1data2 = {{{1data8|}}}| 1data3 = {{{1data9|}}} | ||
Line 507: | Line 483: | ||
{{#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}}<!-- | }}</includeonly> | ||
<noinclude>{{Documentation}} | |||
<!-- If you enable the unknown-parameter checker, move it out of noinclude and ensure Module:Check for unknown parameters exists. --> | |||
{{#if:{{{electoral_vote1|}}}|{{Main other|[[Category:Elections using electoral votes]]}}}} | |||
<!-- Unknown parameter tracking (disabled by default here to avoid dependency crashes) | |||
{{#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 | child | 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 | embed | 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 | module | 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 }} | |||
--> | |||
</noinclude> |
Revision as of 08:12, 19 September 2025
<templatestyles src="Module:Documentation/styles.css"></templatestyles>
Purpose
This template is used to create a consistent and informative infobox for articles about elections in Zambia and beyond. It presents key facts such as the election date, type, country, turnout, main candidates, votes, percentages, and election maps.
Usage
Place this template at the top of any election article. Only include parameters that are known. Empty fields will be automatically hidden.
Example
{{Infobox election | election_name = 2026 Zambian General Election | type = Presidential | election_date = 12 August 2026 | country = Zambia | turnout = 65.3% | registered = 7,300,000 | previous_link = 2021 Zambian general election | previous_year = 2021 | next_link = 2031 Zambian general election | next_year = 2031 | nominee1 = Hakainde Hichilema | party1 = UPND | popular_vote1 = 3,000,000 | percentage1 = 51.2 | nominee2 = Edgar Lungu | party2 = PF | popular_vote2 = 2,600,000 | percentage2 = 44.3 | map_image = Zambia 2026 election map.png }}
Parameters
General Information
- election_name
- Title of the election.
- type
- Type of election (e.g., Presidential, Parliamentary, By-election).
- election_date
- Date when the election took place.
- country
- Name of the country (default: Zambia).
- turnout
- Voter turnout percentage.
- registered
- Number of registered voters.
- previous_link / previous_year
- Page link and year of the previous election.
- next_link / next_year
- Page link and year of the next election.
Candidates
Supports up to three candidates.
- nominee1 / nominee2 / nominee3
- Name of the candidate.
- party1 / party2 / party3
- Political party of the nominee.
- popular_vote1 / popular_vote2 / popular_vote3
- Total number of votes received.
- percentage1 / percentage2 / percentage3
- Percentage of votes received.
Map
- map_image
- Name of the map image file (without "File:").
- map_caption
- (Optional) Description below the map.
Notes
- Only non-empty fields will appear in the o*