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==
}}
}}
=== Military structure infobox ===
{{Infobox Military Structure
{{Infobox Military Structure
|name = Maginot Line
|name = Maginot Line
Line 75: Line 76:
</pre></div>
</pre></div>


==Parameters==
'''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]]).


===Title bars===
* '''name''' &ndash; the name of the structure or facility.
* '''name''' &ndash; the name of the structure or facility.
* '''partof''' &ndash; ''optional'' &ndash; 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''' &ndash; ''optional'' &ndash; 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''' &ndash; the geographical location of the structure.
* '''location''' &ndash; the geographical location of the structure.
===First image===
* '''image''' &ndash; ''optional'' &ndash; 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''' &ndash; ''optional'' &ndash; 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''' &ndash; ''optional'' &ndash; the text to be placed below the image.
* '''caption''' &ndash; ''optional'' &ndash; the text to be placed below the image.
 
* '''map_type''' &ndash; ''optional'' &ndash; the base map to be used for the location map, e.g. "Scotland"; see {{tl|location map}} for more details.
===Location map===
See [[:Template:Location map]] for map guidelines.
* '''map_type''' &ndash; ''optional'' &ndash; the base map to be used for the location map, e.g. "Scotland".
* '''latitude''' &ndash; ''optional'' &ndash; latitude for placing the marker on the location map, e.g. "56.81".
* '''latitude''' &ndash; ''optional'' &ndash; latitude for placing the marker on the location map, e.g. "56.81".
* '''longitude''' &ndash; ''optional'' &ndash; longitude for placing the marker on the location map, e.g. "-2.68".
* '''longitude''' &ndash; ''optional'' &ndash; longitude for placing the marker on the location map, e.g. "-2.68".
* '''map_size''' &ndash; ''optional'' &ndash; width of the location map in pixels (px), e.g. "150". Defaults to: "220".   
* '''map_size''' &ndash; ''optional'' &ndash; width of the location map in pixels (px), e.g. "150"; defaults to: "220".   
* '''map_caption''' &ndash; ''optional'' &ndash; caption displayed below the location map. Defaults to: "Shown within {{{map_type}}}", e.g. "Shown within Scotland".
* '''map_caption''' &ndash; ''optional'' &ndash; caption displayed below the location map; defaults to "Shown within {{{map_type}}}", e.g. "Shown within Scotland".
 
===Details===
* '''type''' &ndash; ''optional'' &ndash; the general type of structure ("Castle", "Fortress", "Bunker", "Military base", "Wall", "Defensive line", etc.).
* '''type''' &ndash; ''optional'' &ndash; the general type of structure ("Castle", "Fortress", "Bunker", "Military base", "Wall", "Defensive line", etc.).
* '''coordinates''' &ndash; ''optional'' &ndash; the location of the structure, given as a coordinate pair by using {{tl|coord}} with ''display=inline,title''.
* '''coordinates''' &ndash; ''optional'' &ndash; the location of the structure, given as a coordinate pair by using {{tl|coord}} with ''display=inline,title''.
Line 114: Line 107:
* '''battles''' &ndash; ''optional'' &ndash; 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''' &ndash; ''optional'' &ndash; 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''' &ndash; ''optional'' &ndash; 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''' &ndash; ''optional'' &ndash; 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.
===Second image===
* '''image2''' &ndash; ''optional'' &ndash; 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''' &ndash; ''optional'' &ndash; 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''' &ndash; ''optional'' &ndash; the text to be placed below the second image.
* '''caption2''' &ndash; ''optional'' &ndash; the text to be placed below the second image.