Template:Infobox officeholder/doc

From Starlight Wiki
Jump to navigation Jump to search

General office

{{{honorific_prefix}}}
{{{name}}}
{{{honorific_suffix}}}
{{{native_name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}|{{{alt}}}]]
[[File:{{{smallimage}}}|frameless|alt={{{alt}}}|upright={{{image_upright}}}|{{{alt}}}]]
{{{caption}}}
{{{order}}} [[{{{office}}}]]
In office
{{{term_start}}} – {{{term_end}}}
Serving with {{{alongside}}}
Monarch {{{monarch}}}
President {{{president}}}
Governor General {{{governor_general}}}
Prime Minister {{{primeminister}}}
Chancellor {{{chancellor}}}
Taoiseach {{{taoiseach}}}
Governor {{{governor}}}
Vice President {{{vicepresident}}}
[[Vice {{{office}}}|Vice PM]] {{{viceprimeminister}}}
Deputy {{{deputy}}}
[[Lieutenant {{{office}}}|Lieutenant]] {{{lieutenant}}}
Preceded by {{{predecessor}}}
Succeeded by {{{successor}}}
Parliamentary group {{{parliamentarygroup}}}
Constituency {{{constituency}}}
Majority {{{majority}}}
{{{order2}}} [[{{{office2}}}]]
In office
{{{term_start2}}} – {{{term_end2}}}
Serving with {{{alongside2}}}
Monarch {{{monarch2}}}
President {{{president2}}}
Governor General {{{governor_general2}}}
Prime Minister {{{primeminister2}}}
Chancellor {{{chancellor2}}}
Taoiseach {{{taoiseach2}}}
Governor {{{governor2}}}
Vice President {{{vicepresident2}}}
[[Vice {{{office2}}}|Vice PM]] {{{viceprimeminister2}}}
Deputy {{{deputy2}}}
[[Lieutenant {{{office2}}}|Lieutenant]] {{{lieutenant2}}}
Preceded by {{{predecessor2}}}
Succeeded by {{{successor2}}}
Parliamentary group {{{parliamentarygroup2}}}
Constituency {{{constituency2}}}
Majority {{{majority2}}}
{{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         = 
 | image_upright      =
 | smallimage         = <!--If this is specified, "image" should not be.-->
 | alt                = 
 | caption            = 
 | order              = 
 | office             = 
 | term_start         = 
 | term_end           = <!-- Add data only when the actual term has ended, not for terms which will end in the future. (Per usage guideline.) -->
 | 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         = 
 | vicechair          = 
 | succeeding         = <!--For President-elect or equivalent-->
 | parliamentarygroup =
 | 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-->
 | vicechair2         =  <!--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-->
 | parliamentarygroup2=  <!--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-->

add personal data

Personal data

Place this underneath the template

Infobox officeholder/doc
Personal details
Pronunciation {{{pronunciation}}}
Born {{{birth_name}}}
{{{birth_date}}}
{{{birth_place}}}
Died {{{death_date}}}
{{{death_place}}}
Cause of death {{{death_cause}}}
Resting place {{{resting_place}}}
{{{resting_place_coordinates}}}
Citizenship {{{citizenship}}}
Nationality {{{nationality}}}
Political party {{{party}}}
Other political
affiliations
{{{otherparty}}}
Height {{{height}}}
Spouse(s) {{{spouse}}}
Domestic partner {{{partner}}}
Relations {{{relations}}}
Children {{{children}}}
Parents {{{parents}}}
Mother {{{mother}}}
Father {{{father}}}
Relatives {{{relatives}}}
Residence {{{residence}}}
Education {{{education}}}
Alma mater {{{alma_mater}}}
Occupation {{{occupation}}}
Profession {{{profession}}}
Known for {{{known_for}}}
Salary {{{salary}}}
Net worth {{{net_worth}}}
Cabinet {{{cabinet}}}
Committees {{{committees}}}
Portfolio {{{portfolio}}}
Civilian awards {{{awards}}}
{{{blank1}}} {{{data1}}}
{{{blank2}}} {{{data2}}}
{{{blank3}}} {{{data3}}}
{{{blank4}}} {{{data4}}}
{{{blank5}}} {{{data5}}}
Signature [[File:{{{signature}}}|128x80px|alt={{{signature_alt}}}|Infobox officeholder/doc's signature]]
Website {{{website}}}
Military service
Nickname(s) {{{nickname}}}
Allegiance {{{allegiance}}}
Service/branch {{{branch}}}
Years of service {{{serviceyears}}}
Rank {{{rank}}}
Unit {{{unit}}}
Commands {{{commands}}}
Battles/wars {{{battles}}}
Military awards {{{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}}}
 | 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       = 
 | 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       = 
}}

Embedding other templates

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

Embedding within a different infobox

Many officeholders are known for more than just their appointments (e.g., Clint Eastwood), and hence it may be desirable to merge this infobox with another one, like {{Infobox person}}. By adding "|embed=yes" to the first line of the infobox code, one can embed this infobox into another, creating the illusion of one continuous infobox. Though the process is a little complicated, it is possible to insert this infobox into most if not all other infoboxes. For {{Infobox person}}, this infobox is passed as a "module" using the |module= syntax.

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