Template:Infobox officeholder/doc

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.

The parameter order is used in conjunction with office to state that the officeholder is the nth holder of the office, for example "2nd President of Mauritius". 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 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 using the parameters term, terms2, etc. This can be helpful with 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).

General office

 * For examples of this code in use see Template:Infobox officeholder/example

 {{Infobox officeholder add personal data
 * honorific-prefix  =
 * name              =
 * native_name       =
 * native_name_lang  =
 * honorific-suffix  =
 * image             =
 * imagesize         =
 * smallimage        =
 * alt               =
 * caption           =
 * order             =
 * office            =
 * term_start        =
 * term_end          =
 * alongside         =
 * vicepresident     =
 * viceprimeminister =
 * deputy            =
 * lieutenant        =
 * monarch           =
 * president         =
 * primeminister     =
 * taoiseach         =
 * chancellor        =
 * governor          =
 * governor-general  =
 * governor_general  =
 * succeeding        =
 * predecessor       =
 * successor         =
 * constituency      =
 * majority          =
 * order2            =
 * office2           =
 * term_start2       =
 * term_end2         =
 * alongside2        =
 * vicepresident2    =
 * viceprimeminister2 =
 * deputy2           =
 * lieutenant2       =
 * monarch2          =
 * president2        =
 * primeminister2    =
 * governor2         =
 * succeeding2       =
 * predecessor2      =
 * successor2        =
 * constituency2     =
 * majority2         =

Ambassador

 * For examples of this code in use see Template:Infobox officeholder/example

 {{Infobox officeholder add personal data
 * honorific-prefix =
 * name       =
 * honorific-suffix =
 * image      =
 * alt        =
 * order      =
 * ambassador_from =
 * country    =
 * term_start =
 * term_end   =
 * predecessor =
 * successor  =
 * president  =

Assembly Member

 * For examples of this code in use see Template:Infobox officeholder/example

 {{Infobox officeholder add personal data
 * honorific-prefix =
 * name       =
 * honorific-suffix =
 * image      =
 * alt        =
 * caption    =
 * constituency_AM =
 * assembly   =
 * majority   =
 * term_start =
 * term_end   =
 * predecessor =
 * successor  =

Governor

 * For examples of this code in use see Template:Infobox officeholder/example

 {{Infobox officeholder add personal data
 * honorific-prefix =
 * name       =
 * honorific-suffix =
 * image      =
 * alt        =
 * order      =
 * office     =
 * term_start =
 * term_end   =
 * lieutenant =
 * predecessor =
 * successor  =

If Governor was appointed by a President, add: 
 * president  =

If Governor appointed by other, add: 
 * appointed  =

Judge

 * For examples of this code in use see Template:Infobox officeholder/example

 {{Infobox officeholder add personal data
 * honorific-prefix =
 * name       =
 * honorific-suffix =
 * image      =
 * alt        =
 * caption    =
 * office     =
 * term_start =
 * term_end   =
 * nominator  =
 * appointer  =
 * predecessor =
 * successor  =

Nominee/Candidate

 * For examples of this code in use see Template:Infobox officeholder/example
 * Do not add this section to pages of people who have held a previous office.

 {{Infobox officeholder
 * honorific-prefix =
 * name     =
 * honorific-suffix =
 * image    =
 * alt      =
 * caption  =
 * nominee  =
 * party_election =
 * election_date =
 * runningmate =
 * opponent =
 * incumbent =

If a candidate, then instead of  use: 
 * candidate =

add personal data

Member of Parliament

 * For examples of this code in use see Template:Infobox officeholder/example

 {{Infobox officeholder add personal data
 * honorific-prefix =
 * name       =
 * honorific-suffix =
 * image      =
 * alt        =
 * caption    =
 * constituency_MP =
 * parliament =
 * majority   =
 * term_start =
 * term_end   =
 * predecessor =
 * successor  =

U.S. Congressman

 * For examples of this code in use see Template:Infobox officeholder/example

 {{Infobox officeholder add personal data
 * honorific-prefix =
 * name       =
 * honorific-suffix =
 * image      =
 * alt        =
 * state      =
 * district   =
 * term_start =
 * term_end   =
 * predecessor =
 * successor  =

If Congressman served as Speaker of the House add: 
 * speaker     =
 * term_start2 =
 * term_end2   =
 * predecessor2 =
 * successor2  =

If Congressman has been elected but not sworn in: <pre style="overflow:auto;">
 * succeeding  =

State Representative

 * For examples of this code in use see Template:Infobox officeholder/example

<pre style="overflow:auto;"> {{Infobox officeholder add personal data
 * honorific-prefix =
 * name        =
 * honorific-suffix =
 * image       =
 * alt         =
 * state_house =
 * district    =
 * term_start  =
 * term_end    =
 * predecessor =
 * successor   =

For Representative from states that have an Assembly, instead of state_house use: <pre style="overflow:auto;">
 * state_assembly =

For Representative from states that have a House of Delegates, instead of state_house use: <pre style="overflow:auto;">
 * state_delegate =

For Representative from states that have a Legislature, instead of state_house use: <pre style="overflow:auto;">
 * state_legislature =

If Representative served as Speaker of the State House add: <pre style="overflow:auto;">
 * speaker     =
 * state_house =
 * term_start2 =
 * term_end2   =
 * predecessor2 =
 * successor2  =

U.S. Senator

 * For examples of this code in use see Template:Infobox officeholder/example

<pre style="overflow:auto;"> {{Infobox officeholder add personal data
 * honorific-prefix =
 * name       =
 * honorific-suffix =
 * image      =
 * imagesize  =
 * alt        =
 * state      =
 * term_start =
 * term_end   =
 * predecessor =
 * successor  =

<pre style="overflow:auto;">
 * alongside  =

If Senator has just been elected and is a Senator-Elect: <pre style="overflow:auto;">
 * succeeding =

If Senator served as Senate Majority Leader add: <pre style="overflow:auto;">
 * majorityleader3 =
 * term_start3 =
 * term_end3   =
 * predecessor3 =
 * successor3  =

If Senator served as Congressman add: <pre style="overflow:auto;">
 * state3      =
 * district3   =
 * term_start3 =
 * term_end3   =
 * predecessor3 =
 * successor3  =

State Senator

 * For examples of this code in use see Template:Infobox officeholder/example

<pre style="overflow:auto;"> {{Infobox officeholder add personal data
 * honorific-prefix =
 * name        =
 * honorific-suffix =
 * image       =
 * alt         =
 * state_senate =
 * district    =
 * term_start  =
 * term_end    =
 * predecessor =
 * successor   =

If State Senator served as Majority Leader of the State Senate add: <pre style="overflow:auto;">
 * majority_leader3 =
 * term_start3 =
 * term_end3   =
 * predecessor3 =
 * successor3  =

If State Senator served as Minority Leader of the State Senate add: <pre style="overflow:auto;">
 * minority_leader3 =
 * term_start3 =
 * term_end3   =
 * predecessor3 =
 * successor3  =

If State Senator served as Majority Floor Leader of the State Senate add: <pre style="overflow:auto;">
 * majority_floor_leader3 =
 * term_start3 =
 * term_end3   =
 * predecessor3 =
 * successor3  =

If State Senator served as Minority Floor Leader of the State Senate add: <pre style="overflow:auto;">
 * minority_floor_leader3 =
 * term_start3 =
 * term_end3   =
 * predecessor3 =
 * successor3  =

Personal data
Place this underneath the template <pre style="overflow:auto;">
 * birth_date        =
 * birth_place       =
 * death_date        =
 * death_place       =
 * restingplace      =
 * restingplacecoordinates =
 * birthname         =
 * citizenship       =
 * nationality       =
 * party             =
 * otherparty        =
 * spouse            =
 * partner           =
 * relations         =
 * children          =
 * residence         =
 * alma_mater        =
 * occupation        =
 * profession        =
 * cabinet           =
 * committees        =
 * portfolio         =
 * religion          =
 * signature         =
 * signature_alt     =
 * website           =
 * footnotes         =
 * blank1            =
 * data1             =
 * blank2            =
 * data2             =
 * blank3            =
 * data3             =
 * blank4            =
 * data4             =
 * blank5            =
 * data5             =

}}
 * nickname          =
 * allegiance        =
 * branch            =
 * serviceyears      =
 * rank              =
 * unit              =
 * commands          =
 * battles           =
 * awards            =
 * military_blank1   =
 * military_data1    =
 * military_blank2   =
 * military_data2    =
 * military_blank3   =
 * military_data3    =
 * military_blank4   =
 * military_data4    =
 * military_blank5   =
 * military_data5    =