Template:Infobox military unit: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
{{Infobox military unit
{{TemplateData header|noheader=1}}
| unit_name =
<templatedata>
| native_name =
{
| image =
"description": "A military unit infobox may be used to summarize information about an individual military unit or formation, such as a regiment or division.",
| image_size =
"format": "{{_\n| _____________________________ = _\n}}\n",
| alt =
"params": {
| caption =
"unit_name": {
| dates = <!-- or | start_date = | end_date = -->
"type": "line",
| disbanded =
"required": true,
| country = <!-- or | countries = -->
"label": "Unit Name",
| allegiance =
"description": "The formal name of the unit."
| branch =
},
| type =
"image": {
| role = <!-- or | specialization = -->
"type": "wiki-file-name",
| size =
"label": "Unit Insignia Image",
| command_structure =
"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."
| garrison =
},
| garrison_label =
"image_size": {
| nickname =
"type": "string",
| patron =
"label": "Image size",
| motto =
"description": "Used to override the default image width of 200 pixels. It should be written as 200px."
| colors = <!-- or | colours = -->
},
| colors_label = <!-- or | colours_label = -->
"alt": {
| march =
"type": "string",
| mascot =
"label": "Alternative text for image",
| anniversaries =
"description": "Alternative text for visually impaired users, see WP:ALT."
| equipment =
},
| equipment_label =
"caption": {
| battles =
"type": "string",
| battles_label =
"label": "Caption",
| decorations =
"description": "The text to be placed below the image."
| battle_honours =
},
| battle_honours_label =
"dates": {
| flying_hours =
"type": "string",
| website =
"required": true,
<!-- Commanders -->
"label": "Time Period Active",
| current_commander =
"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.",
| commander1 =
"aliases": [
| commander1_label =
"start_date",
| commander2 =
"end_date"
| commander2_label =
]
| commander3 =
},
| commander3_label =
"country": {
| commander4 =
"type": "string/line",
| commander4_label =
"label": "Country",
| commander5 =
"description": "If the unit is part of the armed forces of a sovereign state, the name of that state."
| commander5_label =
},
| commander6 =
"allegiance": {
| commander6_label =
"type": "string/line",
| commander7 =
"label": "Allegiance",
| commander7_label =
"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."
| commander8 =
},
| commander8_label =
"branch": {
| commander9 =
"type": "string/line",
| commander9_label =
"label": "Branch",
| notable_commanders =
"description": "The service branch, in militaries that have them; typically army, navy, air force, etc."
<!-- Insignia -->
},
| identification_symbol =
"type": {
| identification_symbol_label =
"type": "string",
| identification_symbol_2 =
"label": "Type",
| identification_symbol_2_label =
"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."
| identification_symbol_3 =
},
| identification_symbol_3_label =
"role": {
| identification_symbol_4 =
"type": "string",
| identification_symbol_4_label =
"label": "Role",
| identification_symbol_5 =
"description": "Typical strategic or tactical use of unit, e.g., shock troop, special operations, mechanized infantry, ceremonial guard, etc.",
| identification_symbol_5_label =
"aliases": [
| identification_symbol_6 =
"specialization"
| identification_symbol_6_label =
]
<!-- Aircraft -->
},
| aircraft_attack =
"size": {
| aircraft_bomber =
"type": "string",
| aircraft_electronic =
"label": "Size",
| aircraft_fighter =
"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."
| aircraft_helicopter =
},
| aircraft_helicopter_attack =
"command_structure": {
| aircraft_helicopter_cargo =
"type": "string",
| aircraft_helicopter_multirole =
"label": "Command Structure",
| aircraft_helicopter_observation =
"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."
| aircraft_helicopter_trainer =
},
| aircraft_helicopter_utility =
"garrison": {
| aircraft_interceptor =
"type": "string/line",
| aircraft_patrol =
"label": "Garrison",
| aircraft_recon =
"description": "Location of the unit's home base; this is generally applicable only to units in existence."
| aircraft_trainer =
},
| aircraft_transport =
"garrison_label": {
| aircraft_tanker =
"type": "line",
| aircraft_general =
"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>