Template:Infobox election basic: Difference between revisions

From Chalo Chatu, Zambia online encyclopedia
Jump to navigationJump to search
Created page with "<includeonly> {| class="infobox vevent" style="width:22em; line-height:1.5em;" |+ {{{election_name|Election}}} |- ! style="text-align:center;" | {{{type|}}} election |- | style="text-align:center;" | {{{election_date|}}} |- ! Country | {{{country|}}} |- ! Turnout | {{{turnout|}}} |- ! Registered voters | {{{registered|}}} |- ! Previous | {{{previous_link|}}} |- ! Next | {{{next_link|}}} |- ! colspan="2" style="text-align:center; background:#eee;" | Candidates |-..."
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="infobox vevent" style="width:22em; line-height:1.5em;"
{| class="infobox vevent" style="width:22em; line-height:1.5em; font-size:90%;"
|+ {{{election_name|Election}}}
|+ {{#if:{{{election_name|}}}|{{{election_name}}}}}


<!-- TYPE -->
{{#if:{{{type|}}}|
|-
|-
! style="text-align:center;" | {{{type|}}} election
! colspan="2" style="text-align:center;" | {{ucfirst:{{{type}}}}} election
|-
}}
| style="text-align:center;" | {{{election_date|}}}
 
|-
! Country
| {{{country|}}}
 
|-
! Turnout
| {{{turnout|}}}
 
|-
! Registered voters
| {{{registered|}}}
 
|-
! Previous
| {{{previous_link|}}}
 
|-
! Next
| {{{next_link|}}}


<!-- DATE -->
{{#if:{{{election_date|}}}|
|-
|-
! colspan="2" style="text-align:center; background:#eee;" | Candidates
| colspan="2" style="text-align:center;" | {{{election_date}}}
 
}}
|-
| colspan="2" style="text-align:center;" | {{{image1|}}}
|-
! Nominee
| {{{nominee1|}}}
|-
! Running mate
| {{{running_mate1|}}}
|-
! Party
| {{{party1|}}}
|-
! Votes
| {{{popular_vote1|}}} {{{percentage1|}}}


<!-- META -->
{{#if:{{{country|}}}|
|-
|-
| colspan="2" style="text-align:center;" | {{{image2|}}}
! style="text-align:left;" | Country
| style="text-align:right;" | {{{country}}}
}}
{{#if:{{{turnout|}}}|
|-
|-
! Nominee
! style="text-align:left;" | Turnout
| {{{nominee2|}}}
| style="text-align:right;" | {{{turnout}}}
}}
{{#if:{{{registered|}}}|
|-
|-
! Running mate
! style="text-align:left;" | Registered voters
| {{{running_mate2|}}}
| s
|-
! Party
| {{{party2|}}}
|-
! Votes
| {{{popular_vote2|}}} {{{percentage2|}}}
 
|-
| colspan="2" style="text-align:center;" | {{{image3|}}}
|-
! Nominee
| {{{nominee3|}}}
|-
! Running mate
| {{{running_mate3|}}}
|-
! Party
| {{{party3|}}}
|-
! Votes
| {{{popular_vote3|}}} {{{percentage3|}}}
 
|-
| colspan="2" style="text-align:center;" | {{{image4|}}}
|-
! Nominee
| {{{nominee4|}}}
|-
! Running mate
| {{{running_mate4|}}}
|-
! Party
| {{{party4|}}}
|-
! Votes
| {{{popular_vote4|}}} {{{percentage4|}}}
 
|-
| colspan="2" style="text-align:center;" | {{{map|}}}
|-
| colspan="2" style="text-align:center; font-size:90%;" | {{{map_caption|}}}
 
|-
! colspan="2" style="text-align:center; background:#eee;" | {{{title|}}}
|-
! Before election
| {{{before_election|}}}<br /><span style="font-size:90%;">{{{before_party|}}}</span>
|-
! After election
| {{{after_election|}}}<br /><span style="font-size:90%;">{{{after_party|}}}</span>
 
|}
</includeonly>
<noinclude>
No-logic infobox for sites without ParserFunctions. Fill only the rows you need; others will show empty labels if left blank.
</noinclude>

Latest revision as of 10:29, 19 September 2025