Template:Infobox military unit/doc: Difference between revisions
No edit summary |
Unlink imported Wikipedia interwiki documentation links |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{Parameter names example | {{Parameter names example | ||
| unit_name | | unit_name | ||
| Line 209: | Line 203: | ||
* '''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''' – ''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 width of 200 pixels. It should be written as <code>200px</code>. | * '''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 | * '''alt''' – ''optional'' – Alternative text for visually impaired users. | ||
* '''caption''' – ''optional'' – The text to be placed below the image. | * '''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. | * '''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. | ||
| Line 314: | Line 308: | ||
| ceremonial_chief = | | ceremonial_chief = | ||
| type = [[Parachute infantry]] | | type = [[Parachute infantry]] | ||
| branch = | | branch = Army | ||
| dates = {{As of|since=y|1942}} | | dates = {{As of|since=y|1942}} | ||
| country = United States | | country = United States | ||
| Line 347: | Line 341: | ||
| ceremonial_chief = | | ceremonial_chief = | ||
| type = [[Parachute infantry]] | | type = [[Parachute infantry]] | ||
| branch = | | branch = Army | ||
| dates = {{As of|since=y|1942}} | | dates = {{As of|since=y|1942}} | ||
| country = United States | | country = United States | ||
| Line 376: | Line 370: | ||
== TemplateData == | == TemplateData == | ||
{{collapse top| | {{collapse top|TemplateData documentation used by VisualEditor and other tools}} | ||
{{TemplateData header|noheader=1}} | {{TemplateData header|noheader=1}} | ||
<templatedata> | <templatedata> | ||
| Line 402: | Line 396: | ||
"type": "string", | "type": "string", | ||
"label": "Alternative text for image", | "label": "Alternative text for image", | ||
"description": "Alternative text for visually impaired users | "description": "Alternative text for visually impaired users" | ||
}, | }, | ||
"caption": { | "caption": { | ||