Template:Infobox military unit/doc: Difference between revisions
Content added Content deleted
Vivaporius (talk | contribs) (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: | Line 5: | ||
== Usage == |
== Usage == |
||
=== Military unit infobox === |
=== 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.. |
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: | Line 19: | ||
| <!-- start_date --> |
| <!-- start_date --> |
||
| <!-- end_date --> |
| <!-- end_date --> |
||
⚫ | |||
| country = {{{country}}}<br/>''or:'' {{{countries}}} |
| country = {{{country}}}<br/>''or:'' {{{countries}}} |
||
| <!-- countries --> |
| <!-- countries --> |
||
Line 46: | Line 46: | ||
| battle_honours |
| battle_honours |
||
| <!-- battle_honours_label --> |
| <!-- battle_honours_label --> |
||
⚫ | |||
| flying_hours |
| flying_hours |
||
| website |
| website |
||
Line 121: | Line 120: | ||
| native_name = |
| native_name = |
||
| image = |
| image = |
||
| image_size = |
|||
| alt = |
| alt = |
||
| caption = |
| caption = |
||
| dates = |
| dates = |
||
⚫ | |||
| country = |
| country = |
||
| countries = |
| countries = |
||
Line 148: | Line 149: | ||
| battle_honours = |
| battle_honours = |
||
| battle_honours_label = |
| battle_honours_label = |
||
⚫ | |||
| flying_hours = |
| flying_hours = |
||
| website = |
| website = |
||
Line 209: | Line 209: | ||
* '''unit_name''' – The formal name of the unit. |
* '''unit_name''' – The formal name of the unit. |
||
* '''image''' – ''optional'' – 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. |
* '''image''' – ''optional'' – 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''' – ''optional'' – Used to override the default image |
* '''image_size''' – ''optional'' – Used to override the default image width of 200 pixels. It should be written as <code>200px</code>. |
||
* '''alt''' – ''optional'' – Alternative text for visually impaired users, see [[WP:ALT]]. |
* '''alt''' – ''optional'' – Alternative text for visually impaired users, see [[WP:ALT]]. |
||
* '''caption''' – ''optional'' – The text to be placed below the image. |
* '''caption''' – ''optional'' – The text to be placed below the image. |
||
Line 404: | Line 404: | ||
"type": "string", |
"type": "string", |
||
"label": "Image size", |
"label": "Image size", |
||
"description": "Used to override the default image |
"description": "Used to override the default image width of 200 pixels. It should be written as 200px." |
||
}, |
}, |
||
"alt": { |
"alt": { |
||
Line 674: | Line 674: | ||
"type": "string/line", |
"type": "string/line", |
||
"label": "Identification Symbol", |
"label": "Identification Symbol", |
||
"description": "The unit's identification symbol (such as a patch, tartan, or tactical identification flash). Use [[File:Example.jpg| |
"description": "The unit's identification symbol (such as a patch, tartan, or tactical identification flash). Use [[File:Example.jpg|200px]] format." |
||
}, |
}, |
||
"identification_symbol_label": { |
"identification_symbol_label": { |
||
Line 684: | Line 684: | ||
"type": "string/line", |
"type": "string/line", |
||
"label": "Identification Symbol 2", |
"label": "Identification Symbol 2", |
||
"description": "Another identification symbol. Use [[File:Example.jpg| |
"description": "Another identification symbol. Use [[File:Example.jpg|200px]] format." |
||
}, |
}, |
||
"identification_symbol_3": { |
"identification_symbol_3": { |
||
"type": "string/line", |
"type": "string/line", |
||
"label": "Identification Symbol 3", |
"label": "Identification Symbol 3", |
||
"description": "Another identification symbol. Use [[File:Example.jpg| |
"description": "Another identification symbol. Use [[File:Example.jpg|200px]] format." |
||
}, |
}, |
||
"identification_symbol_4": { |
"identification_symbol_4": { |
||
"type": "string/line", |
"type": "string/line", |
||
"label": "Identification Symbol 4", |
"label": "Identification Symbol 4", |
||
"description": "Another identification symbol. Use [[File:Example.jpg| |
"description": "Another identification symbol. Use [[File:Example.jpg|200px]] format." |
||
}, |
}, |
||
"identification_symbol_2_label": { |
"identification_symbol_2_label": { |