Template:Infobox officeholder
Template:Person infobox header
![]() | This template is used on 166,000+ pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. Transclusion count updated automatically (see documentation). |
![]() | Please note that in June 2017, the |religion= parameter was removed from Infobox officeholder as a result of this discussion. |
{{Infobox officeholder}} incorporates the following templates (i.e. all the templates listed here). Please use the most appropriate name when placing this template on a page.
Expand List of templates
|
---|
![]() | This template uses Lua: |
Contents
Usage
Paste the code for the relevant office and then add the personal data to the bottom. There are no required fields and some fields will not appear when others are in use. For instructions on how to implement multiple terms, see this page. For advice on alt text, see Wikipedia:Alternative text for images.
The parameter |order=
is used in conjunction with |office=
to state that the officeholder is the nth holder of the office, for example "42nd President of the United States". This should only be used when there is a well established use of such numbering in reliable sources. Do not add numbers simply based on a Wikipedia list of holders of the office, because (1) the list may not be accurate and (2) even with a definite list, different numbering systems could be applied (as to how various categories of "irregular" officeholders should be counted, and as to the counting of those serving for multiple non-consecutive periods) making the numbers arbitrary; and even where such issues are not yet present, they are bound to be in the future, making this unsustainable. Per WP:SEAOFBLUE, it is not recommended to wikilink |order=
to a list of officeholders, even if such a list exists.
If |order=
is not specified, the value of |office=
can be wikilinked in the usual way, for example, "[[Ministry of Defence (Singapore)|Minister for Defence]]
". However, if |order=
is specified together with |office=
, the value of |office=
is automatically linked to a Wikipedia article of the same name, whether such an article exists or not. Wikilinking cannot be used to redirect the link elsewhere, but a piped link can be created like this: "Ministry of Defence (Singapore){{!}}Minister for Defence
" (note that the double square brackets have been omitted).
When both a start and an end term are given, you can instead specify the complete term using the parameters |term=
, |term2=
, etc. This can be helpful for complicated terms that cannot be given as simple starting or ending dates, or if you prefer something other than the default term separator (an en dash, with spaces around it if the start or end is not a simple integer date).
Where a politician was redistricted into a new district, you can use |prior_term=
to indicate which district(s) they were in before. This saves space in the infobox by not generating a completely new office each time redistricting happens. If you do this, it is recommended that you list the person who preceded the subject when the subject first took office and the person who succeeded the subject when the subject last left office. Where the use of "same district number" is used for determining "predecessor" and "successor" in any office, but where the area is so altered as to make such a "predecessor" or "successor" of little or no biographical value, the word "redistricted" should be used rather than using names of officeholders whose connection is accidental by virtue of district number, but unrelated to any election contests between officeholders.
Please do not re-purpose any fields to add decorative images, icons or flags. Template:Infobox viceroy styles or the like can be used for this. WP:INFOBOXFLAG applies here.
Per consensus in this RfC, the infobox for an incumbent officeholder should not mention an elected or designated successor, or the end date of the term, until the successor takes office.
General office
- redirect Template:Parameter names example
{{Infobox officeholder | honorific_prefix = | name = | native_name = <!--The person's name in their own language, if different.--> | native_name_lang = <!--ISO 639-1 code, e.g., "fr" for French. If more than one, use {{lang}} in |native_name= instead.--> | honorific_suffix = | image = | image_size = | image_upright = | smallimage = <!--If this is specified, "image" should not be.--> | smallimage_alt = | alt = | caption = | order = | office = | status = <!--If this is specified, overrides Incumbent.--> | term_start = | term_end = <!-- Add data only when the actual term has ended, not for terms which will end in the future. (Per usage guideline.) --> | subterm = | suboffice = | alongside = <!--For two or more people serving in the same position from the same district. (e.g. United States Senators.)--> | monarch = | president = | governor_general = | primeminister = | taoiseach = | chancellor = | governor = | co-leader = | vicepresident = | viceprimeminister = | deputy = | lieutenant = | succeeding = <!--For President-elect or equivalent--> | parliamentarygroup = | constituency = | majority = | predecessor = | successor = | prior_term = | order2 = <!--Can be repeated up to 16 times by changing the number--> | office2 = <!--Can be repeated up to 16 times by changing the number--> | term_start2 = <!--Can be repeated up to 16 times by changing the number--> | term_end2 = <!--Can be repeated up to 16 times by changing the number--> | subterm2 = <!--Can be repeated up to 16 times by changing the number--> | suboffice2 = <!--Can be repeated up to 16 times by changing the number--> | alongside2 = <!--Can be repeated up to 16 times by changing the number--> | monarch2 = <!--Can be repeated up to 16 times by changing the number--> | president2 = <!--Can be repeated up to 16 times by changing the number--> | governor_general2 = <!--Can be repeated up to 16 times by changing the number--> | primeminister2 = <!--Can be repeated up to 16 times by changing the number--> | chancellor2 = <!--Can be repeated up to 16 times by changing the number--> | taoiseach2 = <!--Can be repeated up to 16 times by changing the number--> | governor2 = <!--Can be repeated up to 16 times by changing the number--> | co-leader2 = <!--Can be repeated up to 16 times by changing the number--> | vicepresident2 = <!--Can be repeated up to 16 times by changing the number--> | viceprimeminister2 = <!--Can be repeated up to 16 times by changing the number--> | deputy2 = <!--Can be repeated up to 16 times by changing the number--> | lieutenant2 = <!--Can be repeated up to 16 times by changing the number--> | succeeding2 = <!--Can be repeated up to 16 times by changing the number--> | predecessor2 = <!--Can be repeated up to 16 times by changing the number--> | successor2 = <!--Can be repeated up to 16 times by changing the number--> | parliamentarygroup2= <!--Can be repeated up to 16 times by changing the number--> | constituency2 = <!--Can be repeated up to 16 times by changing the number--> | majority2 = <!--Can be repeated up to 16 times by changing the number--> | prior_term2 = <!--Can be repeated up to 16 times by changing the number-->
add personal data
Ambassador
- redirect Template:Parameter names example
{{Infobox ambassador | honorific_prefix = | name = | honorific_suffix = | image = | alt = | order = <!--Can be repeated up to 16 times by adding a number--> | ambassador_from = <!--Can be repeated up to 16 times by adding a number--> | country = <!--Can be repeated up to 16 times by adding a number--> | term_start = <!--Can be repeated up to 16 times by adding a number--> | term_end = <!--Can be repeated up to 16 times by adding a number--> | predecessor = <!--Can be repeated up to 16 times by adding a number--> | successor = <!--Can be repeated up to 16 times by adding a number--> | president = <!--Can be repeated up to 16 times by adding a number-->
add personal data
Assembly member
- redirect Template:Parameter names example
{{Infobox AM | honorific_prefix = | name = | honorific_suffix = | image = | alt = | caption = | constituency_AM = <!--Can be repeated up to eight times by adding a number--> | assembly = <!--Can be repeated up to 16 times by adding a number--> | majority = <!--Can be repeated up to 16 times by adding a number--> | term_start = <!--Can be repeated up to 16 times by adding a number--> | term_end = <!--Can be repeated up to 16 times by adding a number--> | predecessor = <!--Can be repeated up to 16 times by adding a number--> | successor = <!--Can be repeated up to 16 times by adding a number--> | prior_term =
add personal data
Governor
- redirect Template:Parameter names example
{{Infobox governor | honorific_prefix = | name = | honorific_suffix = | image = | alt = | order = <!--Can be repeated up to 16 times by adding a number--> | office = <!--Can be repeated up to 16 times by adding a number--> | term_start = <!--Can be repeated up to 16 times by adding a number--> | term_end = <!--Can be repeated up to 16 times by adding a number--> | lieutenant = <!--Can be repeated up to 16 times by adding a number--> | predecessor = <!--Can be repeated up to 16 times by adding a number--> | successor = <!--Can be repeated up to 16 times by adding a number-->
add personal data
If Governor was appointed by a President, add:
- redirect Template:Parameter names example
| president = <!--name of president-->
If Governor appointed by other, add:
- redirect Template:Parameter names example
| appointed = <!--name of appointer-->
Judge
- redirect Template:Parameter names example
{{Infobox judge | honorific_prefix = | name = | honorific_suffix = | image = | alt = | caption = | office = <!--Can be repeated up to 16 times by changing the number--> | term_start = <!--Can be repeated up to 16 times by changing the number--> | term_end = <!--Can be repeated up to 16 times by changing the number--> | nominator = <!--Can be repeated up to 16 times by changing the number--> | appointer = <!--Can be repeated up to 16 times by changing the number--> | predecessor = <!--Can be repeated up to 16 times by changing the number--> | successor = <!--Can be repeated up to 16 times by changing the number-->
add personal data
Nominee/candidate
- Do not add this section to pages of people who have held a previous office.
- redirect Template:Parameter names example
{{Infobox candidate | honorific_prefix = | name = | honorific_suffix = | image = | alt = | caption = | nominee = | party_election = | election_date = | runningmate = | opponent = | incumbent =
If a candidate, then instead of nominee
use:
- redirect Template:Parameter names example
| candidate =
add personal data
Member of Parliament
- redirect Template:Parameter names example
{{Infobox MP | honorific_prefix = | name = | honorific_suffix = | image = | alt = | caption = | constituency_MP = <!--Can be repeated up to eight times by adding a number--> | parliament = <!--Can be repeated up to 16 times by adding a number--> | majority = <!--Can be repeated up to 16 times by adding a number--> | term_start = <!--Can be repeated up to 16 times by adding a number--> | term_end = <!--Can be repeated up to 16 times by adding a number--> | predecessor = <!--Can be repeated up to 16 times by adding a number--> | successor = <!--Can be repeated up to 16 times by adding a number--> | prior_term =
add personal data
U.S. Representatives
U.S. Congressman
- redirect Template:Parameter names example
{{Infobox Congressman | honorific_prefix = | name = | honorific_suffix = | image = | alt = | state = <!--Can be repeated up to 16 times by adding a number, start at 3--> | district = <!--Can be repeated up to 16 times by adding a number, start at 3--> | term_start = <!--Can be repeated up to 16 times by adding a number, start at 3--> | term_end = <!--Can be repeated up to 16 times by adding a number, start at 3--> | predecessor = <!--Can be repeated up to 16 times by adding a number, start at 3--> | successor = <!--Can be repeated up to 16 times by adding a number, start at 3--> | prior_term =
add personal data
If Congressman served as Speaker of the House add:
- redirect Template:Parameter names example
| speaker = <!--number of office holder--> | term_start2 = | term_end2 = | predecessor2 = | successor2 =
If Congressman has been elected but not sworn in:
- redirect Template:Parameter names example
| succeeding = <!--the name of the incumbent congressman-->
State Representative
- redirect Template:Parameter names example
{{Infobox state representative | honorific_prefix = | name = | honorific_suffix = | image = | alt = | state_house = <!--Can be repeated up to 16 times by adding a number, start at 3--> | district = <!--Can be repeated up to 16 times by adding a number, start at 3--> | term_start = <!--Can be repeated up to 16 times by adding a number, start at 3--> | term_end = <!--Can be repeated up to 16 times by adding a number, start at 3--> | predecessor = <!--Can be repeated up to 16 times by adding a number, start at 3--> | successor = <!--Can be repeated up to 16 times by adding a number, start at 3--> | prior_term =
add personal data
For Representative from states that have an Assembly, instead of state_house use:
- redirect Template:Parameter names example
| state_assembly = <!--Can be repeated up to 16 times by adding a number, start at 3--> | district = <!--Can be repeated up to 16 times by adding a number, start at 3-->
For Representative from states that have a House of Delegates, instead of state_house use:
- redirect Template:Parameter names example
| state_delegate = <!--Can be repeated up to 16 times by adding a number, start at 3--> | district = <!--Can be repeated up to 16 times by adding a number, start at 3-->
For Representative from states that have a Legislature, instead of state_house use:
- redirect Template:Parameter names example
| state_legislature = <!--Can be repeated up to 16 times by adding a number, start at 3--> | district = <!--Can be repeated up to 16 times by adding a number, start at 3-->
If Representative served as Speaker of the State House add:
- redirect Template:Parameter names example
| speaker = <!--number of office holder--> | state_house = | term_start2 = | term_end2 = | predecessor2 = | successor2 =
U.S. Senators
U.S. Senator
- redirect Template:Parameter names example
{{Infobox senator | honorific_prefix = | name = | honorific_suffix = | image = | image_size = | image_upright = | alt = | jr/sr = <!--Can be repeated up to eight times by appending 2, 3, etc--> This code has been disabled per Template talk:Infobox officeholder. | state = <!--Can be repeated up to eight times by appending 2, 3, etc--> | term_start = <!--Can be repeated up to eight times by appending 2, 3, etc--> | term_end = <!--Can be repeated up to eight times by appending 2, 3, etc--> | predecessor = <!--Can be repeated up to eight times by appending 2, 3, etc--> | successor = <!--Can be repeated up to eight times by appending 2, 3, etc-->
add personal data
- redirect Template:Parameter names example
| term_start = | alongside = <!--the name of fellow senator-->
If Senator has just been elected and is a Senator-Elect:
- redirect Template:Parameter names example
| succeeding = <!--the name of the incumbent senator-->
If Senator served as Senate Majority Leader add:
- redirect Template:Parameter names example
| majorityleader3 = <!--number of office holder--> | term_start3 = <!--Can be repeated up to seven times by adding a number, start at 3--> | term_end3 = <!--Can be repeated up to seven times by adding a number, start at 3--> | predecessor3 = <!--Can be repeated up to seven times by adding a number, start at 3--> | successor3 = <!--Can be repeated up to seven times by adding a number, start at 3-->
If Senator served as Congressman add:
- redirect Template:Parameter names example
| state3 = <!--Can be repeated up to seven times by adding a number, start at 3--> | district3 = <!--Can be repeated up to seven times by adding a number, start at 3--> | term_start3 = <!--Can be repeated up to seven times by adding a number, start at 3--> | term_end3 = <!--Can be repeated up to seven times by adding a number, start at 3--> | predecessor3 = <!--Can be repeated up to seven times by adding a number, start at 3--> | successor3 = <!--Can be repeated up to seven times by adding a number, start at 3-->
State Senator
- redirect Template:Parameter names example
{{Infobox state senator | honorific_prefix = | name = | honorific_suffix = | image = | alt = | state_senate = <!--Can be repeated up to eight times by appending 2, 3, etc--> | district = <!--Can be repeated up to eight times by appending 2, 3, etc--> | term_start = <!--Can be repeated up to eight times by appending 2, 3, etc--> | term_end = <!--Can be repeated up to eight times by appending 2, 3, etc--> | predecessor = <!--Can be repeated up to eight times by appending 2, 3, etc--> | successor = <!--Can be repeated up to eight times by appending 2, 3, etc--> | prior_term =
add personal data
If State Senator served as Majority Leader of the State Senate add:
- redirect Template:Parameter names example
| majority_leader3 = <!--number of office holder--> | term_start3 = <!--Can be repeated up to seven times by adding a number, start at 3--> | term_end3 = <!--Can be repeated up to seven times by adding a number, start at 3--> | predecessor3 = <!--Can be repeated up to seven times by adding a number, start at 3--> | successor3 = <!--Can be repeated up to seven times by adding a number, start at 3-->
If State Senator served as Minority Leader of the State Senate add:
- redirect Template:Parameter names example
| minority_leader3 = <!--number of office holder--> | term_start3 = <!--Can be repeated up to seven times by adding a number, start at 3--> | term_end3 = <!--Can be repeated up to seven times by adding a number, start at 3--> | predecessor3 = <!--Can be repeated up to seven times by adding a number, start at 3--> | successor3 = <!--Can be repeated up to seven times by adding a number, start at 3-->
If State Senator served as Majority Floor Leader of the State Senate add:
- redirect Template:Parameter names example
| majority_floor_leader3 = <!--number of office holder--> | term_start3 = <!--Can be repeated up to seven times by adding a number, start at 3--> | term_end3 = <!--Can be repeated up to seven times by adding a number, start at 3--> | predecessor3 = <!--Can be repeated up to seven times by adding a number, start at 3--> | successor3 = <!--Can be repeated up to seven times by adding a number, start at 3-->
If State Senator served as Minority Floor Leader of the State Senate add:
- redirect Template:Parameter names example
| minority_floor_leader3 = <!--number of office holder--> | term_start3 = <!--Can be repeated up to seven times by adding a number, start at 3--> | term_end3 = <!--Can be repeated up to seven times by adding a number, start at 3--> | predecessor3 = <!--Can be repeated up to seven times by adding a number, start at 3--> | successor3 = <!--Can be repeated up to seven times by adding a number, start at 3-->
Ukrainian legislative office
- redirect Template:Parameter names example
{{Infobox Ukrainian legislative office | name = | native_name = | native_name_lang = | image = | caption = | office1 = | convocation1 = | constituency1 = | term_start1 = | term_end1 = | convocation2 = | constituency2 = | term_start2 = | term_end2 = | office3 = <!--Can be repeated up to 16 times by adding a number--> | convocation3 = <!--Can be repeated up to 16 times by adding a number--> | constituency3 = <!--Can be repeated up to 16 times by adding a number--> | term_start3 = <!--Can be repeated up to 16 times by adding a number--> | term_end3 = <!--Can be repeated up to 16 times by adding a number-->
Personal data
Place this underneath the template
- redirect Template:Parameter names example
| pronunciation = | birth_name = | birth_date = <!-- {{Birth date and age|YYYY|MM|DD}} --> | birth_place = | death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} --> | death_place = | death_cause = | resting_place = | resting_place_coordinates = | citizenship = | nationality = | party = | otherparty = <!--For additional political affiliations--> | height = <!-- "X cm", "X m" or "X ft Y in" plus optional reference (conversions are automatic) --> | spouse = | partner = <!--For those with a domestic partner and not married--> | relations = | children = | parents = <!-- overrides mother and father parameters --> | mother = <!-- may be used (optionally with father parameter) in place of parents parameter (displays "Parent(s)" as label) --> | father = <!-- may be used (optionally with mother parameter) in place of parents parameter (displays "Parent(s)" as label) --> | relatives = | residence = | education = | alma_mater = | occupation = | profession = | known_for = | salary = | net_worth = <!-- Net worth should be supported with a citation from a reliable source --> | cabinet = | committees = | portfolio = | awards = <!-- For civilian awards - appears as "Awards" if |mawards= is not set --> | blank1 = | data1 = | blank2 = | data2 = | blank3 = | data3 = | blank4 = | data4 = | blank5 = | data5 = | signature = | signature_alt = | website = <!--Military service--> | nickname = | allegiance = | branch = | serviceyears = | rank = | unit = | commands = | battles = | mawards = <!-- for military awards - appears as "Awards" if |awards= is not set --> | military_blank1 = | military_data1 = | military_blank2 = | military_data2 = | military_blank3 = | military_data3 = | military_blank4 = | military_data4 = | military_blank5 = | military_data5 = <!--Embedded templates / Footnotes--> | module = | module2 = | module3 = | module4 = | module5 = | footnotes = }}
Embedding other templates
The module parameters (module, module2, ... module5) may used to embed other templates into this infobox (see Wikipedia:Infobox modules).
{{Infobox officeholder | name = | <!-- etc. --> | module = {{Infobox football biography | embed = yes | <!-- etc. --> }} }}
Embedding within a different infobox
Many officeholders are known for more than just their appointments (e.g., Clint Eastwood), and hence it may be desirable to merge this infobox with another one, like {{Infobox person}}. By adding "|embed=yes
" to the first line of the infobox code, one can embed this infobox into another, creating the illusion of one continuous infobox. Though the process is a little complicated, it is possible to insert this infobox into most if not all other infoboxes. For {{Infobox person}}, this infobox is passed as a "module" using the |module=
syntax.
{{Infobox person | name = John Infobox | image = Example.jpg | caption = John Infobox in 2005 | birth_name = John Officeholder Person Infobox | birth_date = {{Birth date|1950|5|5}} | birth_place = Template City | death_date = {{Death date and age|2010|10|10|1950|5|5}} | occupation = Actor | years_active = 1970–1990 | module = {{Infobox officeholder | embed = yes | office = Mayor of Wikipedia | term_start = 1994 | term_end = 1998 }} | website = {{URL|example.com}} }}
Microformat
TemplateData
Expand TemplateData documentation used by VisualEditor and other tools
|
---|
Tracking categories
- Hidden tracking/maintenance categories (in main and supporting templates)
- Category:Biography template using pronunciation (0)
- Category:Pages using infobox officeholder with ambassador from or minister from (1)
- Category:Pages using infobox officeholder with both term and term_start or term_end (0)
- Category:Pages using infobox officeholder with office0 (0)
- Category:Pages using infobox officeholder with speaker and without nominee or candidate (1)
- Category:Pages using infobox officeholder with succeeding and term or termend (0)
- Category:Pages using infobox officeholder with unknown parameters (0)
See also
- Supporting templates
The above documentation is transcluded from Template:Infobox officeholder/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |
- Lua-based templates
- Wikipedia utility templates
- Template namespace templates
- Template documentation
- Templates using TemplateData
- Politics and government infobox templates
- People and person infobox templates
- Infobox templates with module parameter
- Biographical templates usable as a module
- Templates that add a tracking category