This template is used on 2,49,000+ pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in 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.
This வார்ப்புரு employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here.
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 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 =
| image_size =
| 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.)-->
| monarch =
| president =
| governor_general =
| primeminister =
| taoiseach =
| chancellor =
| governor =
| vicepresident =
| viceprimeminister =
| deputy =
| lieutenant =
| succeeding = <!--For President-elect or equivalent-->
| constituency =
| majority =
| predecessor =
| successor =
| majority =
| 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-->
| monarch2 = <!--Can be repeated up to eight times by changing the number-->
| president2 = <!--Can be repeated up to eight times by changing the number-->
| governor_general2 = <!--Can be repeated up to eight times by changing the number-->
| primeminister2 = <!--Can be repeated up to eight times by changing the number-->
| chancellor2 = <!--Can be repeated up to eight times by changing the number-->
| taoiseach2 = <!--Can be repeated up to eight times by changing the number-->
| governor2 = <!--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-->
| 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-->
| prior_term2 = <!--Can be repeated up to eight times by changing the number-->
{{{order}}} [[{{{ambassador_from}}} Ambassador to {{{country}}}|{{{ambassador_from}}} Ambassador to {{{country}}}]]
பதவியில் {{{term_start}}}–{{{term_end}}}
குடியரசுத் தலைவர்
{{{president}}}
முன்னையவர்
{{{predecessor}}}
பின்னவர்
{{{successor}}}
{{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-->
Member of the [[{{{assembly}}} சட்டமன்றம்]] {{{constituency_AM}}}
{{{prior_term}}}
பதவியில் {{{term_start}}}–{{{term_end}}}
முன்னையவர்
{{{predecessor}}}
பின்னவர்
{{{successor}}}
பெரும்பான்மை
{{{majority}}}
{{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 =
Member of the [[{{{state_house}}} House of Representatives|{{{state_house}}} House of Representatives]] from the {{{district}}} district {{{prior_term}}}
பதவியில் {{{term_start}}}–{{{term_end}}}
முன்னையவர்
{{{predecessor}}}
பின்னவர்
{{{successor}}}
{{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 =
For Representative from states that have an Assembly, instead of state_house use:
Infobox officeholder
Member of the [[{{{state_assembly}}} State Assembly]] from the {{{district}}} district
| state_assembly = <!--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-->
For Representative from states that have a House of Delegates, instead of state_house use:
Infobox officeholder
Member of the [[{{{state_delegate}}} House of Delegates|{{{state_delegate}}} House of Delegates]] from the {{{district}}} district
| state_delegate = <!--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-->
For Representative from states that have a Legislature, instead of state_house use:
Infobox officeholder
Member of the [[{{{state_legislature}}} Legislature]] from the {{{district}}} district
| state_legislature = <!--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-->
If Representative served as Speaker of the State House add:
Infobox officeholder
{{{speaker}}} [[Speaker of the {{{state_house}}} House of Representatives|Speaker of the {{{state_house}}} House of Representatives]]
Member of the [[{{{state_house}}} House of Representatives|{{{state_house}}} House of Representatives]]
பதவியில் {{{term_start2}}}–{{{term_end2}}}
முன்னையவர்
{{{predecessor2}}}
பின்னவர்
{{{successor2}}}
Member of the [[{{{state_house}}} House of Representatives|{{{state_house}}} House of Representatives]]
{{Infobox senator
| honorific-prefix =
| name =
| honorific-suffix =
| image =
| image_size =
| 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-->
| 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-->
| 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-->
Member of the [[{{{state_senate}}} Senate]] from the {{{district}}} district {{{prior_term}}}
பதவியில் {{{term_start}}}–{{{term_end}}}
முன்னையவர்
{{{predecessor}}}
பின்னவர்
{{{successor}}}
{{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 =
| 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 module parameters (module, module2, ... module5) may used to embed other templates into this infobox (see Wikipedia:Infobox modules).
{{Infobox officeholder
| name =
| <!-- etc. -->
| module =
{{Infobox football biography | embed = yes
| <!-- etc. -->
}}
}}
Microformat
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.