Jump to content

Templeeti:Infobox Officeholder

Shí Wikipedia, njikotá édémédé nke onyobulạ
Infobox Officeholder

This high-risk template has been protected from editing to prevent vandalism. (protection log).

This template employs intricate features of template syntax.

Please do not alter it unless you understand its setup and parser functions and are ready to repair or revert all collateral damage if results are unexpected.
Any experiments should be conducted and all improvements tested in either the template sandbox or your user space before changing anything here.

{{Template:Infobox Officeholder}} incorporates the following templates (i.e., all of the templates listed redirect here). Please use the most appropriate name when placing this template on a page.


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.

Sub-templates

Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.

To include a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

  • adr
  • agent
  • bday
  • birthplace
  • category
  • country-name
  • deathdate
  • deathplace
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.

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.

General office

{{Infobox Officeholder
| honorific-prefix    =
| name                =
| honorific-suffix    =
| image               =
| imagesize           =
| smallimage          =
| caption             =
| order               =
| office              =
| term_start          =
| term_end            =
| vicepresident       =
| viceprimeminister   =
| deputy              =
| lieutenant          =
| monarch             =
| president           =
| primeminister       =
| governor            =
| governor-general    =
| governor_general    =
| succeeding          =<!-- For President-elect or equivalent -->
| predecessor         =
| successor           =
| constituency        =
| majority            =
| 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 -->
| 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

{{Infobox Ambassador
| honorific-prefix    =
| name                =
| honorific-suffix    =
| image               =
| imagesize           =
| 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

{{Infobox AM
| honorific-prefix    =
| name                =
| honorific-suffix    =
| image               =
| 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 -->

add personal data

Governor

{{Infobox Governor 
| honorific-prefix    =
| name                =
| honorific-suffix    =
| image               =
| 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

{{Infobox Judge
| honorific-prefix    =
| name                =
| honorific-suffix    =
| image               =
| imagesize           =
| 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

Member of Parliament

{{Infobox MP
| honorific-prefix    =
| name                =
| honorific-suffix    =
| image               =
| 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 -->

add personal data

U.S. Representatives

U.S. Congressman

{{Infobox Congressman 
| honorific-prefix    =
| name                =
| honorific-suffix    =
| image               =
| 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 -->
| preceded            =<!-- Can be repeated up to seven times by adding a number, start at 3 -->
| succeeded           =<!-- Can be repeated up to seven times by adding a number, start at 3 -->

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

{{Infobox State Representative 
| honorific-prefix    =
| name                =
| honorific-suffix    =
| image               =
| 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 -->
| preceded            =<!-- Can be repeated up to seven times by adding a number, start at 3 -->
| succeeded           =<!-- Can be repeated up to seven times by adding a number, start at 3 -->

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

{{Infobox Senator 
| honorific-prefix    =
| name                =
| honorific-suffix    =
| image               =
| imagesize           =
| jr/sr               =<!-- Can be repeated up to eight times by changing the number -->
| state               =<!-- 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 -->
| preceded            =<!-- Can be repeated up to eight times by changing the number -->
| succeeded           =<!-- Can be repeated up to eight times by changing the number -->

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 -->
| preceded3           =<!-- Can be repeated up to seven times by adding a number, start at 3 -->
| succeeded3          =<!-- Can be repeated up to seven times by adding a number, start at 3 -->

State Senator

{{Infobox State Senator 
| honorific-prefix    =
| name                =
| honorific-suffix    =
| image               =
| state_senate        =<!-- Can be repeated up to eight times by changing the number -->
| district            =<!-- 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 -->
| preceded            =<!-- Can be repeated up to eight times by changing the number -->
| succeeded           =<!-- Can be repeated up to eight times by changing the number -->

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_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_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_place         =
| death_date          =
| death_place         =
| nationality         =
| party               =
| spouse              =
| relations           =
| children            =
| residence           =
| alma_mater          =
| occupation          =
| profession          =
| religion            =
| signature           =
| website             =
| footnotes           =
}}