Template:Infobox military unit/doc: Difference between revisions

Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{Lua|Module:Infobox|..."
(Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{Lua|Module:Infobox|...")
 
en>Centrist16
(Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{Lua|Module:Infobox|...")
Line 5:
== 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..
 
Line 20 ⟶ 19:
| <!-- start_date -->
| <!-- end_date -->
| disbanded
| country = {{{country}}}<br/>''or:'' {{{countries}}}
| <!-- countries -->
Line 46:
| battle_honours
| <!-- battle_honours_label -->
| disbanded
| flying_hours
| website
Line 121 ⟶ 120:
| native_name =
| image =
| image_size =
| alt =
| caption =
| dates =
| disbanded =
| country =
| countries =
Line 148 ⟶ 149:
| battle_honours =
| battle_honours_label =
| disbanded =
| flying_hours =
| website =
Line 209:
 
* '''unit_name''' &ndash; The formal name of the unit.
* '''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_size''' &ndash; ''optional'' &ndash; Used to override the default image sizewidth of 200 pixels. It should be givenwritten as <code>300px200px</code>.
* '''alt''' &ndash; ''optional'' &ndash; Alternative text for visually impaired users, see [[WP:ALT]].
* '''caption''' &ndash; ''optional'' &ndash; The text to be placed below the image.
Line 404:
"type": "string",
"label": "Image size",
"description": "Used to override the default image sizewidth of 200 pixels. It should be given in thewritten formas 300px200px."
},
"alt": {
Line 674:
"type": "string/line",
"label": "Identification Symbol",
"description": "The unit's identification symbol (such as a patch, tartan, or tactical identification flash). Use [[File:Example.jpg|300px200px]] format."
},
"identification_symbol_label": {
Line 684:
"type": "string/line",
"label": "Identification Symbol 2",
"description": "Another identification symbol. Use [[File:Example.jpg|300px200px]] format."
},
"identification_symbol_3": {
"type": "string/line",
"label": "Identification Symbol 3",
"description": "Another identification symbol. Use [[File:Example.jpg|300px200px]] format."
},
"identification_symbol_4": {
"type": "string/line",
"label": "Identification Symbol 4",
"description": "Another identification symbol. Use [[File:Example.jpg|300px200px]] format."
},
"identification_symbol_2_label": {
Anonymous user