This template is used on 76,000+ pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them.

{{Infobox officeholder}} incorporates the following templates (i.e. all the templates listed here). Please use the most appropriate name when placing this template on a page.

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

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

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

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

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

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

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

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

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

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

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

The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.