Jump to content

Template:Infobox military unit/doc: Difference between revisions

From the Vrienden Universe, a fictional wiki
No edit summary
Remove irrelevant article links and Wikipedia policy references from infobox documentation
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== 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 {{tlx|Infobox military unit}} template, as shown below:
{{Parameter names example
{{Parameter names example
| unit_name
| unit_name
Line 207: Line 201:
* '''unit_name''' – The formal name of the unit in English.
* '''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.
* '''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''' &ndash; ''optional'' &ndash; An image of the unit insignia ([[cap badge]]s, [[tartan]] or [[Colours, standards and guidons|colours]]), if available; other images may be used if this cannot be obtained. The image should be given in the form <code>Example.jpg</code>.
* '''image''' &ndash; ''optional'' &ndash; 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 <code>Example.jpg</code>.
* '''image_size''' &ndash; ''optional'' &ndash; Used to override the default image width of 200 pixels. It should be written as <code>200px</code>.
* '''image_size''' &ndash; ''optional'' &ndash; Used to override the default image width of 200 pixels. It should be written as <code>200px</code>.
* '''alt''' &ndash; ''optional'' &ndash; Alternative text for visually impaired users, see [[WP:ALT]].
* '''alt''' &ndash; ''optional'' &ndash; Alternative text for visually impaired users.
* '''caption''' &ndash; ''optional'' &ndash; The text to be placed below the image.
* '''caption''' &ndash; ''optional'' &ndash; The text to be placed below the image.
* '''dates''' &ndash; 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.
* '''dates''' &ndash; 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.
Line 224: Line 218:
* '''patron''' &ndash; ''optional'' &ndash; The patron the unit was named after; this is only applicable in armed forces where units are named after individuals.
* '''patron''' &ndash; ''optional'' &ndash; The patron the unit was named after; this is only applicable in armed forces where units are named after individuals.
* '''motto''' &ndash; ''optional'' &ndash; The official unit motto (with translation, if necessary).
* '''motto''' &ndash; ''optional'' &ndash; The official unit motto (with translation, if necessary).
* '''colors''' &ndash; ''optional'' &ndash; The unit colors; this may refer to either the actual colors used on the uniform, or to the [[Colours, standards and guidons|colours]] of the unit.
* '''colors''' &ndash; ''optional'' &ndash; The unit colors; this may refer to either the actual colors used on the uniform, or to the colours of the unit.
* '''colors_label''' &ndash; ''optional'' &ndash; the label to use for the colors field (above).
* '''colors_label''' &ndash; ''optional'' &ndash; the label to use for the colors field (above).
* '''march''' &ndash; ''optional'' &ndash; The tune(s) commonly or officially played when the unit ceremonially marches; there may be several.
* '''march''' &ndash; ''optional'' &ndash; The tune(s) commonly or officially played when the unit ceremonially marches; there may be several.
Line 233: Line 227:
* '''battles_label''' &ndash; ''optional'' &ndash; The label to use for the battles field (above); this defaults to "Engagements" if left blank.
* '''battles_label''' &ndash; ''optional'' &ndash; The label to use for the battles field (above); this defaults to "Engagements" if left blank.
* '''anniversaries''' &ndash; ''optional'' &ndash; Any anniversaries that a unit celebrates.
* '''anniversaries''' &ndash; ''optional'' &ndash; Any anniversaries that a unit celebrates.
* '''decorations''' &ndash; ''optional'' &ndash; Any decorations (such as the [[Presidential Unit Citation (United States)|Presidential Unit Citation]]) that the unit as a whole has received.
* '''decorations''' &ndash; ''optional'' &ndash; Any decorations (such as the Presidential Unit Citation) that the unit as a whole has received.
* '''battle_honours''' &ndash; ''optional'' &ndash; For units in countries that award some type of formal [[battle honour]]s, 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''' &ndash; ''optional'' &ndash; 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''' &ndash; ''optional'' &ndash; The label to use for the battle_honours field (above); this defaults to "[[Battle honour]]s" if left blank.
* '''battle_honours_label''' &ndash; ''optional'' &ndash; The label to use for the battle_honours field (above); this defaults to "Battle honours" if left blank.
* '''disbanded''' &ndash; ''optional'' &ndash; For units that have been disbanded, the dates and any other relevant notes regarding the disbanding.
* '''disbanded''' &ndash; ''optional'' &ndash; For units that have been disbanded, the dates and any other relevant notes regarding the disbanding.
* '''flying_hours''' &ndash; ''optional'' &ndash; If the formation is an aerial one, the total hours flown.
* '''flying_hours''' &ndash; ''optional'' &ndash; If the formation is an aerial one, the total hours flown.
Line 264: Line 258:


Insignia parameters:
Insignia parameters:
* '''identification_symbol''' &ndash; ''optional'' &ndash; The unit's identification symbol (such as a [[tartan]], tactical identification patch or [[morale patch]]).
* '''identification_symbol''' &ndash; ''optional'' &ndash; The unit's identification symbol (such as a tartan, tactical identification patch or morale patch).
* '''identification_symbol_label''' &ndash; ''optional'' &ndash; The label to use for the identification symbol field (above).
* '''identification_symbol_label''' &ndash; ''optional'' &ndash; The label to use for the identification symbol field (above).
* '''identification_symbol_2''' &ndash; ''optional'' &ndash; Another identification symbol.
* '''identification_symbol_2''' &ndash; ''optional'' &ndash; Another identification symbol.
Line 313: Line 307:
| march =
| march =
| ceremonial_chief =
| ceremonial_chief =
| type = [[Parachute infantry]]
| type = Parachute infantry
| branch = [[United States Army|Army]]
| branch = Army
| dates = {{As of|since=y|1942}}
| dates = {{As of|since=y|1942}}
| country = United States
| country = United States
| allegiance =
| allegiance =
| command_structure = [[101st Airborne Division]]
| command_structure = 101st Airborne Division
| size =
| size =
| specialization =
| specialization =
| current_commander =
| current_commander =
| garrison = [[Fort Campbell]]
| garrison = Fort Campbell
| garrison_label =
| garrison_label =
| battles = World War II
| battles = World War II
*[[Western Front (World War II)|European War]]
*European War
*[[Invasion of Normandy|Battle of Normandy]]
*Battle of Normandy
*[[Operation Market Garden]]
*Operation Market Garden
*[[Battle of the Bulge]]
*Battle of the Bulge
[[War on Terrorism]]
War on Terrorism
*[[Iraq War]]
*Iraq War
**[[Operation Iraqi Freedom]]
**Operation Iraqi Freedom
| notable_commanders = {{unbulleted list|[[George V. H. Moseley, Jr.]]|[[John H. Michaelis]]}}
| notable_commanders = {{unbulleted list|George V. H. Moseley, Jr.|John H. Michaelis}}
| anniversaries =
| anniversaries =
| decorations = {{unbulleted list|[[Presidential Unit Citation (United States)|Presidential Unit Citation]] (5)|[[Valorous Unit Award]] (5)|[[Croix de Guerre]]}}
| decorations = {{unbulleted list|Presidential Unit Citation (5)|Valorous Unit Award (5)|Croix de Guerre}}
}}
}}
<syntaxhighlight lang="wikitext" style="overflow:auto;">
<syntaxhighlight lang="wikitext" style="overflow:auto;">
Line 346: Line 340:
| march =
| march =
| ceremonial_chief =
| ceremonial_chief =
| type = [[Parachute infantry]]
| type = Parachute infantry
| branch = [[United States Army|Army]]
| branch = Army
| dates = {{As of|since=y|1942}}
| dates = {{As of|since=y|1942}}
| country = United States
| country = United States
| allegiance =
| allegiance =
| command_structure = [[101st Airborne Division]]
| command_structure = 101st Airborne Division
| size =
| size =
| specialization =
| specialization =
| current_commander =
| current_commander =
| garrison = [[Fort Campbell]]
| garrison = Fort Campbell
| garrison_label =
| garrison_label =
| battles = World War II
| battles = World War II
*[[Western Front (World War II)|European War]]
*European War
*[[Invasion of Normandy|Battle of Normandy]]
*Battle of Normandy
*[[Operation Market Garden]]
*Operation Market Garden
*[[Battle of the Bulge]]
*Battle of the Bulge
[[War on Terrorism]]
War on Terrorism
*[[Iraq War]]
*Iraq War
**[[Operation Iraqi Freedom]]
**Operation Iraqi Freedom
| notable_commanders = {{unbulleted list|[[George V. H. Moseley, Jr.]]|[[John H. Michaelis]]}}
| notable_commanders = {{unbulleted list|George V. H. Moseley, Jr.|John H. Michaelis}}
| anniversaries =
| anniversaries =
| decorations = {{unbulleted list|[[Presidential Unit Citation (United States)|Presidential Unit Citation]] (5)|[[Valorous Unit Award]] (5)|[[Croix de Guerre]]}}
| decorations = {{unbulleted list|Presidential Unit Citation (5)|Valorous Unit Award (5)|Croix de Guerre}}
}}
}}
</syntaxhighlight>
</syntaxhighlight>
Line 375: Line 369:
{{UF-hcard-org}}
{{UF-hcard-org}}


== TemplateData ==
 
{{collapse top|[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}}
{{TemplateData header|noheader=1}}
<templatedata>
{
"description": "A military unit infobox may be used to summarize information about an individual military unit or formation, such as a regiment or division.",
"format": "{{_\n| _ = _\n}}",
"params": {
"unit_name": {
"type": "line",
"required": true,
"label": "Unit Name",
"description": "The formal name of the unit."
},
"image": {
"type": "wiki-file-name",
"label": "Unit Insignia Image",
"description": "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 must be given in the form Example.jpg."
},
"image_size": {
"type": "string",
"label": "Image size",
"description": "Used to override the default image width of 200 pixels. It should be written as 200px."
},
"alt": {
"type": "string",
"label": "Alternative text for image",
"description": "Alternative text for visually impaired users, see WP:ALT."
},
"caption": {
"type": "string",
"label": "Caption",
"description": "The text to be placed below the image."
},
"dates": {
"type": "string",
"required": true,
"label": "Time Period Active",
"description": "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.",
"aliases": [
"start_date",
"end_date"
]
},
"country": {
"type": "line",
"label": "Country",
"description": "If the unit is part of the armed forces of a sovereign state, the name of that state."
},
"allegiance": {
"type": "line",
"label": "Allegiance",
"description": "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": {
"type": "line",
"label": "Branch",
"description": "The service branch, in militaries that have them; typically army, navy, air force, etc."
},
"type": {
"type": "string",
"label": "Type",
"description": "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": {
"type": "string",
"label": "Role",
"description": "Typical strategic or tactical use of unit, e.g., shock troop, special operations, mechanized infantry, ceremonial guard, etc.",
"aliases": [
"specialization"
]
},
"size": {
"type": "string",
"label": "Size",
"description": "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": {
"type": "string",
"label": "Command Structure",
"description": "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": {
"type": "line",
"label": "Garrison",
"description": "Location of the unit's home base; this is generally applicable only to units in existence."
},
"garrison_label": {
"type": "line",
"label": "Garrison Label",
"description": "The label to use for the Garrison field."
},
"nickname": {
"type": "string",
"label": "Nickname(s)",
"description": "Any commonly-used nicknames for the unit."
},
"patron": {
"type": "line",
"label": "Patron",
"description": "The patron the unit was named after; this is only applicable in armed forces where units are named after individuals."
},
"motto": {
"type": "content",
"label": "Motto",
"description": "The official unit motto (with translation, if necessary)."
},
"colors": {
"type": "string",
"label": "Colors",
"description": "The unit colors; this may refer to either the actual colors used on the uniform, or to the colours of the unit.",
"aliases": [
"colours"
]
},
"colors_label": {
"type": "line",
"label": "Colors Label",
"description": "The label to use for the Colors field.",
"aliases": [
"colours_label"
]
},
"march": {
"type": "string",
"label": "March(es)",
"description": "The tune(s) commonly or officially played when the unit ceremonially marches; there may be several."
},
"mascot": {
"type": "string",
"label": "Mascot",
"description": "Any official or unofficial animal or character maintained by the unit."
},
"equipment": {
"type": "string",
"label": "Equipment",
"description": "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": {
"type": "line",
"label": "Equipment Label",
"description": "The label to use for the Equipment field."
},
"battles": {
"type": "string",
"label": "Battles",
"description": "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": {
"type": "line",
"label": "Battles Label",
"description": "The label to use for the Battles field; this defaults to \"Engagements\" if left blank."
},
"anniversaries": {
"type": "string",
"label": "Anniversaries",
"description": "Any anniversaries that a unit celebrates."
},
"decorations": {
"type": "string",
"label": "Decorations",
"description": "Any decorations (such as the Presidential Unit Citation) that the unit as a whole has received."
},
"battle_honours": {
"type": "string",
"label": "Battle Honours",
"description": "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": {
"type": "line",
"label": "Battle Honours Label",
"description": "The label to use for the Battle Honours field; this defaults to \"Battle honours\" if left blank.",
"example": "Accolades"
},
"disbanded": {
"type": "date",
"label": "Disbanded Date",
"description": "For units that have been disbanded, the dates and any other relevant notes regarding the disbanding."
},
"flying_hours": {
"type": "line",
"label": "Flying Hours",
"description": "If the formation is an aerial one, the total hours flown."
},
"website": {
"type": "url",
"label": "Website",
"description": "The official website of the formation, if any."
},
"commander1": {
"type": "string",
"label": "Commander 1",
"description": "A current commander of the unit; this can be the acting commander, the ceremonial commander, the chief of staff, or any other leader.",
"aliases": [
"current_commander"
]
},
"commander1_label": {
"type": "line",
"label": "Commander 1 Label",
"description": "The label to use for the Commander 1 field; for historical reasons, this defaults to \"Current commander\" if left blank.",
"default": "Current commander",
"aliases": [
"current_commander_label"
]
},
"commander2": {
"type": "string",
"label": "Commander 2",
"description": "A current commander of the unit; this can be the acting commander, the ceremonial commander, the chief of staff, or any other leader.",
"aliases": [
"ceremonial_chief"
]
},
"commander2_label": {
"type": "line",
"label": "Commander 2 Label",
"description": "The label to use for the Commander 2 field; for historical reasons, this defaults to \"Ceremonial chief\" if left blank.",
"default": "Ceremonial chief",
"aliases": [
"ceremonial_chief_label"
]
},
"commander3": {
"type": "string",
"label": "Commander 3",
"description": "A third current commander of the unit; this can be the acting commander, the ceremonial commander, the chief of staff, or any other leader.",
"aliases": [
"colonel_of_the_regiment"
]
},
"commander3_label": {
"type": "line",
"label": "Commander 3 Label",
"description": "The label to use for the Commander 3 field; for historical reasons, this defaults to \"Colonel of the Regiment\" if left blank.",
"default": "Colonel of the Regiment",
"aliases": [
"colonel_of_the_regiment_label"
]
},
"commander4": {
"type": "string",
"label": "Commander 4",
"description": "A fourth current commander of the unit; this can be the acting commander, the ceremonial commander, the chief of staff, or any other leader.",
"aliases": [
"command_sergeant_major"
]
},
"commander4_label": {
"type": "line",
"label": "Commander 4 Label",
"description": "The label to use for the Commander 4 field; for historical reasons, this defaults to \"Command Sergeant Major\" if left blank.",
"default": "Command Sergeant Major",
"aliases": [
"command_sergeant_major_label"
]
},
"commander5": {
"type": "string",
"label": "Commander 5",
"description": "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": {
"type": "line",
"label": "Commander 5 Label",
"description": "The label to use for the Commander 5 field",
"default": "Commander"
},
"commander6": {
"type": "string",
"label": "Commander 6",
"description": "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": {
"type": "line",
"label": "Commander 6 Label",
"description": "The label to use for the Commander 6 field",
"default": "Commander"
},
"commander7": {
"type": "string",
"label": "Commander 7",
"description": "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": {
"type": "line",
"label": "Commander 7 Label",
"description": "The label to use for the Commander 7 field",
"default": "Commander"
},
"commander8": {
"type": "string",
"label": "Commander 8",
"description": "A 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": {
"type": "line",
"label": "Commander 8 Label",
"description": "The label to use for the Commander 8 field",
"default": "Commander"
},
"commander9": {
"type": "string",
"label": "Commander 9",
"description": "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": {
"type": "line",
"label": "Commander 9 Label",
"description": "The label to use for the Commander 9 field",
"default": "Commander"
},
"notable_commanders": {
"type": "string",
"label": "Notable Commanders",
"description": "Any notable former commanders of the unit; judgement of notability is left to individual article editors."
},
"identification_symbol": {
"type": "string",
"label": "Identification Symbol",
"description": "The unit's identification symbol (such as a patch, tartan, or tactical identification flash). Use [[File:Example.jpg|200px]] format."
},
"identification_symbol_label": {
"type": "line",
"label": "Identification Symbol Label",
"description": "The label to use for the Identification Symbol field."
},
"identification_symbol_2": {
"type": "string",
"label": "Identification Symbol 2",
"description": "Another identification symbol. Use [[File:Example.jpg|200px]] format."
},
"identification_symbol_3": {
"type": "string",
"label": "Identification Symbol 3",
"description": "Another identification symbol. Use [[File:Example.jpg|200px]] format."
},
"identification_symbol_4": {
"type": "string",
"label": "Identification Symbol 4",
"description": "Another identification symbol. Use [[File:Example.jpg|200px]] format."
},
"identification_symbol_2_label": {
"type": "line",
"label": "Identification Symbol 2 Label",
"description": "The label to use for the Identification Symbol 2 field."
},
"identification_symbol_3_label": {
"type": "line",
"label": "Identification Symbol 3 Label",
"description": "The label to use for the Identification Symbol 3 field."
},
"identification_symbol_4_label": {
"type": "line",
"label": "Identification Symbol 4 Label",
"description": "The label to use for the Identification Symbol 4 field."
},
"aircraft_attack": {
"type": "string",
"label": "Attack Aircraft",
"description": "For aviation units, the attack aircraft flown by the unit."
},
"aircraft_bomber": {
"type": "string",
"label": "Bomber Aircraft",
"description": "For aviation units, the bomber aircraft flown by the unit."
},
"aircraft_electronic": {
"type": "string",
"label": "Electronic Warfare Aircraft",
"description": "For aviation units, the electronic warfare aircraft flown by the unit."
},
"aircraft_fighter": {
"type": "string",
"label": "Fighter Aircraft",
"description": "For aviation units, the fighter aircraft flown by the unit."
},
"aircraft_helicopter": {
"type": "string",
"label": "Helicopter Aircraft",
"description": "For aviation units, the helicopter aircraft flown by the unit."
},
"aircraft_helicopter_attack": {
"type": "string",
"label": "Attack Helicopter Aircraft",
"description": "For aviation units, the attack helicopter aircraft flown by the unit."
},
"aircraft_helicopter_cargo": {
"type": "string",
"label": "Cargo Helicopter Aircraft",
"description": "For aviation units, the cargo helicopter aircraft flown by the unit."
},
"aircraft_helicopter_multirole": {
"type": "string",
"label": "Multirole Helicopter Aircraft",
"description": "For aviation units, the multirole helicopter aircraft flown by the unit."
},
"aircraft_helicopter_observation": {
"type": "string",
"label": "Observation Helicopter Aircraft",
"description": "For aviation units, the observation helicopter aircraft flown by the unit."
},
"aircraft_helicopter_trainer": {
"type": "string",
"label": "Trainer Helicopter Aircraft",
"description": "For aviation units, the trainer helicopter aircraft flown by the unit."
},
"aircraft_helicopter_utility": {
"type": "string",
"label": "Utility Helicopter Aircraft",
"description": "For aviation units, the utility helicopter aircraft flown by the unit."
},
"aircraft_interceptor": {
"type": "string",
"label": "Interceptor Aircraft",
"description": "For aviation units, the interceptor aircraft flown by the unit."
},
"aircraft_patrol": {
"type": "string",
"label": "Patrol Aircraft",
"description": "For aviation units, the patrol aircraft flown by the unit."
},
"aircraft_recon": {
"type": "string",
"label": "Recon Aircraft",
"description": "For aviation units, the reconnaissance aircraft flown by the unit."
},
"aircraft_trainer": {
"type": "string",
"label": "Trainer Aircraft",
"description": "For aviation units, the trainer aircraft flown by the unit."
},
"aircraft_transport": {
"type": "string",
"label": "Transport Aircraft",
"description": "For aviation units, the transport aircraft flown by the unit."
},
"aircraft_tanker": {
"type": "string",
"label": "Tanker Aircraft",
"description": "For aviation units, the aerial refueling aircraft flown by the unit."
},
"aircraft_general": {
"type": "string",
"description": "For aviation units, where aircraft used do not fit well into the above categories.",
"label": "Other aircraft"
},
"countries": {
"label": "Countries drawn from",
"description": "For multinational forces, the countries the unit is drawn from. {{Flag|<country>}} format is preferred.",
"type": "string"
},
"native_name": {},
"identification_symbol_5": {},
"identification_symbol_5_label": {},
"identification_symbol_6": {},
"identification_symbol_6_label": {}
},
"paramOrder": [
"unit_name",
"native_name",
"image",
"image_size",
"alt",
"caption",
"dates",
"disbanded",
"country",
"countries",
"allegiance",
"branch",
"type",
"role",
"size",
"command_structure",
"garrison",
"garrison_label",
"nickname",
"patron",
"motto",
"colors",
"colors_label",
"march",
"mascot",
"anniversaries",
"equipment",
"equipment_label",
"battles",
"battles_label",
"decorations",
"battle_honours",
"battle_honours_label",
"flying_hours",
"website",
"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",
"identification_symbol",
"identification_symbol_label",
"identification_symbol_2",
"identification_symbol_3",
"identification_symbol_4",
"identification_symbol_2_label",
"identification_symbol_3_label",
"identification_symbol_4_label",
"identification_symbol_5",
"identification_symbol_5_label",
"identification_symbol_6",
"identification_symbol_6_label",
"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"
]
}
</templatedata>
{{collapse bottom}}
{{collapse bottom}}


Line 928: Line 377:


<noinclude>
<noinclude>
[[Category:WikiProject Military history template instructions|Military unit infobox]]
 
</noinclude><includeonly>{{Sandbox other||
</noinclude><includeonly>{{Sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Military infobox templates|Unit]]
 


}}</includeonly>
}}</includeonly>

Latest revision as of 13:54, 22 September 2026

{{{unit_name}}}
{{{native_name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]]
{{{caption}}}
Active
  • {{{dates}}}
  • or: {{{start_date}}}–{{{end_date}}}
Disbanded{{{disbanded}}}
Country
  • {{{country}}}
  • or: {{{countries}}}
Allegiance{{{allegiance}}}
Branch{{{branch}}}
Type{{{type}}}
Role{{{role}}}{{{specialization}}}
Size{{{size}}}
Part of{{{command_structure}}}
Garrison/HQ{{{garrison}}}
Nickname{{{nickname}}}
Patron{{{patron}}}
Motto{{{motto}}}
Colors{{{colors}}}
March{{{march}}}
Mascot{{{mascot}}}
Anniversaries{{{anniversaries}}}
Equipment{{{equipment}}}
Engagements{{{battles}}}
Decorations{{{decorations}}}
Battle honours{{{battle_honours}}}
Flying hours{{{flying_hours}}}
Website{{{website}}}
Commanders
Current
commander
  • {{{current_commander}}}
  • or: {{{commander1}}}
Ceremonial chief
  • {{{ceremonial_chief}}}
  • or: {{{commander2}}}
Colonel of
the Regiment
  • {{{colonel_of_the_regiment}}}
  • or: {{{commander3}}}
Command Sergeant Major
  • {{{command_sergeant_major}}}
  • or: {{{commander4}}}
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}}}
<syntaxhighlight lang="wikitext" style="overflow:auto; margin:0.5em">
Infobox military unit/doc
</syntaxhighlight>


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

[edit source]

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:

<syntaxhighlight lang="wikitext" style="overflow:auto; margin:0.5em"> </syntaxhighlight>


  • 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

[edit source]
{{#if:|
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
Era{{{era}}}


The box should be added using the {{Infobox service record}} template, as shown below:

<syntaxhighlight lang="wikitext" style="overflow:auto; margin:0.5em"> {{#if:|
Service record
Era{{{era}}}
</syntaxhighlight>


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

Tracking category

[edit source]


Example

[edit source]
502nd Parachute Infantry Regiment
File:502 Parachute Infantry Regiment COA.PNG
502d PIR Coat of Arms
ActiveSince 1942
CountryUnited States
BranchArmy
TypeParachute infantry
Part of101st Airborne Division
Garrison/HQFort Campbell
Nickname"Five-Oh-Deuce" or "The Deuce"
MottoStrike
EngagementsWorld War II
  • European War
  • Battle of Normandy
  • Operation Market Garden
  • Battle of the Bulge

War on Terrorism

  • Iraq War
    • Operation Iraqi Freedom
Decorations
  • Presidential Unit Citation (5)
  • Valorous Unit Award (5)
  • Croix de Guerre
Commanders
Notable
commanders
  • George V. H. Moseley, Jr.
  • John H. Michaelis

<syntaxhighlight lang="wikitext" style="overflow:auto;">

502nd Parachute Infantry Regiment
File:502 Parachute Infantry Regiment COA.PNG
502d PIR Coat of Arms
ActiveSince 1942
CountryUnited States
BranchArmy
TypeParachute infantry
Part of101st Airborne Division
Garrison/HQFort Campbell
Nickname"Five-Oh-Deuce" or "The Deuce"
MottoStrike
EngagementsWorld War II
  • European War
  • Battle of Normandy
  • Operation Market Garden
  • Battle of the Bulge

War on Terrorism

  • Iraq War
    • Operation Iraqi Freedom
Decorations
  • Presidential Unit Citation (5)
  • Valorous Unit Award (5)
  • Croix de Guerre
Commanders
Notable
commanders
  • George V. H. Moseley, Jr.
  • John H. Michaelis

</syntaxhighlight>

Microformat

[edit source]

-->

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

Thees 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
Please do not rename or remove these classes
nor collapse nested elements which use them.


|}

Tracking categories

[edit source]