Jump to content

Template:Infobox officeholder

From Worldpedia, the free encyclopedia
Revision as of 00:46, 25 February 2025 by 37.111.212.82 (talk)

{{#invoke:infobox|infoboxTemplate | bodyclass = vcard | bodystyle = | child = {{{embed}}}

| abovestyle = font-size: 100%;

| above =

Infobox officeholder

| subheaderstyle = font-size:125%; font-weight:bold; | subheader =

| image = | image2 = | image3 = | captionstyle = line-height:normal;padding-top:0.2em; | caption =

| headerstyle = color: #202122; background:lavender

| data1 = {{#if:|| {{Infobox officeholder/office|color=lavender | 1blankname = | 1namedata = | 2blankname = | 2namedata = | 3blankname = | 3namedata = | 4blankname = | 4namedata = | 5blankname = | 5namedata = | alongside = | ambassador_from = | appointer = | assembly = | assuming = | chancellor = | co-leader = | constituency_MP = | constituency = | convocation = | country = | deputy = | district = | firstminister = | governor-general = | governor_general = | governor = | jr/sr = | jr/sr and state = | leader = | legislature = | lieutenant_governor = | lieutenant = | minister_from = | minority_floor_leader = | majority_floor_leader = | majority_leader = | majority = | minister = | minority_leader = | monarch = | nominator = | office = | order = | parliament = | parliamentarygroup = {{{parliamentar

Usage

Template:Hatnote

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

Template:Generic template demo

{{Infobox officeholder
 | honorific_prefix   = 
 | name               =  <!-- defaults to article title when left blank -->
 | 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          =  <!-- should not be filled until the successor takes office-->
 | 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

Template:Generic template demo

{{Infobox ambassador
 | honorific_prefix = 
 | name        = 
 | honorific_suffix = 
 | image       = 
 | alt         = 
 | caption     =
 | 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

Template:Generic template demo

{{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

Template:Generic template demo

{{Infobox governor
 | honorific_prefix = 
 | name        = 
 | honorific_suffix = 
 | image       = 
 | alt         = 
 | caption     =
 | 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: Template:Generic template demo

 | president   =  <!--name of president-->

If Governor appointed by other, add: Template:Generic template demo

 | appointed   =  <!--name of appointer-->

Judge

Template:Generic template demo

{{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

Member of Parliament

Template:Generic template demo

{{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. Congressperson

Template:Generic template demo

{{Infobox Congressman
 | honorific_prefix = 
 | name        = 
 | honorific_suffix = 
 | image       = 
 | alt         = 
 | caption     =
 | 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 Congressperson served as Speaker of the House add: Template:Generic template demo

 | speaker      =  <!--number of office holder-->
 | term_start2  = 
 | term_end2    = 
 | predecessor2 = 
 | successor2   =

If Congressman has been elected but not sworn in: Template:Generic template demo

 | succeeding   =  <!--the name of the incumbent congressman-->

State Representative

Template:Generic template demo <syntaxhighlight lang="wikitext" style="overflow:auto;"> {{Infobox state represen