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. 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 "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
 {{Infobox officeholder
 * honorific-prefix  =
 * name              =
 * 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
 {{Infobox ambassador add personal data
 * honorific-prefix =
 * name       =
 * honorific-suffix =
 * image      =
 * imagesize  =
 * alt        =
 * order      =
 * ambassador_from =
 * country    =
 * term_start =
 * term_end   =
 * predecessor =
 * successor  =
 * president  =

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

Governor
 {{Infobox governor
 * 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
 {{Infobox judge add personal data
 * honorific-prefix =
 * name       =
 * honorific-suffix =
 * image      =
 * imagesize  =
 * alt        =
 * caption    =
 * office     =
 * term_start =
 * term_end   =
 * nominator  =
 * appointer  =
 * predecessor =
 * successor  =

Nominee/Candidate

 * Do not add this section to pages of people who have held a previous office.

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

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

Member of Parliament
 {{Infobox MP
 * honorific-prefix =
 * name       =
 * honorific-suffix =
 * image      =
 * alt        =
 * caption    =
 * constituency_MP =
 * parliament =
 * majority   =
 * term_start =
 * term_end   =
 * predecessor =
 * successor  =

U.S. Congressman
 {{Infobox Congressman
 * 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="font-size:95%; overflow:auto;">
 * succeeding  =

State Representative
<pre style="font-size:95%; overflow:auto;"> {{Infobox state representative
 * 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="font-size:95%; overflow:auto;">
 * state_assembly =

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

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

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

U.S. Senator
<pre style="font-size:95%; overflow:auto;"> {{Infobox senator
 * honorific-prefix =
 * name       =
 * honorific-suffix =
 * image      =
 * imagesize  =
 * alt        =
 * jr/sr      =    This code has been disabled per Template talk:Infobox Officeholder.
 * state      =
 * term_start =
 * term_end   =
 * predecessor =
 * successor  =

<pre style="font-size:95%; overflow:auto;">
 * alongside  =

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

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

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

State Senator
<pre style="font-size:95%; overflow:auto;"> {{Infobox State Senator
 * 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="font-size:95%; overflow:auto;">
 * majority_leader3 =
 * term_start3 =
 * term_end3   =
 * predecessor3 =
 * successor3  =

If State Senator served as Minority Leader of the State Senate add: <pre style="font-size:95%; 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="font-size:95%; 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="font-size:95%; overflow:auto;">
 * minority_floor_leader3 =
 * term_start3 =
 * term_end3   =
 * predecessor3 =
 * successor3  =

Personal data
All are optional. Don't include fields that won't be used.

<pre style="font-size:95%; overflow:auto;">
 * birth_date =
 * birth_place =
 * death_date =
 * death_place =
 * restingplace =
 * restingplacecoordinates =
 * birthname =
 * citizenship =
 * nationality =
 * ethnicity =
 * party =
 * otherparty =
 * spouse =
 * partner =
 * relations =
 * children =
 * residence =
 * alma_mater =
 * occupation =
 * profession =
 * cabinet =
 * committees =
 * portfolio =
 * blank1=
 * data1=
 * blank2=
 * data2=
 * blank3=
 * data3=
 * blank4=
 * data4=
 * blank5=
 * data5=
 * website=

Military data <pre style="font-size:95%; overflow:auto;">
 * 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=

Continuation of personal data <pre style="font-size:95%; overflow:auto;">
 * footnotes =
 * date=
 * year=
 * source=
 * signature =
 * signature_alt =