Template:Infobox officeholder
Infobox officeholder | |
---|---|
File:Ambox important.svg | The design and content of biographical infoboxes must follow Wikipedia's verifiability policy, as well as infobox and biographical style guideline. All content displayed in this template must adhere to the biographies of living persons policy if applicable. Unsourced or poorly sourced contentious material must be removed immediately from the article and its infobox, especially if potentially libellous. |
Warning | This template is used on approximately 227,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. |
File:Information icon4.svg | Please note that in June 2017, the |religion= parameter was removed from Infobox officeholder as a result of this discussion. |
{{Infobox officeholder}} is incorporated into the following templates (i.e. all the templates listed here). Please use the most appropriate name when placing this template on a page.
List of templates
|
---|
|
File:Lua-Logo.svg | This template uses Lua: |
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
{{{honorific_prefix}}} {{{name}}} {{{honorific_suffix}}} | |
---|---|
{{{native_name}}} | |
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}]] | |
[[File:{{{image name}}}|{{{image_size}}}|alt={{{image_name_alt}}}|upright={{{image_upright}}}]] | |
[[File:{{{smallimage}}}|frameless|alt={{{smallimage_alt}}}|upright={{{image_upright}}}]] | |
{{{order}}} [[{{{office}}}]] | |
{{{status}}} | |
In office {{{term_start}}}–{{{term_end}}} Serving with {{{alongside}}} | |
Monarch | {{{monarch}}} |
President | {{{president}}} |
Governor General | {{{governor_general}}} |
Prime Minister | {{{primeminister}}} |
Chancellor | {{{chancellor}}} |
Taoiseach | {{{taoiseach}}} |
Governor | {{{governor}}} |
Vice President | {{{vicepresident}}} |
[[Vice {{{office}}}|Vice PM]] | {{{viceprimeminister}}} |
Deputy | {{{deputy}}} |
[[Lieutenant {{{office}}}|Lieutenant]] | {{{lieutenant}}} |
{{{subterm}}} | {{{suboffice}}} |
Preceded by | {{{predecessor}}} |
Succeeded by | {{{successor}}} |
Parliamentary group | {{{parliamentarygroup}}} |
Constituency | {{{constituency}}} |
Majority | {{{majority}}} |
{{{order2}}} [[{{{office2}}}]] | |
In office {{{term_start2}}}–{{{term_end2}}} Serving with {{{alongside2}}} | |
Monarch | {{{monarch2}}} |
President | {{{president2}}} |
Governor General | {{{governor_general2}}} |
Prime Minister | {{{primeminister2}}} |
Chancellor | {{{chancellor2}}} |
Taoiseach | {{{taoiseach2}}} |
Governor | {{{governor2}}} |
Vice President | {{{vicepresident2}}} |
[[Vice {{{office2}}}|Vice PM]] | {{{viceprimeminister2}}} |
Deputy | {{{deputy2}}} |
{{{subterm2}}} | {{{suboffice2}}} |
Preceded by | {{{predecessor2}}} |
Succeeded by | {{{successor2}}} |
Parliamentary group | {{{parliamentarygroup2}}} |
Constituency | {{{constituency2}}} |
Majority | {{{majority2}}} |
<syntaxhighlight lang="wikitext" style="overflow:auto;"> {{Infobox officeholder
| honorific_prefix = | name = | native_name = | native_name_lang = | honorific_suffix = | image = | image_size = | image_upright = | smallimage = | smallimage_alt = | alt = | caption = | order = | office = | status = | term_start = | term_end = | subterm = | suboffice = | alongside = | monarch = | president = | governor_general = | primeminister = | taoiseach = | chancellor = | governor = | co-leader = | vicepresident = | viceprimeminister = | deputy = | lieutenant = | succeeding = | parliamentarygroup = | constituency = | majority = | predecessor = | successor = | prior_term = | order2 = | office2 = | term_start2 = | term_end2 = | subterm2 = | suboffice2 = | alongside2 = | monarch2 = | president2 = | governor_general2 = | primeminister2 = | chancellor2 = | taoiseach2 = | governor2 = | co-leader2 = | vicepresident2 = | viceprimeminister2 = | deputy2 = | lieutenant2 = | succeeding2 = | predecessor2 = | successor2 = | parliamentarygroup2= | constituency2 = | majority2 = | prior_term2 =
</syntaxhighlight> add personal data
Ambassador
{{{honorific_prefix}}} {{{name}}} {{{honorific_suffix}}} | |
---|---|
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright=1]] | |
{{{order}}} [[{{{ambassador_from}}} Ambassador to {{{country}}}|{{{ambassador_from}}} Ambassador to {{{country}}}]] | |
In office {{{term_start}}}–{{{term_end}}} | |
President | {{{president}}} |
Preceded by | {{{predecessor}}} |
Succeeded by | {{{successor}}} |
<syntaxhighlight lang="wikitext" style="overflow:auto;"> {{Infobox ambassador
| honorific_prefix = | name = | honorific_suffix = | image = | alt = | order = | ambassador_from = | country = | term_start = | term_end = | predecessor = | successor = | president =
</syntaxhighlight> add personal data
Assembly member
{{{honorific_prefix}}} {{{name}}} {{{honorific_suffix}}} | |
---|---|
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright=1]] | |
Member of the [[{{{assembly}}} Assembly]] for {{{constituency_AM}}} {{{prior_term}}} | |
In office {{{term_start}}}–{{{term_end}}} | |
Preceded by | {{{predecessor}}} |
Succeeded by | {{{successor}}} |
Majority | {{{majority}}} |
<syntaxhighlight lang="wikitext" style="overflow:auto;"> {{Infobox AM
| honorific_prefix = | name = | honorific_suffix = | image = | alt = | caption = | constituency_AM = | assembly = | majority = | term_start = | term_end = | predecessor = | successor = | prior_term =
</syntaxhighlight> add personal data
Governor
{{{honorific_prefix}}} {{{name}}} {{{honorific_suffix}}} | |
---|---|
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright=1]] | |
{{{order}}} [[{{{office}}}]] | |
In office {{{term_start}}}–{{{term_end}}} | |
[[Lieutenant {{{office}}}|Lieutenant]] | {{{lieutenant}}} |
Preceded by | {{{predecessor}}} |
Succeeded by | {{{successor}}} |
<syntaxhighlight lang="wikitext" style="overflow:auto;"> {{Infobox governor
| honorific_prefix = | name = | honorific_suffix = | image = | alt = | order = | office = | term_start = | term_end = | lieutenant = | predecessor = | successor =
</syntaxhighlight> add personal data
If Governor was appointed by a President, add:
Infobox officeholder | |
---|---|
President | {{{president}}} |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
| president =
</syntaxhighlight>
If Governor appointed by other, add:
Infobox officeholder | |
---|---|
Appointed by | {{{appointed}}} |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
| appointed =
</syntaxhighlight>
Judge
{{{honorific_prefix}}} {{{name}}} {{{honorific_suffix}}} | |
---|---|
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright=1]] | |
{{{office}}} | |
In office {{{term_start}}}–{{{term_end}}} | |
Nominated by | {{{nominator}}} |
Appointed by | {{{appointer}}} |
Preceded by | {{{predecessor}}} |
Succeeded by | {{{successor}}} |
<syntaxhighlight lang="wikitext" style="overflow:auto;"> {{Infobox judge
| honorific_prefix = | name = | honorific_suffix = | image = | alt = | caption = | office = | term_start = | term_end = | nominator = | appointer = | predecessor = | successor =
</syntaxhighlight> add personal data
Member of Parliament
{{{honorific_prefix}}} {{{name}}} {{{honorific_suffix}}} | |
---|---|
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright=1]] | |
Member of the [[{{{parliament}}} Parliament]] for {{{constituency_MP}}} {{{prior_term}}} | |
In office {{{term_start}}}–{{{term_end}}} | |
Preceded by | {{{predecessor}}} |
Succeeded by | {{{successor}}} |
Majority | {{{majority}}} |
<syntaxhighlight lang="wikitext" style="overflow:auto;"> {{Infobox MP
| honorific_prefix = | name = | honorific_suffix = | image = | alt = | caption = | constituency_MP = | parliament = | majority = | term_start = | term_end = | predecessor = | successor = | prior_term =
</syntaxhighlight> add personal data
U.S. Representatives
U.S. Congressperson
{{{honorific_prefix}}} {{{name}}} {{{honorific_suffix}}} | |
---|---|
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright=1]] | |
Member of the U.S. House of Representatives from {{{state}}}'s {{{district}}} district {{{prior_term}}} | |
In office {{{term_start}}}–{{{term_end}}} | |
Preceded by | {{{predecessor}}} |
Succeeded by | {{{successor}}} |
<syntaxhighlight lang="wikitext" style="overflow:auto;"> {{Infobox Congressman
| honorific_prefix = | name = | honorific_suffix = | image = | alt = | state = | district = | term_start = | term_end = | predecessor = | successor = | prior_term =
</syntaxhighlight> add personal data
If Congressperson served as Speaker of the House add:
Infobox officeholder | |
---|---|
{{{speaker}}} Speaker of the U.S. House of Representatives | |
In office {{{term_start2}}}–{{{term_end2}}} | |
Preceded by | {{{predecessor2}}} |
Succeeded by | {{{successor2}}} |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
| speaker = | term_start2 = | term_end2 = | predecessor2 = | successor2 =
</syntaxhighlight>
If Congressman has been elected but not sworn in:
Infobox officeholder | |
---|---|
Assuming office | |
Succeeding | {{{succeeding}}} |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
| succeeding =
</syntaxhighlight>
State Representative
{{{honorific_prefix}}} {{{name}}} {{{honorific_suffix}}} | |
---|---|
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright=1]] | |
Member of the [[{{{state_house}}} House of Representatives|{{{state_house}}} House of Representatives]] from the {{{district}}} district {{{prior_term}}} | |
In office {{{term_start}}}–{{{term_end}}} | |
Preceded by | {{{predecessor}}} |
Succeeded by | {{{successor}}} |
<syntaxhighlight lang="wikitext" style="overflow:auto;"> {{Infobox state representative
| honorific_prefix = | name = | honorific_suffix = | image = | alt = | state_house = | district = | term_start = | term_end = | predecessor = | successor = | prior_term =
</syntaxhighlight> add personal data
For Representative from states that have an Assembly, instead of state_house use:
Infobox officeholder | |
---|---|
Member of the [[{{{state_assembly}}} State Assembly]] from the {{{district}}} district | |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
| state_assembly = | district =
</syntaxhighlight>
For Representative from states that have a House of Delegates, instead of state_house use:
Infobox officeholder | |
---|---|
Member of the [[{{{state_delegate}}} House of Delegates|{{{state_delegate}}} House of Delegates]] from the {{{district}}} district | |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
| state_delegate = | district =
</syntaxhighlight>
For Representative from states that have a Legislature, instead of state_house use:
Infobox officeholder | |
---|---|
Member of the [[{{{state_legislature}}} Legislature]] from the {{{district}}} district | |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
| state_legislature = | district =
</syntaxhighlight>
If Representative served as Speaker of the State House add:
Infobox officeholder | |
---|---|
{{{speaker}}} [[Speaker of the {{{state_house}}} House of Representatives|Speaker of the {{{state_house}}} House of Representatives]] | |
Member of the [[{{{state_house}}} House of Representatives|{{{state_house}}} House of Representatives]] | |
In office {{{term_start2}}}–{{{term_end2}}} | |
Preceded by | {{{predecessor2}}} |
Succeeded by | {{{successor2}}} |
Member of the [[{{{state_house}}} House of Representatives|{{{state_house}}} House of Representatives]] | |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
| speaker = | state_house = | term_start2 = | term_end2 = | predecessor2 = | successor2 =
</syntaxhighlight>
U.S. Senators
U.S. Senator
{{{honorific_prefix}}} {{{name}}} {{{honorific_suffix}}} | |
---|---|
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}]] | |
United States Senator from {{{state}}} | |
In office {{{term_start}}}–{{{term_end}}} | |
Preceded by | {{{predecessor}}} |
Succeeded by | {{{successor}}} |
<syntaxhighlight lang="wikitext" style="overflow:auto;"> {{Infobox senator
| honorific_prefix = | name = | honorific_suffix = | image = | image_size = | image_upright = | alt = | jr/sr = Set to any value to display the "United States Senator from" header. If this parameter is missing or empty, "United States Senator from" will not be displayed. | state = | term_start = | term_end = | predecessor = | successor =
</syntaxhighlight> add personal data
Infobox officeholder | |
---|---|
Assumed office {{{term_start}}} Serving with {{{alongside}}} | |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
| term_start = | alongside =
</syntaxhighlight>
If Senator has just been elected and is a Senator-Elect:
Infobox officeholder | |
---|---|
Assuming office | |
Succeeding | {{{succeeding}}} |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
| succeeding =
</syntaxhighlight>
If Senator served as Senate Majority Leader add:
Infobox officeholder | |
---|---|
{{{majorityleader3}}} United States Senate Majority Leader | |
In office {{{term_start3}}}–{{{term_end3}}} | |
Preceded by | {{{predecessor3}}} |
Succeeded by | {{{successor3}}} |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
| majorityleader3 = | term_start3 = | term_end3 = | predecessor3 = | successor3 =
</syntaxhighlight>
If Senator served as Congressman add:
Infobox officeholder | |
---|---|
Member of the U.S. House of Representatives from {{{state3}}}'s {{{district3}}} district | |
In office {{{term_start3}}}–{{{term_end3}}} | |
Preceded by | {{{predecessor3}}} |
Succeeded by | {{{successor3}}} |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
| state3 = | district3 = | term_start3 = | term_end3 = | predecessor3 = | successor3 =
</syntaxhighlight>
State Senator
{{{honorific_prefix}}} {{{name}}} {{{honorific_suffix}}} | |
---|---|
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright=1]] | |
Member of the [[{{{state_senate}}} Senate]] from the {{{district}}} district {{{prior_term}}} | |
In office {{{term_start}}}–{{{term_end}}} | |
Preceded by | {{{predecessor}}} |
Succeeded by | {{{successor}}} |
<syntaxhighlight lang="wikitext" style="overflow:auto;"> {{Infobox state senator
| honorific_prefix = | name = | honorific_suffix = | image = | alt = | state_senate = | district = | term_start = | term_end = | predecessor = | successor = | prior_term =
</syntaxhighlight> add personal data
If State Senator served as Majority Leader of the State Senate add:
Infobox officeholder | |
---|---|
{{{majority_leader3}}} United States Senate Majority Leader | |
In office {{{term_start3}}}–{{{term_end3}}} | |
Preceded by | {{{predecessor3}}} |
Succeeded by | {{{successor3}}} |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
| majority_leader3 = | term_start3 = | term_end3 = | predecessor3 = | successor3 =
</syntaxhighlight>
If State Senator served as Minority Leader of the State Senate add:
Infobox officeholder | |
---|---|
{{{minority_leader3}}} Minority Leader of the Senate | |
In office {{{term_start3}}}–{{{term_end3}}} | |
Preceded by | {{{predecessor3}}} |
Succeeded by | {{{successor3}}} |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
| minority_leader3 = | term_start3 = | term_end3 = | predecessor3 = | successor3 =
</syntaxhighlight>
If State Senator served as Majority Floor Leader of the State Senate add:
Infobox officeholder | |
---|---|
{{{majority_floor_leader3}}} Majority Floor Leader of the Senate | |
In office {{{term_start3}}}–{{{term_end3}}} | |
Preceded by | {{{predecessor3}}} |
Succeeded by | {{{successor3}}} |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
| majority_floor_leader3 = | term_start3 = | term_end3 = | predecessor3 = | successor3 =
</syntaxhighlight>
If State Senator served as Minority Floor Leader of the State Senate add:
Infobox officeholder | |
---|---|
{{{minority_floor_leader3}}} Minority Floor Leader of the Senate | |
In office {{{term_start3}}}–{{{term_end3}}} | |
Preceded by | {{{predecessor3}}} |
Succeeded by | {{{successor3}}} |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
| minority_floor_leader3 = | term_start3 = | term_end3 = | predecessor3 = | successor3 =
</syntaxhighlight>
Ukrainian legislative office
{{{name}}} | |
---|---|
{{{native_name}}} | |
[[File:{{{image}}}|frameless|upright=1]] | |
{{{office1}}} | |
{{{convocation1}}} | |
In office {{{term_start1}}}–{{{term_end1}}} | |
Constituency | {{{constituency1}}} |
{{{convocation2}}} | |
In office {{{term_start2}}}–{{{term_end2}}} | |
Constituency | {{{constituency2}}} |
{{{office3}}} | |
{{{convocation3}}} | |
In office {{{term_start3}}}–{{{term_end3}}} | |
Constituency | {{{constituency3}}} |
<syntaxhighlight lang="wikitext" style="overflow:auto;"> Template:Infobox Ukrainian legislative office </syntaxhighlight>
nationality
is not displayed if the corresponding country is mentioned in birth_place
, for example |birth_place = Tokyo, Japan |nationality = Japanese
.
Embedding other templates
The module parameters (module, module2, ... module5) may used to embed other templates into this infobox (see Wikipedia:Infobox modules).
<syntaxhighlight lang="wikitext" style="overflow: auto;">
Infobox officeholder | |
---|---|
</syntaxhighlight>
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.
<syntaxhighlight lang="wikitext" style="overflow: auto">
John Infobox | |
---|---|
Born | John Officeholder Person Infobox May 25, 1950 Template City |
Died | October 22, 2010 | (aged 60)
Occupation | Actor |
Years active | 1970–1990 |
Mayor of Wikipedia | |
In office 1994–1998 | |
Website | example |
</syntaxhighlight>
Microformat
The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates
Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.
To include a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
hCard uses HTML classes including:
- adr
- agent
- bday
- birthplace
- category
- country-name
- deathdate
- deathplace
- extended-address
- family-name
- fn (required)
- given-name
- honorific-prefix
- honorific-suffix
- label
- locality
- n
- nickname
- note
- org
- role
- url
- vcard
Please do not rename or remove these classes nor collapse nested elements which use them.
TemplateData
See a monthly parameter usage report for Template:Infobox officeholder in articles based on its TemplateData.
TemplateData for Infobox officeholder An infobox for office holders
|
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 (0)
- 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 (0)
- 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
- Pages with broken file links
- Lua-based templates
- Pages using infobox officeholder with ambassador from or minister from
- Pages using infobox officeholder with speaker
- Infobox templates
- Templates generating hCards
- 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