Template:Infobox military unit: Difference between revisions
No edit summary |
m (1 revision imported: Updating military templates) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 52: | Line 52: | ||
| data13 = {{{motto|}}} | | data13 = {{{motto|}}} | ||
| label14 = {{ | | label14 = {{if empty|{{{colors_label|}}}|{{{colours_label|}}}|{{#if:{{{colours|}}}|Colours|Colors}}}} | ||
| data14 = {{#if:{{{colours|}}}|{{{colours|}}}|{{{colors|}}}}} | | data14 = {{#if:{{{colours|}}}|{{{colours|}}}|{{{colors|}}}}} | ||
Line 191: | Line 191: | ||
| data61 = {{{misc|{{{module|}}}}}} | | data61 = {{{misc|{{{module|}}}}}} | ||
}}</includeonly><noinclude> | }}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox military unit with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox military unit]] with unknown parameter "_VALUE_"|ignoreblank=y| aircraft_attack | aircraft_bomber | aircraft_electronic | aircraft_fighter | aircraft_general | aircraft_helicopter | aircraft_helicopter_attack | aircraft_helicopter_cargo | aircraft_helicopter_multirole | aircraft_helicopter_observation | aircraft_helicopter_trainer | aircraft_helicopter_utility | aircraft_interceptor | aircraft_patrol | aircraft_recon | aircraft_tanker | aircraft_trainer | aircraft_transport | allegiance | alt | anniversaries | battle_honours | battle_honours_label | battles | battles_label | branch | caption | ceremonial_chief | ceremonial_chief_label | colonel_of_the_regiment | colonel_of_the_regiment_label | colors | colors_label | colours | colours_label | command_sergeant_major | command_sergeant_major_label | command_structure | commander1 | commander1_label | commander2 | commander2_label | commander3 | commander3_label | commander4 | commander4_label | commander5 | commander5_label | commander6 | commander6_label | commander7 | commander7_label | commander8 | commander8_label | commander9 | commander9_label | countries | country | current_commander | current_commander_label | dates | decorations | disbanded | end_date | equipment | equipment_label | flying_hours | garrison | garrison_label | identification_symbol | identification_symbol_2 | identification_symbol_2_label | identification_symbol_3 | identification_symbol_3_label | identification_symbol_4 | identification_symbol_4_label | identification_symbol_5 | identification_symbol_5_label | identification_symbol_6 | identification_symbol_6_label | identification_symbol_label | image | image_size | march | mascot | misc | module | motto | native_name | nickname | notable_commanders | patron | role | size | specialization | start_date | type | unit_name | website }}<includeonly>{{short description|Military unit|2=noreplace}}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 06:30, 13 September 2024
This template is used on approximately 23,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.
Transclusion count updated automatically (see documentation). |
This template adds an automatically generated short description. |
This template uses Lua: |
Usage
Military unit infobox
A military unit infobox may be used to summarize information about an individual military unit or formation, such as a regiment or division.
The infobox should be added using the {{Infobox military unit}}
template, as shown below:
{{{unit_name}}} | |
---|---|
{{{native_name}}} | |
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]] | |
Active |
|
Disbanded | {{{disbanded}}} |
Country |
|
Allegiance | {{{allegiance}}} |
Branch | {{{branch}}} |
Type | {{{type}}} |
Role | {{{role}}}{{{specialization}}} |
Size | {{{size}}} |
Part of | {{{command_structure}}} |
Garrison/HQ | {{{garrison}}} |
Nickname(s) | {{{nickname}}} |
Patron | {{{patron}}} |
Motto(s) | {{{motto}}} |
Colors | {{{colors}}} |
March | {{{march}}} |
Mascot(s) | {{{mascot}}} |
Anniversaries | {{{anniversaries}}} |
Equipment | {{{equipment}}} |
Engagements | {{{battles}}} |
Decorations | {{{decorations}}} |
Battle honours | {{{battle_honours}}} |
Flying hours | {{{flying_hours}}} |
Website | {{{website}}} |
Commanders | |
Current commander |
|
Ceremonial chief |
|
Colonel of the Regiment |
|
Command Sergeant Major |
|
Commander | {{{commander5}}} |
Commander | {{{commander6}}} |
Commander | {{{commander7}}} |
Commander | {{{commander8}}} |
Commander | {{{commander9}}} |
Notable commanders | {{{notable_commanders}}} |
Insignia | |
Identification symbol | {{{identification_symbol}}} |
Identification symbol | {{{identification_symbol_2}}} |
Identification symbol | {{{identification_symbol_3}}} |
Identification symbol | {{{identification_symbol_4}}} |
Identification symbol | {{{identification_symbol_5}}} |
Identification symbol | {{{identification_symbol_6}}} |
Aircraft flown | |
Attack | {{{aircraft_attack}}} |
Bomber | {{{aircraft_bomber}}} |
Electronic warfare | {{{aircraft_electronic}}} |
Fighter | {{{aircraft_fighter}}} |
Helicopter | {{{aircraft_helicopter}}} |
Attack helicopter | {{{aircraft_helicopter_attack}}} |
Cargo helicopter | {{{aircraft_helicopter_cargo}}} |
Multirole helicopter | {{{aircraft_helicopter_multirole}}} |
Observation helicopter | {{{aircraft_helicopter_observation}}} |
Trainer helicopter | {{{aircraft_helicopter_trainer}}} |
Utility helicopter | {{{aircraft_helicopter_utility}}} |
Interceptor | {{{aircraft_interceptor}}} |
Patrol | {{{aircraft_patrol}}} |
Reconnaissance | {{{aircraft_recon}}} |
Trainer | {{{aircraft_trainer}}} |
Transport | {{{aircraft_transport}}} |
Tanker | {{{aircraft_tanker}}} |
{{{aircraft_general}}} |
{{Infobox military unit
| unit_name =
| native_name =
| image =
| image_size =
| alt =
| caption =
| dates = <!-- or | start_date = | end_date = -->
| disbanded =
| country = <!-- or | countries = -->
| allegiance =
| branch =
| type =
| role = <!-- or | specialization = -->
| size =
| command_structure =
| garrison =
| garrison_label =
| nickname =
| patron =
| motto =
| colors = <!-- or | colours = -->
| colors_label = <!-- or | colours_label = -->
| march =
| mascot =
| anniversaries =
| equipment =
| equipment_label =
| battles =
| battles_label =
| decorations =
| battle_honours =
| battle_honours_label =
| flying_hours =
| website =
<!-- Commanders -->
| current_commander =
| commander1 =
| commander1_label =
| commander2 =
| commander2_label =
| commander3 =
| commander3_label =
| commander4 =
| commander4_label =
| commander5 =
| commander5_label =
| commander6 =
| commander6_label =
| commander7 =
| commander7_label =
| commander8 =
| commander8_label =
| commander9 =
| commander9_label =
| notable_commanders =
<!-- Insignia -->
| identification_symbol =
| identification_symbol_label =
| identification_symbol_2 =
| identification_symbol_2_label =
| identification_symbol_3 =
| identification_symbol_3_label =
| identification_symbol_4 =
| identification_symbol_4_label =
| identification_symbol_5 =
| identification_symbol_5_label =
| identification_symbol_6 =
| identification_symbol_6_label =
<!-- Aircraft -->
| aircraft_attack =
| aircraft_bomber =
| aircraft_electronic =
| aircraft_fighter =
| aircraft_helicopter =
| aircraft_helicopter_attack =
| aircraft_helicopter_cargo =
| aircraft_helicopter_multirole =
| aircraft_helicopter_observation =
| aircraft_helicopter_trainer =
| aircraft_helicopter_utility =
| aircraft_interceptor =
| aircraft_patrol =
| aircraft_recon =
| aircraft_trainer =
| aircraft_transport =
| aircraft_tanker =
| aircraft_general =
}}
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).
- unit_name – The formal name of the unit in English.
- native_name – optional – The formal name of the unit in the local language, if different from unit_name, and if not English. This will display under the unit_name.
- image – optional – An image of the unit insignia (cap badges, tartan or colours), if available; other images may be used if this cannot be obtained. The image should be given in the form
Example.jpg
. - image_size – optional – Used to override the default image width of 200 pixels. It should be written as
200px
. - alt – optional – Alternative text for visually impaired users, see WP:ALT.
- caption – optional – The text to be placed below the image.
- dates – The period (usually in years) when the unit was active; alternately, the dates may be indicated by using one—or both—of the separate start_date and end_date parameters.
- country – optional – If the unit is part of the armed forces of a sovereign state, the name of that state.
- allegiance – optional – Used to indicate the allegiance of units which are not part of the regular armed forces of a sovereign state; can usually be omitted otherwise. In the case of National Guard or Naval Militia units, the State of origin should be indicated.
- branch – optional – The service branch, in militaries that have them; typically army, navy, air force, etc.
- type – optional – The general type of unit, e.g., cavalry, infantry, artillery, etc. More specific types (airborne infantry, light cavalry, etc.) may be given as appropriate.
- role – optional – Typical strategic or tactical use of unit, e.g., shock troop, special operations, mechanized infantry, ceremonial guard, etc.
- size – optional – The size of the unit; this may include both average and lifetime figures, and should indicate equipment (planes, tanks, cannon, etc.) where applicable. For U.S. units, this should only include Organic elements, not Assigned or Attached elements.
- command_structure – optional – The larger unit(s) of which the unit is a part. This should not be used to provide an exhaustive history of the unit, which is more appropriate in the article itself, for units existing over a long period. For complicated cases, using the auxiliary command structure box may be appropriate.
- garrison – optional – Location of the unit's home base; this is generally applicable only to units in existence.
- garrison_label – optional – The label to use for the garrison field (above).
- nickname – optional – Any commonly-used nicknames for the unit.
- patron – optional – The patron the unit was named after; this is only applicable in armed forces where units are named after individuals.
- motto – optional – The official unit motto (with translation, if necessary).
- colors – optional – The unit colors; this may refer to either the actual colors used on the uniform, or to the colours of the unit.
- colors_label – optional – the label to use for the colors field (above).
- march – optional – The tune(s) commonly or officially played when the unit ceremonially marches; there may be several.
- mascot – optional – Any official or unofficial animal or character maintained by the unit.
- equipment – optional – For units strongly associated with specific equipment or vehicles, such as tanks, artillery, or aircraft, a brief list of the notable types used by the unit; if the number of entries is large, it is recommended that this field not be used, and that the full list be given in the article text instead.
- equipment_label – optional – The label to use for the equipment field (above).
- battles – optional – Any notable engagements in which the unit participated. The decision of what constitutes a notable engagement is left to the editors of the specific article.
- battles_label – optional – The label to use for the battles field (above); this defaults to "Engagements" if left blank.
- anniversaries – optional – Any anniversaries that a unit celebrates.
- decorations – optional – Any decorations (such as the Presidential Unit Citation) that the unit as a whole has received.
- battle_honours – optional – For units in countries that award some type of formal battle honours, the battle honours that the unit has received; while this may have some overlap with the battles field above, the two are not necessarily equivalent.
- battle_honours_label – optional – The label to use for the battle_honours field (above); this defaults to "Battle honours" if left blank.
- disbanded – optional – For units that have been disbanded, the dates and any other relevant notes regarding the disbanding.
- flying_hours – optional – If the formation is an aerial one, the total hours flown.
- website – optional – The official website of the formation, if any.
Commander parameters:
The infobox allows for up to three current commanders to be specified; the exact roles or titles of these individuals should be specified via the corresponding label parameters.
- commander1 – optional – A current commander of the unit; this can be the acting commander, the ceremonial commander, the chief of staff, or any other leader.
- commander1_label – optional – The label to use for the field above; for historical reasons, this defaults to "Current commander" if left blank.
- commander2 – optional – A second current commander of the unit; this can be the acting commander, the ceremonial commander, the chief of staff, or any other leader.
- commander2_label – optional – The label to use for the field above; for historical reasons, this defaults to "Ceremonial chief" if left blank.
- commander3 – optional – A third current commander of the unit; this can be the acting commander, the ceremonial commander, the chief of staff, or any other leader.
- commander3_label – optional – The label to use for the field above; for historical reasons, this defaults to "Colonel of the Regiment" if left blank.
- commander4 – optional – A fourth current commander of the unit; this can be the acting commander, the ceremonial commander, the chief of staff, or any other leader.
- commander4_label – optional – The label to use for the field above; for historical reasons, this defaults to "Command Sergeant Major" if left blank.
- commander5 – optional – A fifth current commander of the unit; this can be the acting commander, the ceremonial commander, the chief of staff, or any other leader.
- commander5_label – optional – The label to use for the field above; defaults to "Commander".
- commander6 – optional – A sixth current commander of the unit; this can be the acting commander, the ceremonial commander, the chief of staff, or any other leader.
- commander6_label – optional – The label to use for the field above; defaults to "Commander".
- commander7 – optional – A seventh current commander of the unit; this can be the acting commander, the ceremonial commander, the chief of staff, or any other leader.
- commander7_label – optional – The label to use for the field above; defaults to "Commander".
- commander8 – optional – An eighth current commander of the unit; this can be the acting commander, the ceremonial commander, the chief of staff, or any other leader.
- commander8_label – optional – The label to use for the field above; defaults to "Commander".
- commander9 – optional – A ninth current commander of the unit; this can be the acting commander, the ceremonial commander, the chief of staff, or any other leader.
- commander9_label – optional – The label to use for the field above; defaults to "Commander".
- notable_commanders – optional – Any notable former commanders of the unit; judgement of notability is left to individual article editors.
Insignia parameters:
- identification_symbol – optional – The unit's identification symbol (such as a tartan, tactical identification patch or morale patch).
- identification_symbol_label – optional – The label to use for the identification symbol field (above).
- identification_symbol_2 – optional – Another identification symbol.
- identification_symbol_2_label – optional – The label to use for the second identification symbol field (above).
- identification_symbol_3 – optional – Another identification symbol.
- identification_symbol_3_label – optional – The label to use for the third identification symbol field (above).
- identification_symbol_4 – optional – Another identification symbol.
- identification_symbol_4_label – optional – The label to use for the fourth identification symbol field (above).
- identification_symbol_5 – optional – Another identification symbol.
- identification_symbol_5_label – optional – The label to use for the fifth identification symbol field (above).
- identification_symbol_6 – optional – Another identification symbol.
- identification_symbol_6_label – optional – The label to use for the sixth identification symbol field (above).
Aircraft parameters:
- aircraft_attack – optional – For aviation units, the attack aircraft flown by the unit.
- aircraft_bomber – optional – For aviation units, the bomber aircraft flown by the unit.
- aircraft_electronic – optional – For aviation units, the electronic warfare aircraft flown by the unit.
- aircraft_fighter – optional – For aviation units, the fighter aircraft flown by the unit.
- aircraft_helicopter – optional – For aviation units, the helicopter aircraft flown by the unit.
- aircraft_helicopter_attack – optional – For aviation units, the attack helicopter aircraft flown by the unit.
- aircraft_helicopter_cargo – optional – For aviation units, the cargo helicopter aircraft flown by the unit.
- aircraft_helicopter_multirole – optional – For aviation units, the multirole helicopter aircraft flown by the unit.
- aircraft_helicopter_observation – optional – For aviation units, the observation helicopter aircraft flown by the unit.
- aircraft_helicopter_trainer – optional – For aviation units, the trainer helicopter aircraft flown by the unit.
- aircraft_helicopter_utility – optional – For aviation units, the utility helicopter aircraft flown by the unit.
- aircraft_interceptor – optional – For aviation units, the interceptor aircraft flown by the unit.
- aircraft_patrol – optional – For aviation units, the patrol aircraft flown by the unit.
- aircraft_recon – optional – For aviation units, the reconnaissance aircraft flown by the unit.
- aircraft_trainer – optional – For aviation units, the trainer aircraft flown by the unit.
- aircraft_transport – optional – For aviation units, the transport aircraft flown by the unit.
- aircraft_tanker – optional – For aviation units, the aerial refueling aircraft flown by the unit.
- aircraft_general – optional – For aviation units, where aircraft used do not fit well into the above categories.
Note that the various xyz_label
fields above are intended for overriding the default labels on these fields as needed for particular countries or services; in most cases, however, the default value is sufficient, and the fields need not be included.
Command structure box
A command structure box may be used to summarize information about an individual military unit's parent and subordinate units; it should generally be used in conjunction with {{Infobox military unit}}
. If needed, multiple boxes may be used to show the unit's command structure during different periods.
The box should be added using the {{Infobox command structure}}
template, as shown below:
{{Infobox command structure | name = | date = | parent = | subordinate = }}
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).
- name – the name of the unit or formation.
- date – optional – the dates during which the given structure was in place.
- parent – optional – the unit's parent unit.
- subordinate – optional – the unit's subordinate units.
Infobox service record
Combat service | |
---|---|
Part of | 7. Unterseebootsflottille (1938–41) |
Identification codes | M 18 837 (feldpost) |
Commanders | Günther Prien (1938–41) |
Operations | 10 patrols |
Victories |
30 ships (162,769 GRT) sunk, 1 warship (29,150 tons) sunk, 8 ships (62,751 GRT) damaged |
A service record box may be used to summarize information about an individual military unit's or ship's service history; it should generally be used in conjunction with the appropriate primary infobox. If needed, multiple boxes may be used to separate the service record for different periods; for example, a unit that fought in several wars may have separate boxes for each.
The box should be added using the {{Infobox service record}}
template, as shown below:
{{Infobox service record | is_ship = | is_multi = | label = | partof = | codes = | commanders = | operations = | victories = | awards = }}
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).
- is_ship – optional – "yes" if the box is being used inside a compound ship infobox.
- is_multi – optional – "yes" if multiple instances of the box are being used inside a single compound ship infobox.
- label – optional – the label to use for the box; this defaults to "Service record" if left blank.
- partof – optional – the unit or formation of which the subject unit or ship was a part; multiple units may be listed with the corresponding dates.
- codes – optional – the identification codes carried by the unit or ship; these should generally be labeled according to what the code indicates.
- commanders – optional – the notable commanding officers for the period covered.
- operations – optional – the operations (such as battles, wars, campaigns, patrols, cruises, etc.) in which the subject unit or ship participated; these may be given as a list, or described in a more condensed form.
- victories – optional – the victories or successes in the subject's service history. For units, this may be battles won; for submarines or merchant raiders, the ships and tonnage sunk; and so forth.
- awards – optional – the awards, decorations, or other honors received by the subject unit or ship.
Example
502nd Parachute Infantry Regiment | |
---|---|
Active | 1942–present |
Country | United States |
Branch | Army |
Type | Parachute infantry |
Part of | 101st Airborne Division |
Garrison/HQ | Fort Campbell |
Nickname(s) | "Five-Oh-Deuce" or "The Deuce" |
Motto(s) | Strike |
Engagements | World War II |
Decorations | |
Commanders | |
Notable commanders |
{{Infobox military unit
| unit_name = 502nd Parachute Infantry Regiment
| image = 502 Parachute Infantry Regiment COA.PNG
| caption = 502d PIR Coat of Arms
| nickname = "Five-Oh-Deuce" or "The Deuce"
| motto = ''Strike''
| colors =
| march =
| ceremonial_chief =
| type = [[Parachute infantry]]
| branch = [[United States Army|Army]]
| dates = 1942–present
| country = United States
| allegiance =
| command_structure = [[101st Airborne Division]]
| size =
| specialization =
| current_commander =
| garrison = [[Fort Campbell]]
| garrison_label =
| battles = World War II
*[[Western Front (World War II)|European War]]
*[[Invasion of Normandy|Battle of Normandy]]
*[[Operation Market Garden]]
*[[Battle of the Bulge]]
[[War on Terrorism]]
*[[Iraq War]]
**[[Operation Iraqi Freedom]]
| notable_commanders = {{unbulleted list|[[George V. H. Moseley, Jr.]]|[[John H. Michaelis]]}}
| anniversaries =
| decorations = {{unbulleted list|[[Presidential Unit Citation (United States)|Presidential Unit Citation]] (5)|[[Valorous Unit Award]] (5)|[[Croix de Guerre]]}}
}}
Microformat
The HTML mark-up produced by this template includes an hCard microformat that makes an organization's details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.- Subtemplates
- Use {{Start date and age}} for the date on which an organisation was "established", "founded", "opened" or otherwise started, unless that date is before 1583 CE.
- Use {{URL}} for an organisation's URL.
Please do not remove instances of these subtemplates.
- Classes used
The HTML classes of this microformat include:
- adr
- agent
- category
- country-name
- extended-address
- fn
- geo
- label
- latitude
- locality
- longitude
- nickname
- note
- org
- region
- street-address
- url
- vcard
nor collapse nested elements which use them.
TemplateData
TemplateData documentation used by VisualEditor and other tools
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
See the monthly parameter usage report for this template.
TemplateData for Infobox military unit A military unit infobox may be used to summarize information about an individual military unit or formation, such as a regiment or division.
|