Template:Infobox military person/doc: Difference between revisions
zoophilia>PARAKANYAA add parameters to template data |
m 1 revision imported |
(No difference)
|
Latest revision as of 17:48, 30 November 2023
This is a documentation subpage for Template:Infobox military person. It may contain usage information, categories and other content that is not part of the original template page. |
The design and content of biographical infoboxes must follow Wikipedia's verifiability policy, as well as infobox and biographical style guideline. All content displayed in this template must adhere to the biographies of living persons policy if applicable. Unsourced or poorly sourced contentious material must be removed immediately from the article and its infobox, especially if potentially libellous. |
This template is used on approximately 45,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
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:
{{{honorific prefix}}} {{{name}}} {{{honorific suffix}}} | |
---|---|
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]] | |
Native name | {{{native_name}}} |
Birth name | {{{birth_name}}} |
Other name(s) | {{{other_name}}} |
Nickname(s) | {{{nickname}}} |
Born | {{{birth_date}}} {{{birth_place}}} |
Disappeared | {{{disappeared_date}}} {{{disappeared_place}}} |
Died | {{{death_date}}} {{{death_place}}} |
Cause of death | {{{death_cause}}} |
{{{placeofburial_label}}} | {{{placeofburial}}} {{{placeofburial_coordinates}}} |
Allegiance | {{{allegiance}}} |
{{{branch_label}}} | {{{branch}}} |
{{{serviceyears_label}}} | {{{serviceyears}}} |
{{{rank_label}}} | {{{rank}}} |
Service number | {{{servicenumber}}} |
Unit | {{{unit}}} |
Commands held | {{{commands}}} |
Known for | {{{known_for}}} |
{{{battles_label}}} | {{{battles}}} |
Awards | {{{awards}}} |
Memorials | {{{memorials}}} |
Alma mater | {{{alma_mater}}} |
Spouse(s) | {{{spouse}}} |
Relations | {{{relations}}} |
Other work | {{{otherwork}}} |
Signature | [[File:{{{signature}}}|{{{signature_size}}}|alt={{{signature alt}}}]] |
Website | {{{website}}} |
{{{module}}} |
<syntaxhighlight lang="wikitext" style=overflow:auto;> </syntaxhighlight>
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"
- image – optional – 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_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).
|image_upright=
is preferred. - alt 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 {{lang}} for
|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 {{Birth date}} or {{Birth date and age}}.
- birth_place – optional – the person's birthplace.
- disappeared_date - optional when the person disappeared.
- disappeared_place - optional where the person disappeared.
- death_date – optional – the date of death, if applicable and known, in {{Death date and age}}.
- death_place – optional – the place where the person died.
- death_cause – optional – the cause of death, if notable.
- 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. For coordinates, use {{coord}} with display=inline,title. Please do not be overly precise.
- 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
branch
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. 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_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 {{Plainlist}}.
- known_for or known – optional – for other areas of notability such as war crimes or notable orders.
- battles – optional – 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_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 {{Plainlist}}.
- memorials – optional – Memorials or monuments to the subject (e.g. statues, streets named after them). Separate multiple entries using {{Plainlist}}.
- alma_mater – optional – educational institutions the subject graduated from and degree received, in parentheses. Separate multiple entries using {{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 {{Plainlist}} or {{Unbulleted list}}. 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 {{Plainlist}}.
- signature – optional – an image of the person's signature. The image must be given in the form
example.jpg
. - 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 {{URL}}
- module – optional – 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 }} |
|
Markup | Renders as |
---|---|
awards = {{unbulleted list | 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 |
|
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 5 May 1950 Template City, Country |
Died | 10 June 2010 | (aged 60)
Occupation | Actor |
Years active | 1970–1990 |
Fictitious military career | |
Allegiance | United States |
Service/ | U.S. Army Air Forces |
Years of service | 1980–1985 |
Rank | Brigadier general |
Website | example.com |
<syntaxhighlight lang="wikitext" style=overflow:auto;>
John Infobox | |
---|---|
Born | John Military Infobox 5 May 1950 Template City, Country |
Died | 10 June 2010 | (aged 60)
Occupation | Actor |
Years active | 1970–1990 |
Fictitious military career | |
Allegiance | United States |
Service/ | U.S. Army Air Forces |
Years of service | 1980–1985 |
Rank | Brigadier general |
Website | example |
</syntaxhighlight>
Example
Templates demonstrated: {{birth date}}, {{death date and age}}, {{plainlist}}, {{tree list}}, {{tree list/end}}, and {{ublist}}.
Carwood Lipton | |
---|---|
Birth name | Clifford Carwood Lipton |
Nickname(s) | "Lip" |
Born | Huntington, West Virginia | January 30, 1920
Died | December 16, 2001 Pinehurst, North Carolina | (aged 81)
Allegiance | United States |
Branch | United States Army |
Service years | 1942–1945 |
Rank | First lieutenant |
Unit | |
Conflict |
|
Awards |
|
Other work | Glass executive |
<syntaxhighlight lang="wikitext">
Carwood Lipton | |
---|---|
Birth name | Clifford Carwood Lipton |
Nickname(s) | "Lip" |
Born | Huntington, West Virginia | January 30, 1920
Died | December 16, 2001 Pinehurst, North Carolina | (aged 81)
Allegiance | United States |
Branch | United States Army |
Service years | 1942–1945 |
Rank | First lieutenant |
Unit | |
Conflict |
|
Awards |
|
Other work | Glass executive |
</syntaxhighlight>
TemplateData
TemplateData for Infobox military person
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Honorific prefix | honorific_prefix | Titles such as 'Sir'. | String | optional |
Name | name | The full name of the person. | String | optional |
Honorific suffix | honorific_suffix | Post-nominal honours such as 'OBE' | String | optional |
Native name | native_name | The person's name in their own language | String | optional |
Native name language | native_name_lang | Language in which the native name is given | String | optional |
Image | image | The image must be given in the form Example.jpg | Page name | optional |
Image scaling | image_upright | Image scaling factor, see WP:UPRIGHT | Number | optional |
Image size | image_size | Size of the image in pixels. | Number | optional |
Alt | alt | Alternative text, if used, must be placed here. | String | optional |
Caption | caption | Caption for the image | String | optional |
Birth date | birth_date | The date of birth, if known, | Line | optional |
Death date | death_date | The date of death, if applicable and known, | Line | optional |
Birth place | birth_place | The person's birth place. | String | optional |
Death place | death_place | The place where the person died. | String | optional |
Disappeared place | disappeared_place | The place where the person disappeared. | String | optional |
Disappeared date | disappeared_date | When the person disappeared. | String | optional |
Death cause | death_cause | The cause of the person's death, if notable. | String | optional |
Place of burial | placeofburial | The place where the person's remains are buried or otherwise interred. | String | optional |
Place of burial label | placeofburial_label | The label to use for the place of burial field | String | optional |
Place of burial coordinates | placeofburial_coordinates | The precise location where the person's remains are buried or otherwise interred. | String | optional |
Nickname | nickname | Nickname(s) by which the person was known. | String | optional |
Birth name | birth_name | The name of the person was born with. | String | optional |
Allegiance | allegiance | The country or other power the person served. | String | optional |
Branch | branch | The service branch (Army, Navy, etc.) | String | optional |
Branch label | branch_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.
| String | optional |
Service years | serviceyears | The years during which the person served. | Number | optional |
Rank | rank | The highest rank achieved by the person | String | optional |
Service number | servicenumber | The service number held by the individual during military service. | String | optional |
Unit | unit | The unit in which the person served(company, battalion, regiment, etc.) | String | optional |
Commands | commands | For persons who are notable as commanding officers, the units they commanded. | String | optional |
Known for | known_for | For other areas of notability such as war crimes or notable orders. | String | optional |
Battles | battles | Any notable battles or wars in which the person participated. | String | optional |
Battles label | battles_label | The label to use for the battles field | String | optional |
Awards | awards | Any notable awards or decorations the person received | String | optional |
Alma mater | alma_mater | The linked name of attended higher education institution(s). | String | optional |
Spouse | spouse | Notable spouse if verifiable from a reliable source. | String | optional |
Children | children | Notable children or number of children if verifiable from a reliable source. | String | optional |
Relations | relations | Any notable relations. | String | optional |
Later work | laterwork | Profession or positions held by the person other than military service | String | optional |
Signature | signature | An image of the person's signature. | String | optional |
Website | website | Military's website | String | optional |
Tracking category
- Category:Pages using infobox military person with unknown parameters (0)
- Category:Infobox military person image param needs updating (0)