Template:Infobox officeholder: Difference between revisions
From Chalo Chatu, Zambia online encyclopedia
Jump to navigationJump to search
Chalochatu (talk | contribs) No edit summary |
Chalochatu (talk | contribs) Undo revision 30646 by Chalochatu (talk) Tag: Undo |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 7: | Line 7: | ||
| colspan="2" style="text-align:center; font-size:85%;" | {{{caption|}}} | | colspan="2" style="text-align:center; font-size:85%;" | {{{caption|}}} | ||
|- | |- | ||
! Office | ! style="text-align:left;" | Office | ||
| {{{office|}}} | | {{{office|}}} | ||
|- | |- | ||
! Term start | ! style="text-align:left;" | Term start | ||
| {{{term_start|}}} | | {{{term_start|}}} | ||
|- | |- | ||
! Term end | ! style="text-align:left;" | Term end | ||
| {{{term_end|}}} | | {{{term_end|}}} | ||
|- | |- | ||
! Predecessor | ! style="text-align:left;" | Predecessor | ||
| {{{predecessor|}}} | | {{{predecessor|}}} | ||
|- | |- | ||
! Successor | ! style="text-align:left;" | Successor | ||
| {{{successor|}}} | | {{{successor|}}} | ||
|- | |- | ||
! Nationality | ! style="text-align:left;" | Nationality | ||
| {{{nationality|}}} | | {{{nationality|}}} | ||
|- | |- | ||
! Political party | ! style="text-align:left;" | Political party | ||
| {{{party|}}} | | {{{party|}}} | ||
|- | |- | ||
! Residence | ! style="text-align:left;" | Residence | ||
| {{{residence|}}} | | {{{residence|}}} | ||
|- | |- | ||
! Occupation | ! style="text-align:left;" | Occupation | ||
| {{{occupation|}}} | | {{{occupation|}}} | ||
|} | |} | ||
Latest revision as of 09:16, 1 September 2025
<templatestyles src="Module:Documentation/styles.css"></templatestyles>
Infobox officeholder
The Infobox officeholder template is used to provide a quick, consistent summary of notable people who hold or have held a political or administrative office (such as mayors, ministers, or presidents). It is designed to be placed at the top-right corner of an article.
Usage
Copy and paste the following code into an article and fill in the fields as needed:
{{Infobox officeholder
| name =
| image =
| caption =
| office =
| term_start =
| term_end =
| predecessor =
| successor =
| nationality =
| party =
| residence =
| occupation =
}}
Parameters
- name
- The full name of the person.
- image
- File name of the person’s photo (without the File: prefix).
- caption
- A brief caption for the image.
- office
- The main political or administrative office held (e.g. "Mayor of Lusaka").
- term_start
- Date when the officeholder began their term.
- term_end
- Date when the term ended (leave blank if still serving).
- predecessor
- The person who held the office before.
- successor
- The person who took over after.
- nationality
- The nationality of the officeholder.
- party
- Political party affiliation (if applicable).
- residence
- Primary place of residence.
- occupation
- The person’s profession or occupation.
Example
{{Infobox officeholder
| name = Chilando Chitangala
| image = ChilandoChitangala.jpg
| caption = Chitangala in 2023
| office = Mayor of Lusaka
| term_start = 12 August 2021
| predecessor = Miles Sampa
| nationality = Zambian
| party = Patriotic Front
| residence = Lusaka, Zambia
| occupation = Politician
}}
Usage
This template creates an infobox for officeholders (e.g. mayors, ministers, presidents).
Example
{{Infobox officeholder
| name = Chilando Chitangala
| image = ChilandoChitangala.jpg
| caption = Chitangala in 2023
| office = Mayor of Lusaka
| term_start = 12 August 2021
| predecessor = Miles Sampa
| nationality = Zambian
| party = Patriotic Front
| residence = Lusaka, Zambia
| occupation = Politician
}}