Difference between revisions of "Template:Infobox military person/doc"

From blackwiki
Jump to navigation Jump to search
imported>CommonsDelinker
m (Removing "Carwood_Lipton.jpg", it has been deleted from Commons by ABF because: In category Unknown as of 28 April 2008; no source.)
imported>ProcrastinatingReader
m (info on commands is above, not below)
 
(180 intermediate revisions by 100 users not shown)
Line 1: Line 1:
{{#ifeq:{{{noheader|}}}|yes||{{Template doc page}}
+
{{#ifeq:{{{noheader|}}}|yes||
==Usage==
+
{{Documentation subpage}}
 +
{{Person infobox header}}
 +
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
 
}}
 
}}
==== Military person infobox ====  
+
 
{{Infobox Military Person
+
A military person infobox may be used to summarize information about an individual military person, such as a soldier or military leader.
|name = Clifford Carwood Lipton
+
 
|born= [[30 January]] [[1920]]
+
This template may be used as a module (sub-template) of {{tl|Infobox person}}; see [[Wikipedia:Infobox modules]] for guidance on such usage.
|died= [[16 December]] [[2001]]
+
 
|image =  
+
== Usage ==
|caption = Carwood Lipton at [[Camp Toccoa]], [[Georgia (U.S. state)|Georgia]]
+
 
|nickname = Lip
+
=== Blank template ===
|placeofbirth = [[Huntington]], [[West Virginia]]
+
The infobox should be added as shown below:
|placeofdeath =
+
 
|allegiance = [[United States]]
+
{{Parameter names example|_template=|embed|width_style|honorific prefix|honorific_prefix|name|honorific suffix|honorific_suffix|image|image_size|alt|caption|native_name|native_name_lang|birth_name|other_name|nickname|birth_date|birth_place|death_date|death_place|placeofburial_label|placeofburial|placeofburial_coordinates|allegiance|branch_label|branch|serviceyears_label|serviceyears|rank_label|rank|servicenumber|unit|commands|battles_label|battles|awards|memorials|alma_mater|spouse|relations|otherwork|laterwork|signature|signature_size|signature alt|signature_alt|website|homepage|URL|module}}
|branch = [[United States Army]]
+
 
|serviceyears = 1942–1945
+
<pre style=overflow:auto;>
|rank = [[Second Lieutenant]]
+
{{Infobox military person
|unit = [[E Company, 506th Infantry Regiment (United States)|Easy Company]], 2nd [[Battalion]], [[101st Airborne Division]], [[506th Parachute Infantry Regiment]]
+
|honorific_prefix =
|commands =
+
|name             =  
|battles =
+
|honorific_suffix =
|awards = Purple Heart (3[[Oak leaf cluster|OLC]])<br>Bronze Star (2[[Oak leaf cluster|OLC]])<br>[[World War II Victory Medal]]<br>[[Presidential Unit Citation (US)|Presidential Unit Citation]] (2[[Oak leaf cluster|OLC]])<br>[[Orange Lanyard|Orange Lanyard of the Royal Netherlands Army]]
+
|image            =  
|relations =
+
|image_upright    =  
|laterwork = Glass Executive
+
|alt              =  
 +
|caption         =
 +
|native_name      =
 +
|native_name_lang =  
 +
|birth_name      =
 +
|other_name      =
 +
|nickname         =  
 +
|birth_date      = <!--{{birth date and age|YYYY|MM|DD}} or {{birth date|YYYY|MM|DD}} if dead-->
 +
|birth_place      =
 +
|death_date      = <!--{{death date and age|dYYYY|dMM|dDD|YYYY|MM|DD}}-->
 +
|death_place      =
 +
|placeofburial    =
 +
|placeofburial_label =  
 +
|placeofburial_coordinates = <!--{{coord|LAT|LONG|display=inline,title}}-->
 +
|allegiance       =  
 +
|branch           =
 +
|branch_label    = <!--"Branch" or "Service"-->
 +
|serviceyears     =
 +
|serviceyears_label =  
 +
|rank             =
 +
|rank_label      =
 +
|servicenumber    =  
 +
|unit             =  
 +
|commands        =
 +
|battles          =
 +
|battles_label    =
 +
|awards          =
 +
|memorials        =
 +
|alma_mater      =
 +
|spouse          = <!--Add spouse if reliably sourced-->
 +
|children        =
 +
|relations        =
 +
|laterwork        =
 +
|signature        =
 +
|signature_size  =
 +
|signature_alt    =
 +
|website          = <!--{{URL|example.com}}-->
 +
|module          =
 +
}}</pre>
 +
 
 +
=== Parameters ===
 +
'''Note''': When using parameters, avoid the ambiguous abbreviation "N/A", and instead use "unknown" or "none". All subjective or qualitative judgements and numerical quantities or statistics must be cited to a reliable source (see [[WP:MILMOS#CITE]]). Please keep in mind [[WP:ICONDECORATION]] for the use of images.
 +
 
 +
* '''honorific_prefix''' – titles such as "Sir", "General".
 +
* '''name''' – the full name of the person.
 +
* '''honorific_suffix''' – post-nominal honours such as "OBE"
 +
* '''image''' – ''optional'' – an image of the person. The image must be given in the form <code><nowiki>Example.jpg</nowiki></code>; an image of a nation's highest award, such as the [[Medal of Honor]] or [[Victoria Cross]], may be displayed for recipients of it, especially as a placeholder.
 +
* '''image_upright''' – ''optional'' – See [[WP:UPRIGHT]]
 +
* '''image_size''' – ''optional'' – the size of the image in px. Give the number without the px suffix (for example, ''220'' rather than ''220px''). {{para|image_upright}} is preferred.
 +
* '''alt''' [[Wikipedia:Alternative text for images|Alt text]], if used, must be placed here.
 +
* '''caption''' – ''optional'' – the text to be placed below the image.
 +
* '''native_name''' – the person's name in their own language
 +
* '''native_name_lang''' – ISO 639-2 code e.g. "fre" or "fra" for French. If more than one, use {{Tl|lang}} for {{Para|native_name}} instead
 +
* '''birth_name''' – ''optional'' – the name the person was born with, if different from that used later in life.
 +
* '''other_name''' – ''optional'' – other names by which the person was known.
 +
* '''nickname''' – ''optional'' – nickname(s) by which the person was known.
 +
* '''birth_date''' – ''optional'' – the date of birth, if known, using {{Tl|Birth date}} or {{Tl|Birth date and age}}.
 +
* '''birth_place''' – ''optional'' – the person's birthplace.
 +
* '''death_date''' – ''optional'' – the date of death, if applicable and known, in {{Tl|Death date and age}}.
 +
* '''death_place''' – ''optional'' – the place where the person died.
 +
* '''placeofburial''' – ''optional'' – the place where the person's remains are buried or otherwise interred.
 +
* '''placeofburial_label''' – ''optional'' – the label of the ''placeofburial'' field (above). The ''placeofburial'' field is normally preceded by the label "Buried"; if this is not appropriate for the particular manner in which the remains were disposed of, a different label can be specified here.
 +
* '''placeofburial_coordinates''' – ''optional'' – the precise location where the person's remains are buried or otherwise interred. {{UF-coord}}
 +
* '''allegiance''' – ''optional'' – the country or other power the person served. Multiple countries may be indicated together with the corresponding dates. This field should not be used to indicate a particular service branch, which is better indicated by the <code>branch</code> field (below).
 +
* '''branch''' – ''optional'' – the service branch (Army, Navy, etc.) the person was a part of; this should be left blank for people who were not part of a formal armed service, or who predate the establishment of formal service branches.
 +
* '''branch_label''' – ''optional'' – the label of the ''branch'' field (above). The ''branch'' field is normally preceded by "Service/Branch"; to avoid word wrapping, one of "Service" or "Branch" can be specified.
 +
* '''serviceyears''' – ''optional'' – the years during which the person served.
 +
* '''serviceyears_label''' – ''optional'' – the label to use for the '''serviceyears''' field (above); defaults to "Years of service".
 +
* '''rank''' – ''optional'' – the highest rank achieved by the person unless a [[reduction in rank]] occurred (whether by punishment, voluntary, or as part of joining another military unit or military service). The rank being awarded posthumously, may be noted. In cases where the person held different ranks in different armies, multiple ranks should be specified with dates and country noted for each. Separate multiple entries using {{Tl|Plainlist}}.
 +
* '''rank_label''' – ''optional'' – the label to use for the '''rank''' field (above); defaults to "Rank".
 +
* '''service number''' – ''optional'' – the [[service number]] held by the individual during military service. Do not supply for living persons unless published by secondary sources such as the ''[[London Gazette]]''.
 +
* '''unit''' – ''optional'' – for persons who are not notable as commanding officers, the unit (company, battalion, regiment, etc.) in which they served. This should be omitted if the commands are specified (as below).
 +
* '''commands''' – ''optional'' – for persons who are notable as commanding officers, the units they commanded. Dates should be given if multiple notable commands were held. Separate multiple entries using {{Tl|Plainlist}}.
 +
* '''battles''' – ''optional'' – any notable battles or wars in which the person participated. This should be omitted if a {{tl|Campaignbox}} is used in conjunction with this template. Separate multiple entries using {{Tl|Plainlist}}.
 +
* '''battles_label''' – ''optional'' – the label to use for the '''battles''' field (above); defaults to "Battles/wars".
 +
* '''awards''' – ''optional'' – any ''notable'' awards or decorations the person received; exhaustive lists should be worked into the prose. Separate multiple entries using {{Tl|Plainlist}}.
 +
* '''memorials''' – ''optional'' – Memorials or monuments to the subject (e.g. statues, streets named after them). Separate multiple entries using {{Tl|Plainlist}}.
 +
* '''alma_mater''' – ''optional'' – educational institutions the subject graduated from and degree received, in parentheses. Separate multiple entries using {{Tl|Plainlist}}
 +
* '''spouse''' – ''optional'' – list the service members spouse(s) if verifiable from a reliable source.
 +
* '''children''' – ''optional'' – Only if independently notable themselves or particularly relevant. Number of children (e.g., three or 3), or list of names if notable, in which case, separate entries using <nowiki>{{Plainlist}}</nowiki> or <nowiki>{{Unbulleted list}}</nowiki>. For privacy reasons, consider omitting the names of children of living persons, unless notable.
 +
* '''relations''' – ''optional'' – any notable relations. Only reasonably close ones should be indicated; an exhaustive listing of an extensive family tree should be avoided here.
 +
* '''laterwork''' – ''optional'' – profession or positions held by the person other than military service (displays with the label "Other work"). Separate multiple entries using {{Tl|Plainlist}}.
 +
* '''signature''' – ''optional'' – an image of the person's signature. The image must be given in the form <code><nowiki>example.jpg</nowiki></code>.
 +
* '''signature_size''' – ''optional'' – the size of the signature in px. Give the number without the px suffix.
 +
* '''signature_alt''' – ''optional'' – alt text for the signature.
 +
* '''website''' – ''optional'' – Use {{Tl|URL}}
 +
* '''module''' – ''optional'' – Embedded template
 +
 
 +
=== Lists ===
 +
For parameters such as {{para|awards}}, {{para|unit}} or {{para|commands}}, which take lists of values, unbulleted or bulleted lists may be preferable. See [[MOS:VLIST]].
 +
 
 +
'''Unbulleted lists''' can be created with {{tl|plainlist}} or {{tl|ublist}}. The use of {{tag|br|s}} is common but {{dcr|semantically incorrect.}} See [[MOS:NOBR]].
 +
 
 +
{{markup|<nowiki>awards = {{plainlist|
 +
* Purple Heart (3)
 +
* Bronze Star (2)
 +
* World War II Victory Medal
 +
* Presidential Unit Citation
 +
* Orange Lanyard
 +
}}</nowiki>|{{plainlist|
 +
* Purple Heart (3)
 +
* Bronze Star (2)
 +
* World War II Victory Medal
 +
* Presidential Unit Citation
 +
* Orange Lanyard}}
 
}}
 
}}
  
A military person infobox may be used to summarize information about an individual military person, such as a soldier or military leader. 
+
{{markup|<nowiki>awards = {{unbulleted list
 +
| Purple Heart (3)
 +
| Bronze Star (2)
 +
| World War II Victory Medal
 +
| Presidential Unit Citation
 +
| Orange Lanyard
 +
}}</nowiki>|{{unbulleted list
 +
| Purple Heart (3)
 +
| Bronze Star (2)
 +
| World War II Victory Medal
 +
| Presidential Unit Citation
 +
| Orange Lanyard}}
 +
}}
  
The infobox should be added using the {{tl|Infobox Military Person}} template, as shown below:
+
'''Bulleted lists''' can be created with * markup.
  
<div style="width:250px;background:#dddddd;border: 1px solid black;padding:0.5em  1em 0.5em 1em"><pre>
+
{{markup|<nowiki>awards =  
{{Infobox Military Person
+
* Purple Heart (3)
|name=
+
* Bronze Star (2)
|image=
+
* World War II Victory Medal
|caption=
+
* Presidential Unit Citation
|born=
+
* Orange Lanyard
|died=
+
</nowiki>|
|placeofbirth=
+
* Purple Heart (3)
|placeofdeath=
+
* Bronze Star (2)
|nickname=
+
* World War II Victory Medal
|allegiance=
+
* Presidential Unit Citation
|branch=
+
* Orange Lanyard
|serviceyears=
 
|rank=
 
|unit=
 
|commands=
 
|battles=
 
|awards=
 
|relations=
 
|laterwork=
 
 
}}
 
}}
</pre></div>
 
  
* '''name''' &ndash; the full name of the person.
+
=== Embedding ===
* '''image''' &ndash; ''optional'' &ndash; an image of the person.  The image must be given in the form <nowiki>[[Image:Example.jpg|300px]]</nowiki>; in particular, the ''thumb'' attribute must '''not''' be selected.
+
Many military people are known for more than just their military service (e.g. [[Douglas Fairbanks Jr.]] and [[James Stewart]]), and hence it may be desirable to merge this infobox with another one, like {{tl|Infobox person}}. By adding {{para|embed|yes}} to the first line of the infobox code, one can embed this infobox into another, creating the illusion of one continuous infobox.
* '''caption''' &ndash; ''optional'' &ndash; the text to be placed below the image.
+
 
* '''born''' &ndash; ''optional'' &ndash; the date of birth, if known.  For unusual cases, such as where only dates of activities are known, the '''lived''' parameter may be used instead.
+
Though the process is a little complicated, it is possible to insert this infobox into most if not all other infoboxes. For {{tl|Infobox person}}, this infobox is passed as a "module" using the {{para|module}} syntax. The title for the embedded section can be changed using {{para|embed_title}}.
* '''died''' &ndash; ''optional'' &ndash; the date of death, if applicable and known.
+
 
* '''placeofbirth''' &ndash; ''optional'' &ndash; the person's birthplace.
+
{{Infobox person
* '''placeofdeath''' &ndash; ''optional'' &ndash; the place where the person died.
+
|name         = John Infobox
* '''nickname''' &ndash; ''optional'' &ndash; nickname(s) by which the person was known.
+
|birth_name  = John Military Infobox
* '''allegiance''' &ndash; ''optional'' &ndash; the country or other power the person served. Multiple countries may be indicated together with the corresponding dates.  This field should not be used to indicate a particular service branch, which is better indicated by the <code>branch</code> field (below).
+
|birth_date  = {{birth date|1950|5|5|df=y}}
* '''branch''' &ndash; ''optional'' &ndash; the service branch (Army, Navy, etc.) the person was a part of; this should be left blank for people who were not part of a formal armed service, or who predate the establishment of formal service branches.
+
|birth_place  = Template City, Country
* '''serviceyears''' &ndash; ''optional'' &ndash; the years during which the person served.
+
|death_date  = {{death date and age|2010|6|10|1950|5|5|df=y}}
* '''rank''' &ndash; ''optional'' &ndash; the highest rank achieved by the person.  Unusual cases, such as this rank not being the last achieved, or the rank being awarded posthumously, may be noted. In cases where the person held different ranks in different armies, multiple ranks should be specified with a date and country note for each.
+
|occupation  = Actor
* '''unit''' &ndash; ''optional'' &ndash; for persons who are not notable as commanding officers, the unit (company, battalion, regiment, etc.) in which they served.  This should be omitted if the commands are specified (as above).
+
|years_active = 1970–1990
* '''commands''' &ndash; ''optional'' &ndash; for persons who are notable as commanding officers, the units they commanded. Dates should be given if multiple notable commands were held.
+
|module      =
* '''battles''' &ndash; ''optional'' &ndash; any notable battles or wars in which the person participated. This should be omitted if a campaignbox is used in conjunction with this template.
+
  {{Infobox military person
* '''awards''' &ndash; ''optional'' &ndash; any notable awards or decorations the person received.
+
  |embed        = yes
* '''relations'''  &ndash; ''optional'' &ndash; any notable relations. Only reasonably close ones should be indicated; an exhaustive listing of an extensive family tree should be avoided here.
+
  |embed_title  = Fictitious military career
* '''laterwork''' &ndash; ''optional'' &ndash; profession or positions held by the person other than military service (displays with the label "Other work").<noinclude>[[Category:WikiProject Military history template instructions|Military person infobox]]</noinclude><includeonly>{{#ifeq:{{{noheader|}}}|yes||
+
  |allegiance  = United States
[[Category:People infobox templates|Military Person]]
+
  |branch      = U.S. Army Air Forces
 +
  |serviceyears = 1980–1985
 +
  |rank        = Brigadier general
 +
  |website      = example.com
 +
  }}
 +
}}
 +
 
 +
<pre style=overflow:auto;>
 +
{{Infobox person
 +
|name         = John Infobox
 +
|birth_name  = John Military Infobox
 +
|birth_date  = {{birth date|1950|5|5|df=y}}
 +
|birth_place  = Template City, Country
 +
|death_date  = {{death date and age|2010|6|10|1950|5|5|df=y}}
 +
|occupation  = Actor
 +
|years_active = 1970–1990
 +
|module      =
 +
  {{Infobox military person
 +
  |embed        = yes
 +
  |embed_title  = Fictitious military career
 +
  |allegiance  = United States
 +
  |branch      = U.S. Army Air Forces
 +
  |serviceyears = 1980–1985
 +
  |rank        = Brigadier general
 +
  |website      = {{URL|example.com}}
 +
  }}
 +
}}</pre>
 +
 
 +
=== Example ===
 +
'''Templates demonstrated:''' {{tl|birth date}}, {{tl|death date and age}}, {{tl|plainlist}}, and {{tl|ublist}}.
 +
{{Infobox military person
 +
|width_style        = person
 +
|name              = Carwood Lipton<!--
 +
|image              = Carwood lipton 506e.jpg
 +
|caption            = First Lieutenant Lipton in dress uniform-->
 +
|birth_name        = Clifford Carwood Lipton
 +
|nickname          = "Lip"
 +
|birth_date        = {{birth date|1920|01|30}}
 +
|birth_place        = [[Huntington, West Virginia]]
 +
|death_date        = {{death date and age|2001|12|16|1920|01|30}}
 +
|death_place        = [[Pinehurst, North Carolina]]
 +
|allegiance        = {{flagu|United States}}
 +
|branch_label      = Branch
 +
|branch            = [[United States Army]]
 +
|serviceyears_label = Service&nbsp;years
 +
|serviceyears      = 1942–1945
 +
|rank              = [[First lieutenant (United States)|First lieutenant]]
 +
|unit              = {{plainlist|
 +
* [[E Company, 506th Infantry Regiment (United States)|Easy Company]],
 +
* [[506th Infantry Regiment (United States)|506th Infantry Regiment]],
 +
* [[101st Airborne Division]]}}
 +
|battles_label      = Conflict
 +
|battles            = World War II
 +
* [[American airborne landings in Normandy|Normandy landings]]
 +
* [[Operation Market Garden|''Market Garden'']]
 +
* [[Battle of the Bulge]]
 +
|awards            = {{unbulleted list|[[Bronze Star]] (2)|[[Purple Heart]] (3)}}
 +
|otherwork          = Glass executive
 +
}}
 +
 
 +
{{pre2|<nowiki>{{Infobox military person
 +
|width_style        = person
 +
|name              = Carwood Lipton<!--
 +
|image              = Carwood lipton 506e.jpg
 +
  |caption            = First Lieutenant Lipton in dress uniform-->
 +
|birth_name        = Clifford Carwood Lipton
 +
|nickname          = "Lip"
 +
|birth_date        = {{</nowiki>[[Template:Birth date|<span style=color:#0654AD;>birth date</span>]]<nowiki>|1920|01|30}}
 +
|birth_place        = [[Huntington, West Virginia]]
 +
|death_date        = {{</nowiki>[[Template:Death date and age|<span style=color:#0654AD;>death date and age</span>]]<nowiki>|2001|12|16|1920|01|30}}
 +
|death_place        = [[Pinehurst, North Carolina]]
 +
|allegiance        = {{flagu|United States}}
 +
|branch_label      = Branch
 +
|branch            = [[United States Army]]
 +
|serviceyears_label = Service&amp;nbsp;years
 +
|serviceyears      = 1942–1945
 +
|rank              = [[First lieutenant (United States)|First lieutenant]]
 +
|unit              = {{</nowiki>[[Template:Plainlist|<span style=color:#0654AD;>plainlist</span>]]<nowiki>|
 +
* [[E Company, 506th Infantry Regiment (United States)|Easy Company]],
 +
* [[506th Infantry Regiment (United States)|506th Infantry Regiment]],
 +
* [[101st Airborne Division]]}}
 +
|battles_label      = Conflict
 +
|battles            = World War II
 +
* [[American airborne landings in Normandy|Normandy landings]]
 +
* [[Operation Market Garden|''Market Garden'']]
 +
* [[Battle of the Bulge]]
 +
|awards            = {{</nowiki>[[Template:Ublist|<span style=color:#0654AD;>ublist</span>]]<nowiki>|[[Bronze Star]] (2)|[[Purple Heart]] (3)}}
 +
|otherwork          = Glass executive
 +
}}</nowiki>
 +
}}
 +
 
 +
== TemplateData ==
 +
{{TemplateData header}}
 +
<templatedata>
 +
{
 +
"params": {
 +
"honorific_prefix": {
 +
"required": false,
 +
"label": "Honorific Prefix",
 +
"type": "string",
 +
"description": "Titles such as 'Sir', 'General'."
 +
},
 +
"name": {
 +
"required": false,
 +
"label": "Name",
 +
"type": "string",
 +
"description": "The full name of the person."
 +
},
 +
"honorific_suffix": {
 +
"required": false,
 +
"label": "Honorific Suffix",
 +
"type": "string",
 +
"description": "Post-nominal honours such as 'OBE'"
 +
},
 +
"native_name": {
 +
"required": false,
 +
"label": "Native Name",
 +
"type": "string",
 +
"description": "The person's name in their own language"
 +
},
 +
"native_name_lang": {
 +
"required": false,
 +
"label": "Native Name Language",
 +
"type": "string",
 +
"description": "Language in which the native name is given"
 +
},
 +
"image": {
 +
"required": false,
 +
"label": "Image",
 +
"type": "wiki-page-name",
 +
"description": "The image must be given in the form Example.jpg"
 +
},
 +
"image_upright": {
 +
"required": false,
 +
"label": "Image scaling",
 +
"type": "number",
 +
"description": "Image scaling factor, see WP:UPRIGHT"
 +
},
 +
"image_size": {
 +
"required": false,
 +
"label": "Image size",
 +
"type": "number",
 +
"description": "Size of the image in pixels."
 +
},
 +
"alt": {
 +
"required": false,
 +
"label": "Alt",
 +
"type": "string",
 +
"description": "Alternative text, if used, must be placed here."
 +
},
 +
"caption": {
 +
"required": false,
 +
"label": "Caption",
 +
"type": "string",
 +
"description": "Caption for the image"
 +
},
 +
"birth_date": {
 +
"required": false,
 +
"label": "Birth Date",
 +
"type": "line",
 +
"description": "The Date of Birth, if known,"
 +
},
 +
"death_date": {
 +
"required": false,
 +
"label": "Death Date",
 +
"type": "line",
 +
"description": "The Date of Death, if applicable and known,"
 +
},
 +
"birth_place": {
 +
"required": false,
 +
"label": "Birth Place",
 +
"type": "string",
 +
"description": "The person's birth place."
 +
},
 +
"death_place": {
 +
"required": false,
 +
"label": "Death Place",
 +
"type": "string",
 +
"description": "The place where the person died."
 +
},
 +
"placeofburial": {
 +
"required": false,
 +
"label": "Place of Burial",
 +
"type": "string",
 +
"description": "The place where the person's remains are buried or otherwise interred."
 +
},
 +
"placeofburial_label": {
 +
"required": false,
 +
"label": "Place of Burial Label",
 +
"type": "string",
 +
"description": "The label to use for the place of burial field"
 +
},
 +
"placeofburial_coordinates": {
 +
"required": false,
 +
"label": "Place of burial Coordinates",
 +
"type": "string",
 +
"description": "The precise location where the person's remains are buried or otherwise interred. "
 +
},
 +
"nickname": {
 +
"required": false,
 +
"label": "Nick Name",
 +
"type": "string",
 +
"description": "Nick name(s) by which the person was known."
 +
},
 +
"birth_name": {
 +
"required": false,
 +
"label": "Birth Name",
 +
"type": "string",
 +
"description": "The name of the person was born with."
 +
},
 +
"allegiance": {
 +
"required": false,
 +
"label": "Allegiance",
 +
"type": "string",
 +
"description": "The country or other power the person served."
 +
},
 +
"branch": {
 +
"required": false,
 +
"label": "Branch",
 +
"type": "string",
 +
"description": "The service branch (Army, Navy, etc.)"
 +
},
 +
"serviceyears": {
 +
"required": false,
 +
"label": "Service Years",
 +
"type": "number",
 +
"description": "The years during which the person served."
 +
},
 +
"rank": {
 +
"required": false,
 +
"label": "Rank",
 +
"type": "string",
 +
"description": "The highest rank achieved by the person"
 +
},
 +
"servicenumber": {
 +
"required": false,
 +
"label": "Service Number",
 +
"type": "string",
 +
"description": "The service number held by the individual during military service. "
 +
},
 +
"unit": {
 +
"required": false,
 +
"label": "Unit",
 +
"type": "string",
 +
"description": "The unit in which the person served(company, battalion, regiment, etc.)"
 +
},
 +
"commands": {
 +
"required": false,
 +
"label": "Commands",
 +
"type": "string",
 +
"description": "For persons who are notable as commanding officers, the units they commanded."
 +
},
 +
"battles": {
 +
"required": false,
 +
"label": "Battles",
 +
"type": "string",
 +
"description": "Any notable battles or wars in which the person participated."
 +
},
 +
"battles_label": {
 +
"required": false,
 +
"label": "Battles Label",
 +
"type": "string",
 +
"description": "The label to use for the battles field"
 +
},
 +
"awards": {
 +
"required": false,
 +
"label": "Awards",
 +
"type": "string",
 +
"description": "Any notable awards or decorations the person received"
 +
},
 +
"alma_mater": {
 +
"required": false,
 +
"label": "Alma mater",
 +
"type": "string",
 +
"description": "The linked name of attended higher education institution(s)."
 +
},
 +
"spouse": {
 +
"required": false,
 +
"label": "Spouse",
 +
"type": "string",
 +
"description": "Notable spouse if verifiable from a reliable source."
 +
},
 +
"children": {
 +
"required": false,
 +
"label": "Children",
 +
"type": "string",
 +
"description": "Notable children or number of children if verifiable from a reliable source."
 +
},
 +
"relations": {
 +
"required": false,
 +
"label": "Relations",
 +
"type": "string",
 +
"description": "Any notable relations."
 +
},
 +
"laterwork": {
 +
"required": false,
 +
"label": "Later Work",
 +
"type": "string",
 +
"description": "Profession or positions held by the person other than military service"
 +
},
 +
"signature": {
 +
"required": false,
 +
"label": "Signature",
 +
"type": "string",
 +
"description": "An image of the person's signature."
 +
},
 +
"website": {
 +
"required": false,
 +
"label": "Website",
 +
"type": "string",
 +
"description": "Military's website"
 +
},
 +
"branch_label": {
 +
"label": "Branch Label",
 +
"description": "The label of the branch field (above). The branch field is normally preceded by \"Service/Branch\"; to avoid word wrapping, one of \"Service\" or \"Branch\" can be specified.",
 +
"example": "Branch",
 +
"type": "string",
 +
"default": "Service/Branch"
 +
}
 +
},
 +
"format": "{{_\n| _____________ = _\n}}\n",
 +
"paramOrder": [
 +
"honorific_prefix",
 +
"name",
 +
"honorific_suffix",
 +
"native_name",
 +
"native_name_lang",
 +
"image",
 +
"image_upright",
 +
"image_size",
 +
"alt",
 +
"caption",
 +
"birth_date",
 +
"death_date",
 +
"birth_place",
 +
"death_place",
 +
"placeofburial",
 +
"placeofburial_label",
 +
"placeofburial_coordinates",
 +
"nickname",
 +
"birth_name",
 +
"allegiance",
 +
"branch",
 +
"branch_label",
 +
"serviceyears",
 +
"rank",
 +
"servicenumber",
 +
"unit",
 +
"commands",
 +
"battles",
 +
"battles_label",
 +
"awards",
 +
"alma_mater",
 +
"spouse",
 +
"children",
 +
"relations",
 +
"laterwork",
 +
"signature",
 +
"website"
 +
]
 +
}
 +
</templatedata>
 +
 
 +
== Tracking category ==
 +
* {{Category link with count|Pages using infobox military person with unknown parameters}}
 +
* {{Category link with count|Infobox military person image param needs updating}}
 +
 
 +
== See also ==
 +
* {{tlg|Infobox military unit}}
 +
* {{tlg|Infobox officeholder}}<!--
 +
 
 +
--><includeonly>{{Sandbox other||
 +
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Military infobox templates|Person]]
 
[[Category:Military infobox templates|Person]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
+
[[Category:People and person infobox templates|Military person]]
 
+
[[Category:Biographical templates usable as a module|Military person]]
[[bg:Шаблон:Инфокутия Военно лице]]
+
[[Category:Infobox templates with module parameter|Military person]]
[[es:Plantilla:Infobox militares]]
+
[[Category:Templates that add a tracking category|{{PAGENAME}}]]
[[fr:Modèle:Infobox Personnalité militaire]]
+
}}</includeonly> <noinclude>
[[id:Templat:Infobox Military Person]]
+
[[Category:WikiProject Military history template instructions|Military person infobox]]
[[ja:Template:Infobox 軍人]]
+
</noinclude>
[[ka:თარგი:ინფოდაფა სამხედრო მოღვაწე]]
 
[[ko:틀:군인 정보]]
 
[[mk:Шаблон:Инфокутија Воено лице]]
 
[[nl:Sjabloon:Infobox militair persoon]]
 
[[no:Mal:Infoboks militær person]]
 
[[ro:Format:Infobox_militari]]
 
[[ru:Шаблон:Военный деятель]]
 
[[zh:Template:軍人模板]]
 
}}</includeonly>
 

Latest revision as of 16:15, 17 June 2020

Template:Person infobox header

A military person infobox may be used to summarize information about an individual military person, such as a soldier or military leader.

This template may be used as a module (sub-template) of {{Infobox person}}; see Wikipedia:Infobox modules for guidance on such usage.

Usage

Blank template

The infobox should be added as shown below:

Template:Parameter names example

{{Infobox military person
|honorific_prefix = 
|name             = 
|honorific_suffix = 
|image            = 
|image_upright    = 
|alt              = 
|caption          = 
|native_name      = 
|native_name_lang = 
|birth_name       = 
|other_name       = 
|nickname         = 
|birth_date       = <!--{{birth date and age|YYYY|MM|DD}} or {{birth date|YYYY|MM|DD}} if dead-->
|birth_place      = 
|death_date       = <!--{{death date and age|dYYYY|dMM|dDD|YYYY|MM|DD}}-->
|death_place      = 
|placeofburial    = 
|placeofburial_label = 
|placeofburial_coordinates = <!--{{coord|LAT|LONG|display=inline,title}}-->
|allegiance       = 
|branch           = 
|branch_label     = <!--"Branch" or "Service"-->
|serviceyears     = 
|serviceyears_label = 
|rank             = 
|rank_label       = 
|servicenumber    = 
|unit             = 
|commands         = 
|battles          = 
|battles_label    = 
|awards           = 
|memorials        = 
|alma_mater       = 
|spouse           = <!--Add spouse if reliably sourced-->
|children         = 
|relations        = 
|laterwork        = 
|signature        = 
|signature_size   = 
|signature_alt    = 
|website          = <!--{{URL|example.com}}-->
|module           = 
}}

Parameters

Note: When using parameters, avoid the ambiguous abbreviation "N/A", and instead use "unknown" or "none". All subjective or qualitative judgements and numerical quantities or statistics must be cited to a reliable source (see WP:MILMOS#CITE). Please keep in mind WP:ICONDECORATION for the use of images.

  • honorific_prefix – titles such as "Sir", "General".
  • name – the full name of the person.
  • honorific_suffix – post-nominal honours such as "OBE"
  • imageoptional – an image of the person. The image must be given in the form Example.jpg; an image of a nation's highest award, such as the Medal of Honor or Victoria Cross, may be displayed for recipients of it, especially as a placeholder.
  • image_uprightoptional – See WP:UPRIGHT
  • image_sizeoptional – the size of the image in px. Give the number without the px suffix (for example, 220 rather than 220px). |image_upright= is preferred.
  • alt Alt text, if used, must be placed here.
  • captionoptional – the text to be placed below the image.
  • native_name – the person's name in their own language
  • native_name_lang – ISO 639-2 code e.g. "fre" or "fra" for French. If more than one, use {{lang}} for |native_name= instead
  • birth_nameoptional – the name the person was born with, if different from that used later in life.
  • other_nameoptional – other names by which the person was known.
  • nicknameoptional – nickname(s) by which the person was known.
  • birth_dateoptional – the date of birth, if known, using {{Birth date}} or {{Birth date and age}}.
  • birth_placeoptional – the person's birthplace.
  • death_dateoptional – the date of death, if applicable and known, in {{Death date and age}}.
  • death_placeoptional – the place where the person died.
  • placeofburialoptional – the place where the person's remains are buried or otherwise interred.
  • placeofburial_labeloptional – the label of the placeofburial field (above). The placeofburial field is normally preceded by the label "Buried"; if this is not appropriate for the particular manner in which the remains were disposed of, a different label can be specified here.
  • placeofburial_coordinatesoptional – the precise location where the person's remains are buried or otherwise interred. Template:UF-coord
  • allegianceoptional – the country or other power the person served. Multiple countries may be indicated together with the corresponding dates. This field should not be used to indicate a particular service branch, which is better indicated by the branch field (below).
  • branchoptional – the service branch (Army, Navy, etc.) the person was a part of; this should be left blank for people who were not part of a formal armed service, or who predate the establishment of formal service branches.
  • branch_labeloptional – the label of the branch field (above). The branch field is normally preceded by "Service/Branch"; to avoid word wrapping, one of "Service" or "Branch" can be specified.
  • serviceyearsoptional – the years during which the person served.
  • serviceyears_labeloptional – the label to use for the serviceyears field (above); defaults to "Years of service".
  • rankoptional – the highest rank achieved by the person unless a reduction in rank occurred (whether by punishment, voluntary, or as part of joining another military unit or military service). The rank being awarded posthumously, may be noted. In cases where the person held different ranks in different armies, multiple ranks should be specified with dates and country noted for each. Separate multiple entries using {{Plainlist}}.
  • rank_labeloptional – the label to use for the rank field (above); defaults to "Rank".
  • service numberoptional – the service number held by the individual during military service. Do not supply for living persons unless published by secondary sources such as the London Gazette.
  • unitoptional – for persons who are not notable as commanding officers, the unit (company, battalion, regiment, etc.) in which they served. This should be omitted if the commands are specified (as below).
  • commandsoptional – for persons who are notable as commanding officers, the units they commanded. Dates should be given if multiple notable commands were held. Separate multiple entries using {{Plainlist}}.
  • battlesoptional – any notable battles or wars in which the person participated. This should be omitted if a {{Campaignbox}} is used in conjunction with this template. Separate multiple entries using {{Plainlist}}.
  • battles_labeloptional – the label to use for the battles field (above); defaults to "Battles/wars".
  • awardsoptional – any notable awards or decorations the person received; exhaustive lists should be worked into the prose. Separate multiple entries using {{Plainlist}}.
  • memorialsoptional – Memorials or monuments to the subject (e.g. statues, streets named after them). Separate multiple entries using {{Plainlist}}.
  • alma_materoptional – educational institutions the subject graduated from and degree received, in parentheses. Separate multiple entries using {{Plainlist}}
  • spouseoptional – list the service members spouse(s) if verifiable from a reliable source.
  • childrenoptional – Only if independently notable themselves or particularly relevant. Number of children (e.g., three or 3), or list of names if notable, in which case, separate entries using {{Plainlist}} or {{Unbulleted list}}. For privacy reasons, consider omitting the names of children of living persons, unless notable.
  • relationsoptional – any notable relations. Only reasonably close ones should be indicated; an exhaustive listing of an extensive family tree should be avoided here.
  • laterworkoptional – profession or positions held by the person other than military service (displays with the label "Other work"). Separate multiple entries using {{Plainlist}}.
  • signatureoptional – an image of the person's signature. The image must be given in the form example.jpg.
  • signature_sizeoptional – the size of the signature in px. Give the number without the px suffix.
  • signature_altoptional – alt text for the signature.
  • websiteoptional – Use {{URL}}
  • moduleoptional – Embedded template

Lists

For parameters such as |awards=, |unit= or |commands=, which take lists of values, unbulleted or bulleted lists may be preferable. See MOS:VLIST.

Unbulleted lists can be created with {{plainlist}} or {{ublist}}. The use of <br /> is common but semantically incorrect. See MOS:NOBR.

Markup Renders as
awards = {{plainlist|
* Purple Heart (3)
* Bronze Star (2)
* World War II Victory Medal
* Presidential Unit Citation
* Orange Lanyard
}}
  • Purple Heart (3)
  • Bronze Star (2)
  • World War II Victory Medal
  • Presidential Unit Citation
  • Orange Lanyard
Markup Renders as
awards = {{unbulleted list
| Purple Heart (3)
| Bronze Star (2)
| World War II Victory Medal
| Presidential Unit Citation
| Orange Lanyard
}}
  • Purple Heart (3)
  • Bronze Star (2)
  • World War II Victory Medal
  • Presidential Unit Citation
  • Orange Lanyard

Bulleted lists can be created with * markup.

Markup Renders as
awards = 
* Purple Heart (3)
* Bronze Star (2)
* World War II Victory Medal
* Presidential Unit Citation
* Orange Lanyard
  • Purple Heart (3)
  • Bronze Star (2)
  • World War II Victory Medal
  • Presidential Unit Citation
  • Orange Lanyard

Embedding

Many military people are known for more than just their military service (e.g. Douglas Fairbanks Jr. and James Stewart), 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. The title for the embedded section can be changed using |embed_title=.

John Infobox
Born
John Military Infobox

(1950-05-05)5 May 1950
Template City, Country
Died10 June 2010(2010-06-10) (aged 60)
OccupationActor
Years active1970–1990
Script error: No such module "If empty".
AllegianceUnited States
Service/branchU.S. Army Air Forces
Years of service1980–1985
RankBrigadier general
Websiteexample.com

Template:Wikidata image

{{Infobox person
 |name         = John Infobox
 |birth_name   = John Military Infobox
 |birth_date   = {{birth date|1950|5|5|df=y}}
 |birth_place  = Template City, Country
 |death_date   = {{death date and age|2010|6|10|1950|5|5|df=y}}
 |occupation   = Actor
 |years_active = 1970–1990
 |module       = 
  {{Infobox military person
   |embed        = yes
   |embed_title  = Fictitious military career
   |allegiance   = United States
   |branch       = U.S. Army Air Forces
   |serviceyears = 1980–1985
   |rank         = Brigadier general
   |website      = {{URL|example.com}}
  }}
}}

Example

Templates demonstrated: {{birth date}}, {{death date and age}}, {{plainlist}}, and {{ublist}}.

Carwood Lipton
Birth nameClifford Carwood Lipton
Nickname(s)"Lip"
Born(1920-01-30)January 30, 1920
Huntington, West Virginia
DiedDecember 16, 2001(2001-12-16) (aged 81)
Pinehurst, North Carolina
Allegiance United States
BranchUnited States Army
Service years1942–1945
RankFirst lieutenant
Unit
ConflictWorld War II
Awards
Other workGlass executive

Template:Pre2

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Infobox military person

No description.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Honorific Prefixhonorific_prefix

Titles such as 'Sir', 'General'.

Stringoptional
Namename

The full name of the person.

Stringoptional
Honorific Suffixhonorific_suffix

Post-nominal honours such as 'OBE'

Stringoptional
Native Namenative_name

The person's name in their own language

Stringoptional
Native Name Languagenative_name_lang

Language in which the native name is given

Stringoptional
Imageimage

The image must be given in the form Example.jpg

Pageoptional
Image scalingimage_upright

Image scaling factor, see WP:UPRIGHT

Numberoptional
Image sizeimage_size

Size of the image in pixels.

Numberoptional
Altalt

Alternative text, if used, must be placed here.

Stringoptional
Captioncaption

Caption for the image

Stringoptional
Birth Datebirth_date

The Date of Birth, if known,

Lineoptional
Death Datedeath_date

The Date of Death, if applicable and known,

Lineoptional
Birth Placebirth_place

The person's birth place.

Stringoptional
Death Placedeath_place

The place where the person died.

Stringoptional
Place of Burialplaceofburial

The place where the person's remains are buried or otherwise interred.

Stringoptional
Place of Burial Labelplaceofburial_label

The label to use for the place of burial field

Stringoptional
Place of burial Coordinatesplaceofburial_coordinates

The precise location where the person's remains are buried or otherwise interred.

Stringoptional
Nick Namenickname

Nick name(s) by which the person was known.

Stringoptional
Birth Namebirth_name

The name of the person was born with.

Stringoptional
Allegianceallegiance

The country or other power the person served.

Stringoptional
Branchbranch

The service branch (Army, Navy, etc.)

Stringoptional
Branch Labelbranch_label

The label of the branch field (above). The branch field is normally preceded by "Service/Branch"; to avoid word wrapping, one of "Service" or "Branch" can be specified.

Default
Service/Branch
Example
Branch
Stringoptional
Service Yearsserviceyears

The years during which the person served.

Numberoptional
Rankrank

The highest rank achieved by the person

Stringoptional
Service Numberservicenumber

The service number held by the individual during military service.

Stringoptional
Unitunit

The unit in which the person served(company, battalion, regiment, etc.)

Stringoptional
Commandscommands

For persons who are notable as commanding officers, the units they commanded.

Stringoptional
Battlesbattles

Any notable battles or wars in which the person participated.

Stringoptional
Battles Labelbattles_label

The label to use for the battles field

Stringoptional
Awardsawards

Any notable awards or decorations the person received

Stringoptional
Alma materalma_mater

The linked name of attended higher education institution(s).

Stringoptional
Spousespouse

Notable spouse if verifiable from a reliable source.

Stringoptional
Childrenchildren

Notable children or number of children if verifiable from a reliable source.

Stringoptional
Relationsrelations

Any notable relations.

Stringoptional
Later Worklaterwork

Profession or positions held by the person other than military service

Stringoptional
Signaturesignature

An image of the person's signature.

Stringoptional
Websitewebsite

Military's website

Stringoptional

Tracking category

See also