Template:Infobox military person/doc: Difference between revisions

From The Global Wiki
Jump to navigation Jump to search
en>Hqb
m (link to list of ISO codes for easy reference)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 01:19, 18 January 2023

Script error: No such module "High-use".

A military person infobox may be used to summarize information about an individual military person, such as a soldier or military leader, or for uniformed officers in non-military branches of government.

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:

Script error: No such module "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         = 
|known_for        =
|battles          = 
|battles_label    = 
|awards           = 
|memorials        = 
|alma_mater       = 
|spouse           = <!--{{marriage|name|start date|end date}}; 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".
  • 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_langISO 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. For coordinates, use {{coord}} with display=inline,title. Please do not be overly precise.
  • 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. 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}}.
  • known_for or knownoptional – for other areas of notability such as war crimes or notable orders.
  • 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 asScript error: No such module "For loop".
Markup Renders asScript error: No such module "For loop".

Bulleted lists can be created with * markup.

Markup Renders asScript error: No such module "For loop".

Embedding

Many military people and uniformed officers in other services are known primarily for something other than their military service (e.g. Douglas Fairbanks Jr., Vivek Murthy, or 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, displaying 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
{{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}}, {{tree list}}, {{tree list/end}}, 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
AllegianceUnited States
BranchUnited States Army
Service years1942–1945
RankFirst lieutenant
Unit
Conflict
Awards
Other workGlass executive
{{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         = 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            = {{tree list}}
* World War II
** [[American airborne landings in Normandy|Normandy landings]]
** ''[[Operation Market Garden|Market Garden]]''
** [[Battle of the Bulge]]
{{tree list/end}}
 |awards             = {{ublist|[[Bronze Star]] (2)|[[Purple Heart]] (3)}}
 |otherwork          = Glass executive
}}

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Infobox military person

No description.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Honorific Prefixhonorific_prefix

Titles such as 'Sir'.

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

Page nameoptional
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
Known forknown_for

For other areas of notability such as war crimes or notable orders.

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