Template:Infobox Military Structure/doc: Difference between revisions
wikademia>Zyxw list parameter names in same order as displayed in the infobox |
wikademia>Wikademia m 48 revisions |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{#ifeq:{{{noheader|}}}|yes||{{Template doc page}} | {{#ifeq:{{{noheader|}}}|yes| | ||
==== Military structure infobox ==== | |||
|{{Template doc page}} | |||
==Usage== | ==Usage== | ||
}} | }} | ||
{{Infobox Military Structure | {{Infobox Military Structure | ||
|name = Maginot Line | |name = Maginot Line | ||
| Line 75: | Line 76: | ||
</pre></div> | </pre></div> | ||
'''Note''': When using parameters, avoid the ambiguous abbreviation "N/A", and instead use "unknown" or "none". All subjective or qualitative judgements and numerical quantities or statistics must be cited to a reliable source (see [[WP:MILMOS#CITE]]). | |||
* '''name''' – the name of the structure or facility. | * '''name''' – the name of the structure or facility. | ||
* '''partof''' – ''optional'' – the larger structure or complex the given structure is part of, if any. For proper grammar, it may be necessary to insert "the" before the name used here. | * '''partof''' – ''optional'' – the larger structure or complex the given structure is part of, if any. For proper grammar, it may be necessary to insert "the" before the name used here. | ||
* '''location''' – the geographical location of the structure. | * '''location''' – the geographical location of the structure. | ||
* '''image''' – ''optional'' – an image of the structure. The image must be given in the form <nowiki>[[Image:Example.jpg|300px]]</nowiki>; in particular, the ''thumb'' attribute must '''not''' be selected. | * '''image''' – ''optional'' – an image of the structure. The image must be given in the form <nowiki>[[Image:Example.jpg|300px]]</nowiki>; in particular, the ''thumb'' attribute must '''not''' be selected. | ||
* '''caption''' – ''optional'' – the text to be placed below the image. | * '''caption''' – ''optional'' – the text to be placed below the image. | ||
* '''map_type''' – ''optional'' – the base map to be used for the location map, e.g. "Scotland"; see {{tl|location map}} for more details. | |||
* '''map_type''' – ''optional'' – the base map to be used for the location map, e.g. "Scotland". | |||
* '''latitude''' – ''optional'' – latitude for placing the marker on the location map, e.g. "56.81". | * '''latitude''' – ''optional'' – latitude for placing the marker on the location map, e.g. "56.81". | ||
* '''longitude''' – ''optional'' – longitude for placing the marker on the location map, e.g. "-2.68". | * '''longitude''' – ''optional'' – longitude for placing the marker on the location map, e.g. "-2.68". | ||
* '''map_size''' – ''optional'' – width of the location map in pixels (px), e.g. "150" | * '''map_size''' – ''optional'' – width of the location map in pixels (px), e.g. "150"; defaults to: "220". | ||
* '''map_caption''' – ''optional'' – caption displayed below the location map | * '''map_caption''' – ''optional'' – caption displayed below the location map; defaults to "Shown within {{{map_type}}}", e.g. "Shown within Scotland". | ||
* '''type''' – ''optional'' – the general type of structure ("Castle", "Fortress", "Bunker", "Military base", "Wall", "Defensive line", etc.). | * '''type''' – ''optional'' – the general type of structure ("Castle", "Fortress", "Bunker", "Military base", "Wall", "Defensive line", etc.). | ||
* '''coordinates''' – ''optional'' – the location of the structure, given as a coordinate pair by using {{tl|coord}} with ''display=inline,title''. | * '''coordinates''' – ''optional'' – the location of the structure, given as a coordinate pair by using {{tl|coord}} with ''display=inline,title''. | ||
| Line 114: | Line 107: | ||
* '''battles''' – ''optional'' – any notable battles (usually sieges) that took place in or are closely associated with the structure; as above, the choice of which battles qualify as notable is left to the article editors. | * '''battles''' – ''optional'' – any notable battles (usually sieges) that took place in or are closely associated with the structure; as above, the choice of which battles qualify as notable is left to the article editors. | ||
* '''events''' – ''optional'' – any notable non-battle events that took place in or are closely associated with the structure. As above, the choice of which events are notable is left to the article editors. | * '''events''' – ''optional'' – any notable non-battle events that took place in or are closely associated with the structure. As above, the choice of which events are notable is left to the article editors. | ||
* '''image2''' – ''optional'' – a second image of the structure. The image must be given in the form <nowiki>[[Image:Example.jpg|300px]]</nowiki>; in particular, the ''thumb'' attribute must '''not''' be selected. | * '''image2''' – ''optional'' – a second image of the structure. The image must be given in the form <nowiki>[[Image:Example.jpg|300px]]</nowiki>; in particular, the ''thumb'' attribute must '''not''' be selected. | ||
* '''caption2''' – ''optional'' – the text to be placed below the second image. | * '''caption2''' – ''optional'' – the text to be placed below the second image. | ||