Template:Infobox officeholder/doc: Difference between revisions

m
1 revision imported
No edit summary
m (1 revision imported)
 
(One intermediate revision by the same user not shown)
Line 81:
{{For|examples of this code in use|Template:Infobox officeholder/example#General office}}
{{Generic template demo
| honorific-prefix
| name
| native_name
| native_name_lang
| honorific-suffix
| image
| image_size
| image_upright
| smallimage
| alt
| caption
| order
| office
| term_start
| term_end
| alongside
| monarch
| president
| governor_general
| primeminister
| chancellor
| taoiseach
| governor
| vicepresident
| viceprimeminister
| deputy
| lieutenant
| constituency
| majority
| predecessor
| successor
| prior_term
| order2
| office2
| term_start2
| term_end2
| alongside2
| monarch2
| president2
| governor_general2
| primeminister2
| chancellor2
| taoiseach2
| governor2
| vicepresident2
| viceprimeminister2
| deputy2
| lieutenant2
| constituency2
| predecessor2
| successor2
| majority2
| prior_term2
}}
<pre style="overflow:auto;">
{{Infobox officeholder
| honorific-prefix =
| name =
| native_name = <!--The person's name in their own language, if different.-->
| native_name_lang = <!--ISO 639-1 code, e.g., "fr" for French. If more than one, use {{lang}} in |native_name= instead.-->
| honorific-suffix =
| image =
| image_size = 200
| image_upright =
| 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 =
| prior_term =
| order2 = <!--Can be repeated up to 16 times by changing the number-->
| office2 = <!--Can be repeated up to 16 times by changing the number-->
| term_start2 = <!--Can be repeated up to 16 times by changing the number-->
| term_end2 = <!--Can be repeated up to 16 times by changing the number-->
| alongside2 = <!--Can be repeated up to 16 times by changing the number-->
| monarch2 = <!--Can be repeated up to 16 times by changing the number-->
| president2 = <!--Can be repeated up to 16 times by changing the number-->
| governor_general2 = <!--Can be repeated up to 16 times by changing the number-->
| primeminister2 = <!--Can be repeated up to 16 times by changing the number-->
| chancellor2 = <!--Can be repeated up to 16 times by changing the number-->
| taoiseach2 = <!--Can be repeated up to 16 times by changing the number-->
| governor2 = <!--Can be repeated up to 16 times by changing the number-->
| vicepresident2 = <!--Can be repeated up to 16 times by changing the number-->
| viceprimeminister2 = <!--Can be repeated up to 16 times by changing the number-->
| deputy2 = <!--Can be repeated up to 16 times by changing the number-->
| lieutenant2 = <!--Can be repeated up to 16 times by changing the number-->
| succeeding2 = <!--Can be repeated up to 16 times by changing the number-->
| predecessor2 = <!--Can be repeated up to 16 times by changing the number-->
| successor2 = <!--Can be repeated up to 16 times by changing the number-->
| constituency2 = <!--Can be repeated up to 16 times by changing the number-->
| majority2 = <!--Can be repeated up to 16 times by changing the number-->
| prior_term2 = <!--Can be repeated up to 16 times by changing the number-->
</pre>
''add [[#Personal data|personal data]]''
Line 199:
{{For|examples of this code in use|Template:Infobox officeholder/example#Ambassador}}
{{Generic template demo
| honorific-prefix
| name
| honorific-suffix
| image
| alt
| order
| ambassador_from
| country
| term_start
| term_end
| predecessor
| successor
| president
}}
<pre style="overflow:auto;">
{{Infobox ambassador
| honorific-prefix =
| name =
| honorific-suffix =
| image =
| alt =
| order = <!--Can be repeated up to 16 times by adding a number-->
| ambassador_from = <!--Can be repeated up to 16 times by adding a number-->
| country = <!--Can be repeated up to 16 times by adding a number-->
| term_start = <!--Can be repeated up to 16 times by adding a number-->
| term_end = <!--Can be repeated up to 16 times by adding a number-->
| predecessor = <!--Can be repeated up to 16 times by adding a number-->
| successor = <!--Can be repeated up to 16 times by adding a number-->
| president = <!--Can be repeated up to 16 times by adding a number-->
</pre>
''add [[#Personal data|personal data]]''
Line 235:
{{For|examples of this code in use|Template:Infobox officeholder/example#Assembly Member}}
{{Generic template demo
| honorific-prefix
| name
| honorific-suffix
| image
| alt
| caption
| constituency_AM
| assembly
| majority
| term_start
| term_end
| predecessor
| successor
| prior_term
}}
<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 16 times by adding a number-->
| majority = <!--Can be repeated up to 16 times by adding a number-->
| term_start = <!--Can be repeated up to 16 times by adding a number-->
| term_end = <!--Can be repeated up to 16 times by adding a number-->
| predecessor = <!--Can be repeated up to 16 times by adding a number-->
| successor = <!--Can be repeated up to 16 times by adding a number-->
| prior_term =
</pre>
''add [[#Personal data|personal data]]''
Line 273:
{{For|examples of this code in use|Template:Infobox officeholder/example#Governor}}
{{Generic template demo
| honorific-prefix
| name
| honorific-suffix
| image
| alt
| order
| office
| term_start
| term_end
| lieutenant
| predecessor
| successor
}}
<pre style="overflow:auto;">
{{Infobox governor
| honorific-prefix =
| name =
| honorific-suffix =
| image =
| alt =
| order = <!--Can be repeated up to 16 times by adding a number-->
| office = <!--Can be repeated up to 16 times by adding a number-->
| term_start = <!--Can be repeated up to 16 times by adding a number-->
| term_end = <!--Can be repeated up to 16 times by adding a number-->
| lieutenant = <!--Can be repeated up to 16 times by adding a number-->
| predecessor = <!--Can be repeated up to 16 times by adding a number-->
| successor = <!--Can be repeated up to 16 times by adding a number-->
</pre>
''add [[#Personal data|personal data]]''
Line 306:
If Governor was appointed by a President, add:
{{Generic template demo
| president
}}
<pre style="overflow:auto;">
| president = <!--name of president-->
</pre>
{{clear}}
Line 315:
If Governor appointed by other, add:
{{Generic template demo
| appointed
}}
<pre style="overflow:auto;">
| appointed = <!--name of appointer-->
</pre>
{{clear}}
Line 325:
{{For|examples of this code in use|Template:Infobox officeholder/example#Judge}}
{{Generic template demo
| honorific-prefix
| name
| honorific-suffix
| image
| alt
| caption
| office
| term_start
| term_end
| nominator
| appointer
| predecessor
| successor
}}
<pre style="overflow:auto;">
{{Infobox judge
| honorific-prefix =
| name =
| honorific-suffix =
| image =
| alt =
| caption =
| office = <!--Can be repeated up to 16 times by changing the number-->
| term_start = <!--Can be repeated up to 16 times by changing the number-->
| term_end = <!--Can be repeated up to 16 times by changing the number-->
| nominator = <!--Can be repeated up to 16 times by changing the number-->
| appointer = <!--Can be repeated up to 16 times by changing the number-->
| predecessor = <!--Can be repeated up to 16 times by changing the number-->
| successor = <!--Can be repeated up to 16 times by changing the number-->
</pre>
''add [[#Personal data|personal data]]''
Line 362:
:'''''Do not add this section to pages of people who have held a previous office.'''''
{{Generic template demo
| honorific-prefix
| name
| honorific-suffix
| image
| alt
| caption
| nominee
| party_election
| election_date
| runningmate
| opponent
| incumbent
}}
<pre style="overflow:auto;">
{{Infobox candidate
| honorific-prefix =
| name =
| honorific-suffix =
| image =
| alt =
| caption =
| nominee =
| party_election =
| election_date =
| runningmate =
| opponent =
| incumbent =
</pre>
{{clear}}
Line 394:
If a candidate, then instead of <code>nominee</code> use:
{{Generic template demo
| candidate
}}
<pre style="overflow:auto;">
| candidate =
</pre>
 
Line 406:
{{For|examples of this code in use|Template:Infobox officeholder/example#Member of Parliament}}
{{Generic template demo
| honorific-prefix
| name
| honorific-suffix
| image
| alt
| caption
| constituency_MP
| parliament
| majority
| term_start
| term_end
| predecessor
| successor
| prior_term
}}
<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 16 times by adding a number-->
| majority = <!--Can be repeated up to 16 times by adding a number-->
| term_start = <!--Can be repeated up to 16 times by adding a number-->
| term_end = <!--Can be repeated up to 16 times by adding a number-->
| predecessor = <!--Can be repeated up to 16 times by adding a number-->
| successor = <!--Can be repeated up to 16 times by adding a number-->
| prior_term =
</pre>
''add [[#Personal data|personal data]]''
Line 446:
{{For|examples of this code in use|Template:Infobox officeholder/example#US Congressman}}
{{Generic template demo
| honorific-prefix
| name
| honorific-suffix
| image
| alt
| state
| district
| term_start
| term_end
| predecessor
| successor
| prior_term
}}
<pre style="overflow:auto;">
{{Infobox Congressman
| honorific-prefix =
| name =
| honorific-suffix =
| image =
| alt =
| state = <!--Can be repeated up to 16 times by adding a number, start at 3-->
| district = <!--Can be repeated up to 16 times by adding a number, start at 3-->
| term_start = <!--Can be repeated up to 16 times by adding a number, start at 3-->
| term_end = <!--Can be repeated up to 16 times by adding a number, start at 3-->
| predecessor = <!--Can be repeated up to 16 times by adding a number, start at 3-->
| successor = <!--Can be repeated up to 16 times by adding a number, start at 3-->
| prior_term =
</pre>
''add [[#Personal data|personal data]]''
Line 479:
If Congressman served as Speaker of the House add:
{{Generic template demo
| speaker
| term_start2
| term_end2
| predecessor2
| successor2
}}
<pre style="overflow:auto;">
| speaker = <!--number of office holder-->
| term_start2 =
| term_end2 =
| predecessor2 =
| successor2 =
</pre>
{{clear}}
Line 496:
If Congressman has been elected but not sworn in:
{{Generic template demo
| succeeding
}}
<pre style="overflow:auto;">
| succeeding = <!--the name of the incumbent congressman-->
</pre>
{{clear}}
Line 506:
{{For|examples of this code in use|Template:Infobox officeholder/example#State Representative}}
{{Generic template demo
| honorific-prefix
| name
| honorific-suffix
| image
| alt
| state_house
| district
| term_start
| term_end
| predecessor
| successor
| prior_term
}}
<pre style="overflow:auto;">
{{Infobox state representative
| honorific-prefix =
| name =
| honorific-suffix =
| image =
| alt =
| state_house = <!--Can be repeated up to 16 times by adding a number, start at 3-->
| district = <!--Can be repeated up to 16 times by adding a number, start at 3-->
| term_start = <!--Can be repeated up to 16 times by adding a number, start at 3-->
| term_end = <!--Can be repeated up to 16 times by adding a number, start at 3-->
| predecessor = <!--Can be repeated up to 16 times by adding a number, start at 3-->
| successor = <!--Can be repeated up to 16 times by adding a number, start at 3-->
| prior_term =
</pre>
''add [[#Personal data|personal data]]''
Line 539:
For Representative from states that have an Assembly, instead of state_house use:
{{Generic template demo
| state_assembly
| district
}}
<pre style="overflow:auto;">
| state_assembly = <!--Can be repeated up to 16 times by adding a number, start at 3-->
| district = <!--Can be repeated up to 16 times by adding a number, start at 3-->
</pre>
{{clear}}
Line 550:
For Representative from states that have a House of Delegates, instead of state_house use:
{{Generic template demo
| state_delegate
| district
}}
<pre style="overflow:auto;">
| state_delegate = <!--Can be repeated up to 16 times by adding a number, start at 3-->
| district = <!--Can be repeated up to 16 times by adding a number, start at 3-->
</pre>
{{clear}}
Line 561:
For Representative from states that have a Legislature, instead of state_house use:
{{Generic template demo
| state_legislature
| district
}}
<pre style="overflow:auto;">
| state_legislature = <!--Can be repeated up to 16 times by adding a number, start at 3-->
| district = <!--Can be repeated up to 16 times by adding a number, start at 3-->
</pre>
{{clear}}
Line 572:
If Representative served as Speaker of the State House add:
{{Generic template demo
| speaker
| state_house
| term_start2
| term_end2
| predecessor2
| successor2
}}
<pre style="overflow:auto;">
| speaker = <!--number of office holder-->
| state_house =
| term_start2 =
| term_end2 =
| predecessor2 =
| successor2 =
</pre>
{{clear}}
Line 594:
{{For|examples of this code in use|Template:Infobox officeholder/example#US Senator}}
{{Generic template demo
| honorific-prefix
| name
| honorific-suffix
| image
| image_size
| image_upright
| alt
| jr/sr
| state
| term_start
| term_end
| predecessor
| successor
}}
<pre style="overflow:auto;">
{{Infobox senator
| honorific-prefix =
| name =
| honorific-suffix =
| image =
| image_size =
| image_upright =
| 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]]''
Line 628:
 
{{Generic template demo
| term_start
| alongside
}}
<pre style="overflow:auto;">
| term_start =
| alongside = <!--the name of fellow senator-->
</pre>
{{clear}}
Line 639:
If Senator has just been elected and is a Senator-Elect:
{{Generic template demo
| succeeding
}}
<pre style="overflow:auto;">
| succeeding = <!--the name of the incumbent senator-->
</pre>
{{clear}}
Line 648:
If Senator served as Senate Majority Leader add:
{{Generic template demo
| majorityleader3
| term_start3
| term_end3
| predecessor3
| successor3
}}
<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>
{{clear}}
Line 665:
If Senator served as Congressman add:
{{Generic template demo
| state3
| district3
| term_start3
| term_end3
| predecessor3
| successor3
}}
<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>
{{clear}}
Line 685:
{{For|examples of this code in use|Template:Infobox officeholder/example#State Senator}}
{{Generic template demo
| honorific-prefix
| name
| honorific-suffix
| image
| alt
| state_senate
| district
| term_start
| term_end
| predecessor
| successor
| prior_term
}}
<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]]''
Line 718:
If State Senator served as Majority Leader of the State Senate add:
{{Generic template demo
| majority_leader3
| term_start3
| term_end3
| predecessor3
| successor3
}}
<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>
{{clear}}
Line 735:
If State Senator served as Minority Leader of the State Senate add:
{{Generic template demo
| minority_leader3
| term_start3
| term_end3
| predecessor3
| successor3
}}
<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>
{{clear}}
Line 752:
If State Senator served as Majority Floor Leader of the State Senate add:
{{Generic template demo
| majority_floor_leader3
| term_start3
| term_end3
| predecessor3
| successor3
}}
<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>
{{clear}}
Line 769:
If State Senator served as Minority Floor Leader of the State Senate add:
{{Generic template demo
| minority_floor_leader3
| term_start3
| term_end3
| predecessor3
| successor3
}}
<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>
{{clear}}
Line 787:
Place this underneath the template
{{Generic template demo
| pronunciation
| birth_name
| birth_date
| birth_place
| death_date
| death_place
| death_cause
| resting_place
| resting_place_coordinates
| citizenship
| nationality
| party
| otherparty
| height
| spouse
| partner
| relations
| children
| parents
| mother
| father
| relatives
| residence
| education
| alma_mater
| occupation
| profession
| salary
| net_worth
| known_for
| cabinet
| committees
| portfolio
| religion
| awards
| blank1
| data1
| blank2
| data2
| blank3
| data3
| blank4
| data4
| blank5
| data5
| signature
| signature_alt
| website
| nickname
| allegiance
| branch
| serviceyears
| rank
| unit
| commands
| battles
| mawards
| military_blank1
| military_data1
| military_blank2
| military_data2
| military_blank3
| military_data3
| military_blank4
| military_data4
| military_blank5
| military_data5
| module
| module2
| module3
| module4
| module5
| footnotes
}}
<pre style="overflow:auto;">
| pronunciation =
| birth_name =
| birth_date = <!-- {{Birth date and age|YYYY|MM|DD}} -->
| birth_place =
| death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} -->
| death_place =
| death_cause =
| resting_place =
| resting_place_coordinates =
| citizenship =
| nationality =
| party =
| otherparty = <!--For additional political affiliations-->
| height = <!-- "X cm", "X m" or "X ft Y in" plus optional reference (conversions are automatic) -->
| spouse =
| partner = <!--For those with a domestic partner and not married-->
| relations =
| children =
| parents = <!-- overrides mother and father parameters -->
| mother = <!-- may be used (optionally with father parameter) in place of parents parameter (displays "Parent(s)" as label) -->
| father = <!-- may be used (optionally with mother parameter) in place of parents parameter (displays "Parent(s)" as label) -->
| relatives =
| residence =
| education =
| alma_mater =
| occupation =
| profession =
| known_for =
| salary =
| net_worth = <!-- Net worth should be supported with a citation from a reliable source -->
| cabinet =
| committees =
| portfolio =
| religion = <!-- Do not insert religious denominations in this parameter by themselves; always enter the religion first. Also note that per [[WP:BLPCAT]], categories or infobox statements regarding religious beliefs (or lack of such) should not be used unless the subject has publicly self-identified with the belief in question, and the subject's beliefs are relevant to their public life or notability, according to reliable published sources. Please provide source or discuss in Talk for 1°) a public statement and 2°) relevance to the subject's notability before adding any religious affiliation. -->
| awards = <!-- For civilian awards - appears as "Awards" if |mawards= is not set -->
| blank1 =
| data1 =
| blank2 =
| data2 =
| blank3 =
| data3 =
| blank4 =
| data4 =
| blank5 =
| data5 =
| signature =
| signature_alt =
| website =
<!--Military service-->
| nickname =
| allegiance =
| branch =
| serviceyears =
| rank =
| unit =
| commands =
| battles =
| mawards = <!-- for military awards - appears as "Awards" if |awards= is not set -->
| military_blank1 =
| military_data1 =
| military_blank2 =
| military_data2 =
| military_blank3 =
| military_data3 =
| military_blank4 =
| military_data4 =
| military_blank5 =
| military_data5 =
<!--Embedded templates / Footnotes-->
| module =
| module2 =
| module3 =
| module4 =
| module5 =
| footnotes =
}}
</pre>
Line 946:
<pre style="overflow: auto;">
{{Infobox officeholder
| name =
| <!-- etc. -->
| module =
{{Infobox football biography | embed = yes
| <!-- etc. -->
}}
}}
Line 960:
<pre style="overflow: auto">
{{Infobox person
| name = John Infobox
| image = Example.jpg
| caption = John Infobox in 2005
| birth_name = John Officeholder Person Infobox
| birth_date = {{Birth date|1950|5|5}}
| birth_place = Template City
| death_date = {{Death date and age|2010|10|10|1950|5|5}}
| occupation = Actor
| years_active = 1970–1990
| module =
{{Infobox officeholder | embed = yes
| office = Mayor of Wikipedia
| term_start = 1994
| term_end = 1998
}}
| website = {{URL|example.com}}
}}
</pre>