Template:Infobox officeholder: Difference between revisions
m 1 revision imported |
Add Era field to infobox template |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<templatestyles src="Template:Infobox officeholder/styles.css" /> | |||
{{#invoke:infobox|infoboxTemplate | {{#invoke:infobox|infoboxTemplate | ||
| bodyclass = vcard {{{bodyclass|}}} | | bodyclass = vcard {{{bodyclass|}}} | ||
| Line 1,670: | Line 1,671: | ||
| data57 = {{{module5|}}} | | data57 = {{{module5|}}} | ||
| data58 = {{{footnotes|}}} | | data58 = {{{footnotes|}}} | ||
| label59 = Era | |||
| data59 = {{{era|}}} | |||
| belowstyle = border-top: 1px solid right; | | belowstyle = border-top: 1px solid right; | ||
| below = <div>{{#if:{{{date|}}}| As of {{{date}}}{{#if:{{{year|}}}|, {{{year}}}}}}}</div>{{#if:{{{source|}}}|Source: [{{{source}}}]}} | | below = <div>{{#if:{{{date|}}}| As of {{{date}}}{{#if:{{{year|}}}|, {{{year}}}}}}}</div>{{#if:{{{source|}}}|Source: [{{{source}}}]}} | ||
| Line 1,676: | Line 1,680: | ||
}}{{#if:{{{1blankname0|}}}{{{1namedata0|}}}{{{2blankname0|}}}{{{2namedata0|}}}{{{3blankname0|}}}{{{3namedata0|}}}{{{4blankname0|}}}{{{4namedata0|}}}{{{5blankname0|}}}{{{5namedata0|}}}{{{alongside0|}}}{{{ambassador_from0|}}}{{{appointer0|}}}{{{assembly0|}}}{{{assuming0|}}}{{{chancellor0|}}}{{{co-leader0|}}}{{{constituency_AM0|}}}{{{constituency0|}}}{{{country0|}}}{{{deputy0|}}}{{{district0|}}}{{{firstminister0|}}}{{{governor-general0|}}}{{{governor0|}}}{{{jr/sr0|}}}{{{jr/sr and state0|}}}{{{leader0|}}}{{{legislature0|}}}{{{lieutenant_governor0|}}}{{{lieutenant0|}}}{{{minister_from0|}}}{{{minority_floor_leader0|}}}{{{majority_floor_leader0|}}}{{{majorityleader0|}}}{{{majority0|}}}{{{minister0|}}}{{{minorityleader0|}}}{{{monarch0|}}}{{{nominator0|}}}{{{office0|}}}{{{order0|}}}{{{parliament0|}}}{{{predecessor0|}}}{{{preceding0|}}}{{{preceded0|}}}{{{premier0|}}}{{{president0|}}}{{{primeminister0|}}}{{{riding0|}}}{{{state_assembly0|}}}{{{state_delegate0|}}}{{{state_house0|}}}{{{state_legislature0|}}}{{{state_senate0|}}}{{{state0|}}}{{{suboffice0|}}}{{{subterm0|}}}{{{succeeded0|}}}{{{succeeding0|}}}{{{successor0|}}}{{{taoiseach0|}}}{{{termend0|}}}{{{termstart0|}}}{{{term0|}}}{{{title0|}}}{{{vicegovernor0|}}}{{{vicepresident0|}}}{{{vicepremier0|}}}{{{viceprimeminister0|}}}{{{prior_term0|}}}{{{appointe0|}}}{{{constituency_0|}}}|{{#ifeq:{{{nocat|{{{demo|{{#ifeq:{{{categories|}}}|no|yes}}}}}}}}|yes||[[Category:Pages using infobox officeholder with office0]]}} | }}{{#if:{{{1blankname0|}}}{{{1namedata0|}}}{{{2blankname0|}}}{{{2namedata0|}}}{{{3blankname0|}}}{{{3namedata0|}}}{{{4blankname0|}}}{{{4namedata0|}}}{{{5blankname0|}}}{{{5namedata0|}}}{{{alongside0|}}}{{{ambassador_from0|}}}{{{appointer0|}}}{{{assembly0|}}}{{{assuming0|}}}{{{chancellor0|}}}{{{co-leader0|}}}{{{constituency_AM0|}}}{{{constituency0|}}}{{{country0|}}}{{{deputy0|}}}{{{district0|}}}{{{firstminister0|}}}{{{governor-general0|}}}{{{governor0|}}}{{{jr/sr0|}}}{{{jr/sr and state0|}}}{{{leader0|}}}{{{legislature0|}}}{{{lieutenant_governor0|}}}{{{lieutenant0|}}}{{{minister_from0|}}}{{{minority_floor_leader0|}}}{{{majority_floor_leader0|}}}{{{majorityleader0|}}}{{{majority0|}}}{{{minister0|}}}{{{minorityleader0|}}}{{{monarch0|}}}{{{nominator0|}}}{{{office0|}}}{{{order0|}}}{{{parliament0|}}}{{{predecessor0|}}}{{{preceding0|}}}{{{preceded0|}}}{{{premier0|}}}{{{president0|}}}{{{primeminister0|}}}{{{riding0|}}}{{{state_assembly0|}}}{{{state_delegate0|}}}{{{state_house0|}}}{{{state_legislature0|}}}{{{state_senate0|}}}{{{state0|}}}{{{suboffice0|}}}{{{subterm0|}}}{{{succeeded0|}}}{{{succeeding0|}}}{{{successor0|}}}{{{taoiseach0|}}}{{{termend0|}}}{{{termstart0|}}}{{{term0|}}}{{{title0|}}}{{{vicegovernor0|}}}{{{vicepresident0|}}}{{{vicepremier0|}}}{{{viceprimeminister0|}}}{{{prior_term0|}}}{{{appointe0|}}}{{{constituency_0|}}}|{{#ifeq:{{{nocat|{{{demo|{{#ifeq:{{{categories|}}}|no|yes}}}}}}}}|yes||[[Category:Pages using infobox officeholder with office0]]}} | ||
}}{{#if:{{{speaker|}}}|{{#if:{{{nominee|}}}{{{candidate|}}}||{{#ifeq:{{{nocat|{{{demo|{{#ifeq:{{{categories|}}}|no|yes}}}}}}}}|yes||[[Category:Pages using infobox officeholder with speaker]]}}}} | }}{{#if:{{{speaker|}}}|{{#if:{{{nominee|}}}{{{candidate|}}}||{{#ifeq:{{{nocat|{{{demo|{{#ifeq:{{{categories|}}}|no|yes}}}}}}}}|yes||[[Category:Pages using infobox officeholder with speaker]]}}}} | ||
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|{{#ifeq:{{{nocat|{{{demo|{{#ifeq:{{{categories|}}}|no|yes}}}}}}}}|yes||[[Category:Pages using infobox officeholder with unknown parameters|_VALUE_{{PAGENAME}}]]}}}}|preview=Page using [[Template:Infobox officeholder]] with unknown parameter "_VALUE_"|ignoreblank=y| regexp1 = 1blankname[%d]* | regexp2 = 1namedata[%d]* | regexp3 = 2blankname[%d]* | regexp4 = 2namedata[%d]* | regexp5 = 3blankname[%d]* | regexp6 = 3namedata[%d]* | regexp7 = 4blankname[%d]* | regexp8 = 4namedata[%d]* | regexp9 = 5blankname[%d]* | regexp10 = 5namedata[%d]* | allegiance | alma_mater | regexp11 = alongside[%d]* | alt | regexp12 = ambassador_from[%d]* | regexp13 = appointed[%d]* | regexp14 = appointer[%d]* | regexp15 = assembly[%d]* | awards | battles | battles_label | birth_date | birth_name | birth_place | birthname | regexp16 = blank[%d]* | bodyclass | branch | branch_label | cabinet | candidate | caption | categories | regexp17 = chancellor[%d]* | children | citizenship | regexp18 = co%-leader[%d]* | commands | committees | regexp19 = constituency[%d]* | regexp20 = constituency_AM[%d]* | regexp21 = constituency_MP[%d]* | regexp22 = convocation[%d]* | regexp23 = country[%d]* | regexp24 = data[%d]* | date | death_cause | death_date | death_manner | death_place | demo | regexp25 = deputy[%d]* | regexp26 = district[%d]* | education | election_date | embed | father | regexp28 = firstminister[%d]* | footnotes | regexp29 = governor[%d]* | regexp30 = governor_general[%d]* | regexp31 = governor%-general[%d]* | height | honorific_prefix | honorific-prefix | honorific_suffix | honorific-suffix | image | image name | image_name_alt | image_size | imagesize | image_upright | incumbent | regexp32 = jr/sr[%d]* | regexp33 = jr/sr and state[%d]* | known_for | regexp34 = leader[%d]* | regexp35 = legislature[%d]* | regexp36 = lieutenant[%d]* | regexp37 = lieutenant_governor[%d]* | mainwidth | regexp38 = majority[%d]* | regexp39 = majority_floor_leader[%d]* | regexp40 = majority_leader[%d]* | regexp41 = majorityleader[%d]* | mawards | regexp42 = military_blank[%d]* | regexp43 = military_data[%d]* | regexp44 = minister[%d]* | regexp45 = minister_from[%d]* | regexp46 = minority_floor_leader[%d]* | regexp47 = minority_leader[%d]* | regexp48 = minorityleader[%d]* | regexp49 = module[%d]* | regexp50 = monarch[%d]* | mother | name | nationality | native_name | native_name_lang | nickname | nocat | regexp51 = nominator[%d]* | nominee | occupation | regexp52 = office[%d]* | opponent | regexp53 = order[%d]* | otherparty | other_party | parents | regexp54 = parliament[%d]* | regexp55 = parliamentarygroup[%d]* | partner | party | party_election | portfolio | regexp56 = preceded[%d]* | regexp57 = preceding[%d]* | regexp58 = predecessor[%d]* | regexp59 = premier[%d]* | regexp60 = president[%d]* | regexp61 = primeminister[%d]* | regexp62 = prior_term[%d]* | profession | pronunciation | rank | rank_label | relations | relatives | residence | resting_place | resting_place_coordinates | restingplace | restingplacecoordinates | regexp63 = riding[%d]* | runningmate | salary | serviceyears | serviceyears_label | signature | signature_alt | signature_size | smallimage | smallimage_alt | source | speaker | speaker_office | spouse | spouses | regexp64 = state[%d]* | regexp65 = state_assembly[%d]* | regexp66 = state_delegate[%d]* | regexp67 = state_house[%d]* | regexp68 = state_legislature[%d]* | regexp69 = state_senate[%d]* | regexp70 = status[%d]* | regexp71 = suboffice[%d]* | regexp72 = subterm[%d]* | regexp73 = succeeded[%d]* | regexp74 = succeeding[%d]* | regexp75 = successor[%d]* | regexp76 = taoiseach[%d]* | regexp77 = term[%d]* | regexp78 = term_end[%d]* | regexp79 = term_label[%d]* | regexp80 = term_start[%d]* | regexp81 = termend[%d]* | regexp82 = termlabel[%d]* | regexp83 = termstart[%d]* | regexp84 = title[%d]* | unit | unit_label | regexp85 = vicegovernor[%d]* | regexp86 = vicepremier[%d]* | regexp87 = vicepresident[%d]* | regexp88 = viceprimeminister[%d]* | regexp89 = assuming[%d]* | website | width | year }}{{#invoke:Check for conflicting parameters|check | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|{{#ifeq:{{{nocat|{{{demo|{{#ifeq:{{{categories|}}}|no|yes}}}}}}}}|yes||[[Category:Pages using infobox officeholder with unknown parameters|_VALUE_{{PAGENAME}}]]}}}}|preview=Page using [[Template:Infobox officeholder]] with unknown parameter "_VALUE_"|ignoreblank=y| regexp1 = 1blankname[%d]* | regexp2 = 1namedata[%d]* | regexp3 = 2blankname[%d]* | regexp4 = 2namedata[%d]* | regexp5 = 3blankname[%d]* | regexp6 = 3namedata[%d]* | regexp7 = 4blankname[%d]* | regexp8 = 4namedata[%d]* | regexp9 = 5blankname[%d]* | regexp10 = 5namedata[%d]* | allegiance | alma_mater | regexp11 = alongside[%d]* | alt | regexp12 = ambassador_from[%d]* | regexp13 = appointed[%d]* | regexp14 = appointer[%d]* | regexp15 = assembly[%d]* | awards | battles | battles_label | birth_date | birth_name | birth_place | birthname | regexp16 = blank[%d]* | bodyclass | branch | branch_label | cabinet | candidate | caption | categories | regexp17 = chancellor[%d]* | children | citizenship | regexp18 = co%-leader[%d]* | commands | committees | regexp19 = constituency[%d]* | regexp20 = constituency_AM[%d]* | regexp21 = constituency_MP[%d]* | regexp22 = convocation[%d]* | regexp23 = country[%d]* | regexp24 = data[%d]* | date | death_cause | death_date | death_manner | death_place | demo | regexp25 = deputy[%d]* | regexp26 = district[%d]* | education | election_date | embed | father | regexp28 = firstminister[%d]* | footnotes | regexp29 = governor[%d]* | regexp30 = governor_general[%d]* | regexp31 = governor%-general[%d]* | height | honorific_prefix | honorific-prefix | honorific_suffix | honorific-suffix | image | image name | image_name_alt | image_size | imagesize | image_upright | incumbent | regexp32 = jr/sr[%d]* | regexp33 = jr/sr and state[%d]* | known_for | regexp34 = leader[%d]* | regexp35 = legislature[%d]* | regexp36 = lieutenant[%d]* | regexp37 = lieutenant_governor[%d]* | mainwidth | regexp38 = majority[%d]* | regexp39 = majority_floor_leader[%d]* | regexp40 = majority_leader[%d]* | regexp41 = majorityleader[%d]* | mawards | regexp42 = military_blank[%d]* | regexp43 = military_data[%d]* | regexp44 = minister[%d]* | regexp45 = minister_from[%d]* | regexp46 = minority_floor_leader[%d]* | regexp47 = minority_leader[%d]* | regexp48 = minorityleader[%d]* | regexp49 = module[%d]* | regexp50 = monarch[%d]* | mother | name | nationality | native_name | native_name_lang | nickname | nocat | regexp51 = nominator[%d]* | nominee | occupation | regexp52 = office[%d]* | opponent | regexp53 = order[%d]* | otherparty | other_party | parents | regexp54 = parliament[%d]* | regexp55 = parliamentarygroup[%d]* | partner | party | party_election | portfolio | regexp56 = preceded[%d]* | regexp57 = preceding[%d]* | regexp58 = predecessor[%d]* | regexp59 = premier[%d]* | regexp60 = president[%d]* | regexp61 = primeminister[%d]* | regexp62 = prior_term[%d]* | profession | pronunciation | rank | rank_label | relations | relatives | residence | resting_place | resting_place_coordinates | restingplace | restingplacecoordinates | regexp63 = riding[%d]* | runningmate | salary | serviceyears | serviceyears_label | signature | signature_alt | signature_size | smallimage | smallimage_alt | source | speaker | speaker_office | spouse | spouses | regexp64 = state[%d]* | regexp65 = state_assembly[%d]* | regexp66 = state_delegate[%d]* | regexp67 = state_house[%d]* | regexp68 = state_legislature[%d]* | regexp69 = state_senate[%d]* | regexp70 = status[%d]* | regexp71 = suboffice[%d]* | regexp72 = subterm[%d]* | regexp73 = succeeded[%d]* | regexp74 = succeeding[%d]* | regexp75 = successor[%d]* | regexp76 = taoiseach[%d]* | regexp77 = term[%d]* | regexp78 = term_end[%d]* | regexp79 = term_label[%d]* | regexp80 = term_start[%d]* | regexp81 = termend[%d]* | regexp82 = termlabel[%d]* | regexp83 = termstart[%d]* | regexp84 = title[%d]* | unit | unit_label | regexp85 = vicegovernor[%d]* | regexp86 = vicepremier[%d]* | regexp87 = vicepresident[%d]* | regexp88 = viceprimeminister[%d]* | regexp89 = assuming[%d]* | website | width | year | ||
| era | |||
}}{{#invoke:Check for conflicting parameters|check | |||
| template = [[Template:Infobox officeholder]] | | template = [[Template:Infobox officeholder]] | ||
| cat = {{main other|Category:Pages using infobox officeholder with conflicting parameters}} | | cat = {{main other|Category:Pages using infobox officeholder with conflicting parameters}} | ||
Revision as of 00:07, 11 July 2026
Infobox officeholder | |
|---|---|
| File:Ambox important.svg | The design and content of biographical infoboxes must follow Vrienden Universe sourcing and style standards. Unsourced or poorly sourced contentious material must be removed. |
| Warning | This template is used on approximately 277,000 pages. To avoid major disruption and server load, any changes should be tested in the 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. |
Use {{Infobox officeholder}} directly; specialized imported aliases are not maintained on this wiki.
| 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 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 wiki 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. 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, "Minister for Defence". However, if |order= is specified together with |office=, the value of |office= is automatically linked to a wiki 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. Do not add decorative flags.
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}}}]] {{{caption}}} | |
| {{{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]] {{{caption}}} | |
| {{{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 officeholder
| honorific_prefix = | name = | honorific_suffix = | image = | alt = | caption = | 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]] {{{caption}}} | |
| 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 officeholder
| 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]] {{{caption}}} | |
| {{{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 officeholder
| honorific_prefix = | name = | honorific_suffix = | image = | alt = | caption = | 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]] {{{caption}}} | |
| {{{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 officeholder
| 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]] {{{caption}}} | |
| 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 officeholder
| 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]] {{{caption}}} | |
| 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 officeholder
| honorific_prefix = | name = | honorific_suffix = | image = | alt = | caption = | 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]] {{{caption}}} | |
| 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 officeholder | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Member of the U.S. House of Representatives from 's </syntaxhighlight> If Representative served as Speaker of the State House add:
<syntaxhighlight lang="wikitext" style="overflow:auto;"> district For Representative from states that have an Assembly, instead of state_house use:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Succeeded by | </syntaxhighlight>
Personal dataPlace this underneath the template
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
</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 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 Example City | |
| In office 1994–1998 | |
| Website | example |
</syntaxhighlight>
Microformat
The HTML markup produced by this template includes an , which makes the person's details by computers, either acting automatically to catalogue articles across the wiki or via a browser tool operated by a reader, to (for example) add the subject to an address book or database.
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
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.
Tracking categories
Hidden tracking/maintenance categories (in main and supporting templates)
- Category:Biography template using pronunciation (3)
- 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)
See also
Template:S-start(succession box standardization)
Supporting templates