Template:Infobox officeholder/doc: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
(Created page with "<pre> {{Infobox officeholder | honorific_prefix = | name = | native_name = <!--The person's name in their own language, if different.--> | native_...")
 
No edit summary
Line 1: Line 1:
<pre>
{{Documentation subpage}}
 
==Usage==
Paste the code for the relevant office and then add the [[#Personal data|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 [[Template:Infobox officeholder/example#Multiple terms|this page]]. For advice on alt text, see ''[[Wikipedia:Alternative text for images]]''.
 
The parameter {{para|order}} is used in conjunction with {{para|office}} to state that the officeholder is the ''n''th holder of the office, for example "2nd President of Mauritius". If {{para|order}} is not specified, the value of {{para|office}} can be [[Help:Link#Wikilinks|wikilinked]] in the usual way, for example, "<tt><nowiki>[[Ministry of Defence (Singapore)|Minister for Defence]]</nowiki></tt>". However, if {{para|order}} is specified together with {{para|office}}, the value of {{para|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 [[Wikipedia:Piped link|piped link]] can be created like this: "<tt><nowiki>Ministry of Defence (Singapore){{!}}Minister for Defence</nowiki></tt>" (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 {{para|term}}, {{para|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).
 
Where a politician was redistricted into a new district, you can use {{para|prior_term}} to indicate which district(s) he was 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 preceded when the subject first took office and the person succeeded when the subject last left office.  If more complete documentation of the districts is desired, it can be done with [[WP:SBS|succession boxes]] at the end of the article.
 
==General office==
{{For|examples of this code in use|Template:Infobox officeholder/example#General office}}
<pre style="overflow:auto;">
{{Infobox officeholder
{{Infobox officeholder
| honorific_prefix   =  
|honorific-prefix   =  
| name              =  
|name              =  
| native_name        = <!--The person's name in their own language, if different.-->
|native_name        =  
| native_name_lang  = <!--ISO 639-1 code, e.g., "fr" for French. If more than one, use {{lang}} in |native_name= instead.-->
|native_name_lang  =  
| honorific_suffix  =  
|honorific-suffix  =
| image              =
|image              =  
| image_size        =
|imagesize          =  
| image_upright      =
|smallimage         = <!--If this is specified, "image" should not be.-->
| smallimage         = <!--If this is specified, "image" should not be.-->
|alt                =  
| alt                =  
|caption            =  
| caption            =  
|order              =  
| order              =  
|office            =  
| office            =  
|term_start        =
| status            = <!--If this is specified, overrides Incumbent.-->
|term_end          =
| term_start        =  
|alongside          = <!--For two or more people serving in the same position from the same district.  (e.g. United States Senators.)-->
| term_end          = <!-- Add data only when the actual term has ended, not for terms which will end in the future. (Per usage guideline.) -->
|vicepresident      =  
| alongside          = <!--For two or more people serving in the same position from the same district.  (e.g. United States Senators.)-->
|viceprimeminister  =  
| monarch            =  
|deputy            =
| president          =  
|lieutenant        =  
| governor_general  =
|monarch            =  
| primeminister      =  
|president          =  
| taoiseach          =  
|primeminister      =  
| chancellor        =  
|taoiseach          =  
| governor          =  
|chancellor        =  
| vicepresident      =  
|governor          =  
| viceprimeminister  =  
|governor-general  =  
| deputy            =  
|governor_general  =  
| lieutenant        =  
|constituency      =  
| vicechair          =
|majority          =  
| succeeding         = <!--For President-elect or equivalent-->
|succeeding         = <!--For President-elect or equivalent-->
| parliamentarygroup =
|predecessor        =  
| constituency      =
|successor          =  
| majority          =
|prior_term        =
| predecessor        =  
|order2            =  <!--Can be repeated up to eight times by changing the number-->
| successor          =  
|office2            =  <!--Can be repeated up to eight times by changing the number-->
| prior_term        =  
|term_start2        =  <!--Can be repeated up to eight times by changing the number-->
| order2            =  <!--Can be repeated up to 16 times by changing the number-->
|term_end2          =  <!--Can be repeated up to eight times by changing the number-->
| office2            =  <!--Can be repeated up to 16 times by changing the number-->
|alongside2        =  <!--Can be repeated up to eight times by changing the number-->
| term_start2        =  <!--Can be repeated up to 16 times by changing the number-->
|vicepresident2    =  <!--Can be repeated up to eight times by changing the number-->
| term_end2          =  <!--Can be repeated up to 16 times by changing the number-->
|viceprimeminister2 =  <!--Can be repeated up to eight times by changing the number-->
| alongside2        =  <!--Can be repeated up to 16 times by changing the number-->
|deputy2            =  <!--Can be repeated up to eight times by changing the number-->
| monarch2          =  <!--Can be repeated up to 16 times by changing the number-->
|lieutenant2        =  <!--Can be repeated up to eight times by changing the number-->
| president2        =  <!--Can be repeated up to 16 times by changing the number-->
|monarch2          =  <!--Can be repeated up to eight times by changing the number-->
| governor_general2  =  <!--Can be repeated up to 16 times by changing the number-->
|president2         =  <!--Can be repeated up to eight times by changing the number-->
| primeminister2    =  <!--Can be repeated up to 16 times by changing the number-->
|primeminister2    =  <!--Can be repeated up to eight times by changing the number-->
| chancellor2        =  <!--Can be repeated up to 16 times by changing the number-->
|governor2          =  <!--Can be repeated up to eight times by changing the number-->
| taoiseach2         =  <!--Can be repeated up to 16 times by changing the number-->
|succeeding2        =  <!--Can be repeated up to eight times by changing the number-->
| governor2          =  <!--Can be repeated up to 16 times by changing the number-->
|predecessor2      =  <!--Can be repeated up to eight times by changing the number-->
| vicepresident2    =  <!--Can be repeated up to 16 times by changing the number-->
|successor2        =  <!--Can be repeated up to eight times by changing the number-->
| viceprimeminister2 =  <!--Can be repeated up to 16 times by changing the number-->
|constituency2      =  <!--Can be repeated up to eight times by changing the number-->
| deputy2            =  <!--Can be repeated up to 16 times by changing the number-->
|majority2          =  <!--Can be repeated up to eight times by changing the number-->
| lieutenant2        =  <!--Can be repeated up to 16 times by changing the number-->
</pre>
| vicechair2        =  <!--Can be repeated up to 16 times by changing the number-->
''add [[#Personal data|personal data]]''
| succeeding2        =  <!--Can be repeated up to 16 times by changing the number-->
 
| predecessor2      =  <!--Can be repeated up to 16 times by changing the number-->
==Ambassador==
| successor2        = <!--Can be repeated up to 16 times by changing the number-->
{{For|examples of this code in use|Template:Infobox officeholder/example#Ambassador}}
| parliamentarygroup2=  <!--Can be repeated up to 16 times by changing the number-->
<pre style="overflow:auto;">
| constituency2      =  <!--Can be repeated up to 16 times by changing the number-->
{{Infobox ambassador
| majority2          =  <!--Can be repeated up to 16 times by changing the number-->
|honorific-prefix =
  | prior_term2        =  <!--Can be repeated up to 16 times by changing the number-->
|name        =
|honorific-suffix =
|image      =
|alt        =
|order      =  <!--Can be repeated up to eight times by adding a number-->
|ambassador_from =  <!--Can be repeated up to eight times by adding a number-->
|country    =  <!--Can be repeated up to eight times by adding a number-->
|term_start  = <!--Can be repeated up to eight times by adding a number-->
|term_end    =  <!--Can be repeated up to eight times by adding a number-->
|predecessor =  <!--Can be repeated up to eight times by adding a number-->
|successor  =  <!--Can be repeated up to eight times by adding a number-->
|president  =  <!--Can be repeated up to eight times by adding a number-->
</pre>
''add [[#Personal data|personal data]]''
 
==Assembly Member==
{{For|examples of this code in use|Template:Infobox officeholder/example#Assembly Member}}
<pre style="overflow:auto;">
{{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 eight times by adding a number-->
|majority    =  <!--Can be repeated up to eight times by adding a number-->
|term_start  =  <!--Can be repeated up to eight times by adding a number-->
|term_end    =  <!--Can be repeated up to eight times by adding a number-->
|predecessor =  <!--Can be repeated up to eight times by adding a number-->
|successor  =  <!--Can be repeated up to eight times by adding a number-->
|prior_term  =
</pre>
''add [[#Personal data|personal data]]''
 
==Governor==
{{For|examples of this code in use|Template:Infobox officeholder/example#Governor}}
<pre style="overflow:auto;">
{{Infobox governor
|honorific-prefix =
|name        =
|honorific-suffix =
|image      =
|alt        =
|order      =  <!--Can be repeated up to eight times by adding a number-->
|office      =  <!--Can be repeated up to eight times by adding a number-->
|term_start  =  <!--Can be repeated up to eight times by adding a number-->
|term_end    =  <!--Can be repeated up to eight times by adding a number-->
|lieutenant  =  <!--Can be repeated up to eight times by adding a number-->
|predecessor =  <!--Can be repeated up to eight times by adding a number-->
|successor  =  <!--Can be repeated up to eight times by adding a number-->
</pre>
''add [[#Personal data|personal data]]''
 
If Governor was appointed by a President, add:
<pre style="overflow:auto;">
|president  =  <!--name of president-->
</pre>
 
If Governor appointed by other, add:
<pre style="overflow:auto;">
|appointed  =  <!--name of appointer-->
</pre>
 
==Judge==
{{For|examples of this code in use|Template:Infobox officeholder/example#Judge}}
<pre style="overflow:auto;">
{{Infobox judge
|honorific-prefix =
|name        =
|honorific-suffix =
|image      =
|alt        =
|caption    =
|office      =  <!--Can be repeated up to eight times by changing the number-->
|term_start  =  <!--Can be repeated up to eight times by changing the number-->
|term_end    =  <!--Can be repeated up to eight times by changing the number-->
|nominator  =  <!--Can be repeated up to eight times by changing the number-->
|appointer  =  <!--Can be repeated up to eight times by changing the number-->
|predecessor =  <!--Can be repeated up to eight times by changing the number-->
|successor  =  <!--Can be repeated up to eight times by changing the number-->
</pre>
''add [[#Personal data|personal data]]''
 
==Nominee/Candidate==
{{For|examples of this code in use|Template:Infobox officeholder/example#Nominee/Candidate}}
:'''''Do not add this section to pages of people who have held a previous office.'''''
<pre style="overflow:auto;">
{{Infobox candidate
|honorific-prefix =
|name      =
|honorific-suffix =
|image    =
|alt      =
|caption  =
|nominee  =
|party_election =
|election_date =
|runningmate =
|opponent  =
|incumbent =
</pre>
 
If a candidate, then instead of <code>nominee</code> use:
<pre style="overflow:auto;">
|candidate =
</pre>
 
''add [[#Personal data|personal data]]''
 
==Member of Parliament==
{{For|examples of this code in use|Template:Infobox officeholder/example#Member of Parliament}}
<pre style="overflow:auto;">
{{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 eight times by adding a number-->
|majority    =  <!--Can be repeated up to eight times by adding a number-->
|term_start  =  <!--Can be repeated up to eight times by adding a number-->
|term_end    =  <!--Can be repeated up to eight times by adding a number-->
|predecessor =  <!--Can be repeated up to eight times by adding a number-->
|successor  =  <!--Can be repeated up to eight times by adding a number-->
|prior_term  =
</pre>
''add [[#Personal data|personal data]]''
 
==U.S. Representatives==
===U.S. Congressman===
{{For|examples of this code in use|Template:Infobox officeholder/example#US Congressman}}
<pre style="overflow:auto;">
{{Infobox Congressman
|honorific-prefix =
|name        =
|honorific-suffix =
|image      =
|alt        =
|state      =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|district    =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|term_start  =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|term_end    =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|predecessor =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|successor  =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|prior_term  =
</pre>
''add [[#Personal data|personal data]]''
 
If Congressman served as Speaker of the House add:
<pre style="overflow:auto;">
|speaker      =  <!--number of office holder-->
|term_start2  =
|term_end2    =
|predecessor2 =
|successor2  =
</pre>
 
If Congressman has been elected but not sworn in:
<pre style="overflow:auto;">
|succeeding  =  <!--the name of the incumbent congressman-->
</pre>
 
===State Representative===
{{For|examples of this code in use|Template:Infobox officeholder/example#State Representative}}
<pre style="overflow:auto;">
{{Infobox state representative
|honorific-prefix =
|name        =
|honorific-suffix =
|image        =
|alt          =
|state_house  =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|district    =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|term_start  =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|term_end    =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|predecessor  =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|successor    =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|prior_term  =
</pre>
''add [[#Personal data|personal data]]''
 
For Representative from states that have an Assembly, instead of state_house use:
<pre style="overflow:auto;">
|state_assembly =  <!--Can be repeated up to seven times by adding a number, start at 3-->
</pre>
 
For Representative from states that have a House of Delegates, instead of state_house use:
<pre style="overflow:auto;">
|state_delegate =  <!--Can be repeated up to seven times by adding a number, start at 3-->
</pre>
 
For Representative from states that have a Legislature, instead of state_house use:
<pre style="overflow:auto;">
|state_legislature =  <!--Can be repeated up to seven times by adding a number, start at 3-->
</pre>
 
If Representative served as Speaker of the State House add:
<pre style="overflow:auto;">
|speaker      =  <!--number of office holder-->
|state_house  =
|term_start2  =
|term_end2    =
|predecessor2 =
|successor2  =
</pre>
 
==U.S. Senators==
===U.S. Senator===
{{For|examples of this code in use|Template:Infobox officeholder/example#US Senator}}
<pre style="overflow:auto;">
{{Infobox senator
|honorific-prefix =
|name        =
|honorific-suffix =
|image      =
|imagesize  =
|alt        =
|jr/sr      =  <!--Can be repeated up to eight times by appending 2, 3, etc-->  This code has been disabled per Template talk:Infobox officeholder.
|state      =  <!--Can be repeated up to eight times by appending 2, 3, etc-->
|term_start  =  <!--Can be repeated up to eight times by appending 2, 3, etc-->
|term_end    =  <!--Can be repeated up to eight times by appending 2, 3, etc-->
|predecessor =  <!--Can be repeated up to eight times by appending 2, 3, etc-->
|successor  =  <!--Can be repeated up to eight times by appending 2, 3, etc-->
</pre>
''add [[#Personal data|personal data]]''
 
<pre style="overflow:auto;">
|alongside  =  <!--the name of fellow senator-->
</pre>
 
If Senator has just been elected and is a Senator-Elect:
<pre style="overflow:auto;">
|succeeding  =  <!--the name of the incumbent senator-->
</pre>
 
If Senator served as Senate Majority Leader add:
<pre style="overflow:auto;">
|majorityleader3 =  <!--number of office holder-->
|term_start3  =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|term_end3    =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|predecessor3 =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|successor3  =  <!--Can be repeated up to seven times by adding a number, start at 3-->
</pre>
 
If Senator served as Congressman add:
<pre style="overflow:auto;">
|state3      =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|district3    =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|term_start3  =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|term_end3    =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|predecessor3 =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|successor3  =  <!--Can be repeated up to seven times by adding a number, start at 3-->
</pre>
 
===State Senator===
{{For|examples of this code in use|Template:Infobox officeholder/example#State Senator}}
<pre style="overflow:auto;">
{{Infobox State Senator
|honorific-prefix =
|name        =
|honorific-suffix =
|image        =
|alt          =
|state_senate =  <!--Can be repeated up to eight times by appending 2, 3, etc-->
|district    =  <!--Can be repeated up to eight times by appending 2, 3, etc-->
|term_start  =  <!--Can be repeated up to eight times by appending 2, 3, etc-->
|term_end    =  <!--Can be repeated up to eight times by appending 2, 3, etc-->
|predecessor  =  <!--Can be repeated up to eight times by appending 2, 3, etc-->
|successor    =  <!--Can be repeated up to eight times by appending 2, 3, etc-->
|prior_term  =
</pre>
''add [[#Personal data|personal data]]''
 
If State Senator served as Majority Leader of the State Senate add:
<pre style="overflow:auto;">
|majority_leader3 =  <!--number of office holder-->
|term_start3  =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|term_end3    =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|predecessor3 =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|successor3  =  <!--Can be repeated up to seven times by adding a number, start at 3-->
</pre>
 
 
If State Senator served as Minority Leader of the State Senate add:
<pre style="overflow:auto;">
|minority_leader3 =  <!--number of office holder-->
|term_start3  =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|term_end3    =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|predecessor3 =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|successor3  =  <!--Can be repeated up to seven times by adding a number, start at 3-->
</pre>
 
If State Senator served as Majority Floor Leader of the State Senate add:
<pre style="overflow:auto;">
|majority_floor_leader3 =  <!--number of office holder-->
|term_start3  =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|term_end3    =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|predecessor3 =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|successor3  =  <!--Can be repeated up to seven times by adding a number, start at 3-->
</pre>
 
If State Senator served as Minority Floor Leader of the State Senate add:
<pre style="overflow:auto;">
|minority_floor_leader3 =  <!--number of office holder-->
|term_start3  =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|term_end3    =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|predecessor3 =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|successor3  =  <!--Can be repeated up to seven times by adding a number, start at 3-->
</pre>
 
==Personal data==
Place this underneath the template
<pre style="overflow:auto;">
|birth_date        = <!-- {{Birth date and age|YYYY|MM|DD}} or {{Birth-date and age|Month DD, YYYY}} -->
|birth_place        =
|death_date        = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} or {{Death-date and age|Month DD, YYYY|Month DD, YYYY}} (death date then birth date) -->
|death_place        =
|restingplace      =
|restingplacecoordinates =
|birthname          =
|citizenship        =
|nationality        =
|party              =
|otherparty        =  <!--For additional political affiliations-->
|spouse            =
|partner            =  <!--For those with a domestic partner and not married-->
|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              =
<!--Military service-->
|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    =
}}
</pre>
</pre>

Revision as of 06:30, 18 June 2020

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 "2nd President of Mauritius". 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 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).

Where a politician was redistricted into a new district, you can use |prior_term= to indicate which district(s) he was 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 preceded when the subject first took office and the person succeeded when the subject last left office. If more complete documentation of the districts is desired, it can be done with succession boxes at the end of the article.

General office

For examples of this code in use, see Template:Infobox officeholder/example#General office.
{{Infobox officeholder
|honorific-prefix   = 
|name               = 
|native_name        = 
|native_name_lang   = 
|honorific-suffix   = 
|image              = 
|imagesize          = 
|smallimage         = <!--If this is specified, "image" should not be.-->
|alt                = 
|caption            = 
|order              = 
|office             = 
|term_start         = 
|term_end           = 
|alongside          = <!--For two or more people serving in the same position from the same district.  (e.g. United States Senators.)-->
|vicepresident      = 
|viceprimeminister  = 
|deputy             = 
|lieutenant         = 
|monarch            = 
|president          = 
|primeminister      = 
|taoiseach          = 
|chancellor         = 
|governor           = 
|governor-general   = 
|governor_general   = 
|constituency       = 
|majority           = 
|succeeding         = <!--For President-elect or equivalent-->
|predecessor        = 
|successor          = 
|prior_term         =
|order2             =  <!--Can be repeated up to eight times by changing the number-->
|office2            =  <!--Can be repeated up to eight times by changing the number-->
|term_start2        =  <!--Can be repeated up to eight times by changing the number-->
|term_end2          =  <!--Can be repeated up to eight times by changing the number-->
|alongside2         =  <!--Can be repeated up to eight times by changing the number-->
|vicepresident2     =  <!--Can be repeated up to eight times by changing the number-->
|viceprimeminister2 =  <!--Can be repeated up to eight times by changing the number-->
|deputy2            =  <!--Can be repeated up to eight times by changing the number-->
|lieutenant2        =  <!--Can be repeated up to eight times by changing the number-->
|monarch2           =  <!--Can be repeated up to eight times by changing the number-->
|president2         =  <!--Can be repeated up to eight times by changing the number-->
|primeminister2     =  <!--Can be repeated up to eight times by changing the number-->
|governor2          =  <!--Can be repeated up to eight times by changing the number-->
|succeeding2        =  <!--Can be repeated up to eight times by changing the number-->
|predecessor2       =  <!--Can be repeated up to eight times by changing the number-->
|successor2         =  <!--Can be repeated up to eight times by changing the number-->
|constituency2      =  <!--Can be repeated up to eight times by changing the number-->
|majority2          =  <!--Can be repeated up to eight times by changing the number-->

add personal data

Ambassador

For examples of this code in use, see Template:Infobox officeholder/example#Ambassador.
{{Infobox ambassador
|honorific-prefix = 
|name        = 
|honorific-suffix = 
|image       = 
|alt         = 
|order       =  <!--Can be repeated up to eight times by adding a number-->
|ambassador_from =  <!--Can be repeated up to eight times by adding a number-->
|country     =  <!--Can be repeated up to eight times by adding a number-->
|term_start  =  <!--Can be repeated up to eight times by adding a number-->
|term_end    =  <!--Can be repeated up to eight times by adding a number-->
|predecessor =  <!--Can be repeated up to eight times by adding a number-->
|successor   =  <!--Can be repeated up to eight times by adding a number-->
|president   =  <!--Can be repeated up to eight times by adding a number-->

add personal data

Assembly Member

For examples of this code in use, see Template:Infobox officeholder/example#Assembly Member.
{{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 eight times by adding a number-->
|majority    =  <!--Can be repeated up to eight times by adding a number-->
|term_start  =  <!--Can be repeated up to eight times by adding a number-->
|term_end    =  <!--Can be repeated up to eight times by adding a number-->
|predecessor =  <!--Can be repeated up to eight times by adding a number-->
|successor   =  <!--Can be repeated up to eight times by adding a number-->
|prior_term  =

add personal data

Governor

For examples of this code in use, see Template:Infobox officeholder/example#Governor.
{{Infobox governor
|honorific-prefix = 
|name        = 
|honorific-suffix = 
|image       = 
|alt         = 
|order       =  <!--Can be repeated up to eight times by adding a number-->
|office      =  <!--Can be repeated up to eight times by adding a number-->
|term_start  =  <!--Can be repeated up to eight times by adding a number-->
|term_end    =  <!--Can be repeated up to eight times by adding a number-->
|lieutenant  =  <!--Can be repeated up to eight times by adding a number-->
|predecessor =  <!--Can be repeated up to eight times by adding a number-->
|successor   =  <!--Can be repeated up to eight times by adding a number-->

add personal data

If Governor was appointed by a President, add:

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

If Governor appointed by other, add:

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

Judge

For examples of this code in use, see Template:Infobox officeholder/example#Judge.
{{Infobox judge
|honorific-prefix = 
|name        = 
|honorific-suffix = 
|image       = 
|alt         = 
|caption     = 
|office      =  <!--Can be repeated up to eight times by changing the number-->
|term_start  =  <!--Can be repeated up to eight times by changing the number-->
|term_end    =  <!--Can be repeated up to eight times by changing the number-->
|nominator   =  <!--Can be repeated up to eight times by changing the number-->
|appointer   =  <!--Can be repeated up to eight times by changing the number-->
|predecessor =  <!--Can be repeated up to eight times by changing the number-->
|successor   =  <!--Can be repeated up to eight times by changing the number-->

add personal data

Nominee/Candidate

For examples of this code in use, see Template:Infobox officeholder/example#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     = 
|alt       = 
|caption   = 
|nominee   = 
|party_election = 
|election_date = 
|runningmate = 
|opponent  = 
|incumbent = 

If a candidate, then instead of nominee use:

|candidate =

add personal data

Member of Parliament

For examples of this code in use, see Template:Infobox officeholder/example#Member of Parliament.
{{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 eight times by adding a number-->
|majority    =  <!--Can be repeated up to eight times by adding a number-->
|term_start  =  <!--Can be repeated up to eight times by adding a number-->
|term_end    =  <!--Can be repeated up to eight times by adding a number-->
|predecessor =  <!--Can be repeated up to eight times by adding a number-->
|successor   =  <!--Can be repeated up to eight times by adding a number-->
|prior_term  =

add personal data

U.S. Representatives

U.S. Congressman

For examples of this code in use, see Template:Infobox officeholder/example#US Congressman.
{{Infobox Congressman
|honorific-prefix = 
|name        = 
|honorific-suffix = 
|image       = 
|alt         = 
|state       =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|district    =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|term_start  =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|term_end    =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|predecessor =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|successor   =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|prior_term  =

add personal data

If Congressman served as Speaker of the House add:

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

If Congressman has been elected but not sworn in:

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

State Representative

For examples of this code in use, see Template:Infobox officeholder/example#State Representative.
{{Infobox state representative
|honorific-prefix = 
|name         = 
|honorific-suffix = 
|image        = 
|alt          = 
|state_house  =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|district     =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|term_start   =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|term_end     =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|predecessor  =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|successor    =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|prior_term   =

add personal data

For Representative from states that have an Assembly, instead of state_house use:

|state_assembly =  <!--Can be repeated up to seven times by adding a number, start at 3-->

For Representative from states that have a House of Delegates, instead of state_house use:

|state_delegate =  <!--Can be repeated up to seven times by adding a number, start at 3-->

For Representative from states that have a Legislature, instead of state_house use:

|state_legislature =  <!--Can be repeated up to seven times by adding a number, start at 3-->

If Representative served as Speaker of the State House add:

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

U.S. Senators

U.S. Senator

For examples of this code in use, see Template:Infobox officeholder/example#US Senator.
{{Infobox senator
|honorific-prefix = 
|name        = 
|honorific-suffix = 
|image       = 
|imagesize   = 
|alt         = 
|jr/sr       =  <!--Can be repeated up to eight times by appending 2, 3, etc-->  This code has been disabled per Template talk:Infobox officeholder.
|state       =  <!--Can be repeated up to eight times by appending 2, 3, etc-->
|term_start  =  <!--Can be repeated up to eight times by appending 2, 3, etc-->
|term_end    =  <!--Can be repeated up to eight times by appending 2, 3, etc-->
|predecessor =  <!--Can be repeated up to eight times by appending 2, 3, etc-->
|successor   =  <!--Can be repeated up to eight times by appending 2, 3, etc-->

add personal data

|alongside   =  <!--the name of fellow senator-->

If Senator has just been elected and is a Senator-Elect:

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

If Senator served as Senate Majority Leader add:

|majorityleader3 =  <!--number of office holder-->
|term_start3  =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|term_end3    =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|predecessor3 =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|successor3   =  <!--Can be repeated up to seven times by adding a number, start at 3-->

If Senator served as Congressman add:

|state3       =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|district3    =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|term_start3  =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|term_end3    =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|predecessor3 =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|successor3   =  <!--Can be repeated up to seven times by adding a number, start at 3-->

State Senator

For examples of this code in use, see Template:Infobox officeholder/example#State Senator.
{{Infobox State Senator
|honorific-prefix = 
|name         = 
|honorific-suffix = 
|image        = 
|alt          = 
|state_senate =  <!--Can be repeated up to eight times by appending 2, 3, etc-->
|district     =  <!--Can be repeated up to eight times by appending 2, 3, etc-->
|term_start   =  <!--Can be repeated up to eight times by appending 2, 3, etc-->
|term_end     =  <!--Can be repeated up to eight times by appending 2, 3, etc-->
|predecessor  =  <!--Can be repeated up to eight times by appending 2, 3, etc-->
|successor    =  <!--Can be repeated up to eight times by appending 2, 3, etc-->
|prior_term   =

add personal data

If State Senator served as Majority Leader of the State Senate add:

|majority_leader3 =  <!--number of office holder-->
|term_start3  =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|term_end3    =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|predecessor3 =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|successor3   =  <!--Can be repeated up to seven times by adding a number, start at 3-->


If State Senator served as Minority Leader of the State Senate add:

|minority_leader3 =  <!--number of office holder-->
|term_start3  =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|term_end3    =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|predecessor3 =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|successor3   =  <!--Can be repeated up to seven times by adding a number, start at 3-->

If State Senator served as Majority Floor Leader of the State Senate add:

|majority_floor_leader3 =  <!--number of office holder-->
|term_start3  =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|term_end3    =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|predecessor3 =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|successor3   =  <!--Can be repeated up to seven times by adding a number, start at 3-->

If State Senator served as Minority Floor Leader of the State Senate add:

|minority_floor_leader3 =  <!--number of office holder-->
|term_start3  =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|term_end3    =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|predecessor3 =  <!--Can be repeated up to seven times by adding a number, start at 3-->
|successor3   =  <!--Can be repeated up to seven times by adding a number, start at 3-->

Personal data

Place this underneath the template

|birth_date         = <!-- {{Birth date and age|YYYY|MM|DD}} or {{Birth-date and age|Month DD, YYYY}} -->
|birth_place        = 
|death_date         = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} or {{Death-date and age|Month DD, YYYY|Month DD, YYYY}} (death date then birth date) -->
|death_place        = 
|restingplace       = 
|restingplacecoordinates = 
|birthname          = 
|citizenship        = 
|nationality        = 
|party              = 
|otherparty         =  <!--For additional political affiliations-->
|spouse             = 
|partner            =  <!--For those with a domestic partner and not married-->
|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              = 
<!--Military service-->
|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     = 
}}