Template:Infobox election: Difference between revisions

From Chalo Chatu, Zambia online encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
Tags: Mobile edit Mobile web edit
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
{{Infobox
{| class="infobox" style="width:280px; font-size:90%; border:1px solid #ccc; background:#f9f9f9;"
| bodystyle    = width:320px; font-size: 90%;
| title        = {{{election_name|Election}}}
| above        = {{{country|}}}
| image        = {{{image|}}}


|+ style="font-size:110%; font-weight:bold; text-align:center; background:#e2e2e2;" | {{{election_name|General Election}}}
| label1      = Type
| data1        = {{{type|}}}
| label2      = Year
| data2        = {{{year|}}}
| label3      = Date
| data3        = {{{date|}}}
| label4      = Seats up for election
| data4        = {{{seats_up|}}}
| label5      = Electoral system
| data5        = {{{system|}}}
| label6      = Previous election
| data6        = {{{last_election|}}}
| label7      = Alliances
| data7        = {{{alliances|}}}
| label8      = Map
| data8        = {{{map|}}}


|-
| label9      = Voter turnout
! Type
| data9        = {{{turnout|}}}
| {{{type|Presidential}}} election
| label10      = Eligible voters
| data10      = {{{eligible_voters|}}}
| label11      = Total votes cast
| data11      = {{{total_votes|}}}


|-
| label12      = Yes votes
! Date
| data12      = {{{yes_votes|}}}
| {{{election_date|}}}
| label13      = No votes
| data13      = {{{no_votes|}}}
| label14      = Percentage "Yes"
| data14      = {{{yes_percentage|}}}
| label15      = Percentage "No"
| data15      = {{{no_percentage|}}}
| label16      = Outcome
| data16      = {{{outcome|}}}


|-
| label17      = Referendum question
! Country
| data17      = {{{question|}}}
| {{{country|Zambia}}}
| label18      = Required threshold
| data18      = {{{threshold|}}}
| label19      = Result status
| data19      = {{{status|}}}


{{#if:{{{turnout|}}}|<!-- Turnout -->
| label20      = Incumbent party
|-
| data20      = {{{incumbent_party|}}}
! Turnout
| label21      = Incumbent leader
| {{{turnout}}}
| data21      = {{{incumbent_leader|}}}
}}
| label22      = In office since
 
| data22      = {{{incumbent_since|}}}
{{#if:{{{registered|}}}|<!-- Registered voters -->
| label23      = Challenger party
|-
| data23      = {{{challenger_party|}}}
! Registered voters
| label24      = Challenger leader
| {{{registered}}}
| data24      = {{{challenger_leader|}}}
}}
| label25      = Last challenger
 
| data25      = {{{challenger_last|}}}
{{#if:{{{previous_link|}}}|<!-- Previous -->
| label26      = Official website
|-
| data26      = {{{website|}}}
! Previous
| [[{{{previous_link}}}|{{{previous_year}}}]]
}}
 
{{#if:{{{next_link|}}}|<!-- Next -->
|-
! Next
| [[{{{next_link}}}|{{{next_year}}}]]
}}


|-
| belowstyle  = background:#f8f8f8; text-align:center; font-size:88%; padding:3px;
! colspan="2" style="background:#ddd; text-align:center;" | Main Candidates
| below        = [[Category:Elections in Zambia]]
 
{{#if:{{{nominee1|}}}|
|-
| '''{{{nominee1}}}'''<br/><small>{{{party1}}}</small><br/>
Votes: {{{popular_vote1}}}<br/>({{{percentage1}}}%)
}}
}}
{{#if:{{{nominee2|}}}|
|-
| '''{{{nominee2}}}'''<br/><small>{{{party2}}}</small><br/>
Votes: {{{popular_vote2}}}<br/>({{{percentage2}}}%)
}}
{{#if:{{{nominee3|}}}|
|-
| '''{{{nominee3}}}'''<br/><small>{{{party3}}}</small><br/>
Votes: {{{popular_vote3}}}<br/>({{{percentage3}}}%)
}}
{{#if:{{{map_image|}}}|
|-
! colspan="2" style="background:#ddd; text-align:center;" | Results Map
|-
| colspan="2" style="text-align:center;" | [[File:{{{map_image}}}|250px]]
}}
|}
</includeonly>
<noinclude>
{{documentation}}
[[Category:Infobox templates]]
[[Category:Elections templates]]
</noinclude>

Latest revision as of 12:02, 11 November 2025

Election