Jump to content

Template:Infobox Military Structure/doc: Difference between revisions

From IdeaWazaWiki
wikademia>Jonathan Oldenbuck
add the map_size parameter
wikademia>Wikademia
m 48 revisions
 
(10 intermediate revisions by 5 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
|location= Eastern [[France]]
|location = Eastern [[France]]
|image= [[Image:Maginot line 1.jpg|300px]]
|image = [[Image:Maginot line 1.jpg|300px]]
|caption= The entrance to Ouvrage Schoenenbourg along the Maginot Line in Alsace.
|caption = The entrance to Ouvrage Schoenenbourg along the Maginot Line in Alsace.
|image2=
|type = Defensive line
|caption2=
|built = 1930–35
|built= 1930–35
|materials = Concrete, steel
|materials= Concrete, steel
|used = 1935–69
|used= 1935–69
|controlledby = [[France]]
|type= Defensive line
|battles = [[Battle of France]]
|controlledby= [[France]]
|garrison=
|commanders=
|battles= [[Battle of France]]
}}
}}
{{Infobox Military Structure
{{Infobox Military Structure
|name=Edzell Castle
|name = Edzell Castle
|location=Near [[Edzell]], [[Angus]], [[Scotland]]<br>{{gbmapping|NO584691}}
|location = Near [[Edzell]], [[Angus]], [[Scotland]]<br>{{gbmapping|NO584691}}
|coordinates=
|image = [[Image:Edzell Castle.jpg|300px]]
|image=[[Image:Edzell Castle.jpg|300px]]
|caption = Edzell Castle and gardens
|caption=Edzell Castle and gardens
|map_type = Scotland
|map_type= Scotland
|latitude = 56.81   
|latitude= 56.81   
|longitude = -2.68
|longitude= -2.68
|map_size = 150
|type=Tower house and courtyard
|type = Tower house and courtyard
|built=c.1520-1610
|built = c.1520-1610
|builder=David Lindsay, 9th Earl of Crawford
|builder = David Lindsay, 9th Earl of Crawford
|controlledby=Lindsays of Edzell
|materials = [[Old Red Sandstone]]
|materials=[[Old Red Sandstone]]
|used = Until 1715
|height=
|condition = Ruined
|used=Until 1715
|ownership = [[Earl of Dalhousie]], managed by [[Historic Scotland]]
|condition=Ruined
|ownership=[[Earl of Dalhousie]], managed by [[Historic Scotland]]
|open_to_public= Yes
|open_to_public= Yes
|controlledby = Lindsays of Edzell
}}
}}
A military structure infobox may be used to summarize information about a military structure or facility, such as a fortification or military base.   
A military structure infobox may be used to summarize information about a military structure or facility, such as a fortification or military base.   


Line 46: Line 42:
<div style="width:250px;background:#dddddd;border: 1px solid black;padding:0.5em  1em 0.5em 1em"><pre>
<div style="width:250px;background:#dddddd;border: 1px solid black;padding:0.5em  1em 0.5em 1em"><pre>
{{Infobox Military Structure
{{Infobox Military Structure
|name=
|name =  
|partof=
|partof =  
|location=
|location =  
|coordinates=
|image =  
|image=
|caption =  
|caption=
|map_type =  
|image2=
|latitude =  
|caption2=
|longitude =  
|map_type=  
|map_size =  
|latitude=  
|map_caption =  
|longitude=  
|type =  
|type=
|coordinates =  
|code=
|code =  
|built=
|built =  
|builder=
|builder =  
|materials=
|materials =  
|height=
|height =  
|used=
|used =  
|demolished=
|demolished =  
|condition=
|condition =  
|ownership=
|ownership =  
|open_to_public=
|open_to_public =  
|controlledby=
|controlledby =  
|garrison=
|garrison =  
|current_commander=
|current_commander =  
|commanders=
|commanders =  
|occupants=
|occupants =  
|battles=
|battles =  
|events=
|events =
|image2 =
|caption2 =  
}}
}}
</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''' &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.
* '''coordinates''' &ndash; ''optional'' &ndash; the location of the structure, given as a coordinate pair by using {{tl|coord}} with ''display=inline,title''.
* '''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.
* '''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.
* '''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.
* '''caption2''' &ndash; ''optional'' &ndash; the text to be placed below the second image.
* '''latitude''' &ndash; ''optional'' &ndash; latitude for placing the marker on the location map, e.g. "56.81".
* '''map_type''' &ndash; ''optional'' &ndash; the base map to be used for the location map. See [[:Template:Location map]] for map guidelines.  
* '''longitude''' &ndash; ''optional'' &ndash; longitude for placing the marker on the location map, e.g. "-2.68".
* '''latitude''' &ndash; ''optional'' &ndash; latitude for placing the marker on the location map. See [[:Template:Location map]] for map guidelines.  
* '''map_size''' &ndash; ''optional'' &ndash; width of the location map in pixels (px), e.g. "150"; defaults to: "220".
* '''longitude''' &ndash; ''optional'' &ndash; longitude for placing the marker on the location map. See [[:Template:Location map]] for map guidelines.  
* '''map_caption''' &ndash; ''optional'' &ndash; caption displayed below the location map; defaults to "Shown within {{{map_type}}}", e.g. "Shown within Scotland".
* '''map_size''' &ndash; ''optional'' &ndash; width of the location map, given in the form XXXpx. Defaults to 220px. See [[:Template:Location map]] for map guidelines.  
* '''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''.
* '''code''' &ndash; ''optional'' &ndash; the location or facility code, such as the ILC or ILK code.
* '''code''' &ndash; ''optional'' &ndash; the location or facility code, such as the ILC or ILK code.
* '''built''' &ndash; the date when the structure was built (usually given in years).
* '''built''' &ndash; ''optional'' &ndash; the date when the structure was built (usually given in years).
* '''builder''' &ndash; ''optional'' &ndash; the person or group responsible for building the structure.
* '''builder''' &ndash; ''optional'' &ndash; the person or group responsible for building the structure.
* '''materials''' &ndash; ''optional'' &ndash; the materials used to construct the structure.
* '''materials''' &ndash; ''optional'' &ndash; the materials used to construct the structure.
* '''height''' &ndash; ''optional'' &ndash; where relevant (e.g. for towers), the height of the structure.
* '''height''' &ndash; ''optional'' &ndash; where relevant (e.g. for towers), the height of the structure.
* '''used''' &ndash; the period during which the structure was in active military use, usually given in years.
* '''used''' &ndash; ''optional'' &ndash; the period during which the structure was in active military use, usually given in years.
* '''demolished''' &ndash; ''optional'' &ndash; the date when the structure was demolished, if applicable.
* '''demolished''' &ndash; ''optional'' &ndash; the date when the structure was demolished, if applicable.
* '''condition''' &ndash; ''optional'' &ndash; the current condition of the structure.
* '''condition''' &ndash; ''optional'' &ndash; the current condition of the structure.
Line 107: Line 106:
* '''occupants''' &ndash; ''optional'' &ndash; any notable occupants of the structure other than its commanders; as above, the choice of which occupants qualify as notable is left to the editors of a particular article.
* '''occupants''' &ndash; ''optional'' &ndash; any notable occupants of the structure other than its commanders; as above, the choice of which occupants qualify as notable is left to the editors of a particular article.
* '''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.<noinclude>[[Category:WikiProject Military history template instructions|Military structure infobox]]</noinclude><includeonly>{{#ifeq:{{{noheader|}}}|yes||
* '''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.
* '''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.
<noinclude>
[[Category:WikiProject Military history template instructions|Military structure infobox]]
</noinclude><includeonly>{{#ifeq:{{{noheader|}}}|yes||
[[Category:Buildings and structures infobox templates|Military Structure]]
[[Category:Buildings and structures infobox templates|Military Structure]]
[[Category:Military infobox templates|Structure]]
[[Category:Military infobox templates|Structure]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]


[[es:Plantilla:Infobox Estructura Militar]]
[[es:Plantilla:Infobox Estructura Militar]]

Latest revision as of 17:37, 20 April 2009

Template:Template doc page

Usage

Maginot Line
Eastern France

The entrance to Ouvrage Schoenenbourg along the Maginot Line in Alsace.
Type Defensive line
Built 1930–35
Construction
materials
Concrete, steel
In use 1935–69
Controlled by France
Battles/wars Battle of France
Edzell Castle
Near Edzell, Angus, Scotland
grid reference Template:Oscoor

Edzell Castle and gardens
[[Image:Template:Location map Scotland|150px]]
<div style="position:absolute;z-index:200;

top:Expression error: Unrecognized punctuation character "[".%; left:Expression error: Unrecognized punctuation character "[".%;height:0;width:0;margin:0;padding:0;">

{{{label}}}
Shown within Scotland
Type Tower house and courtyard
Built c.1520-1610
Built by David Lindsay, 9th Earl of Crawford
Construction
materials
Old Red Sandstone
In use Until 1715
Current
condition
Ruined
Current
owner
Earl of Dalhousie, managed by Historic Scotland
Open to
the public
Yes
Controlled by Lindsays of Edzell

A military structure infobox may be used to summarize information about a military structure or facility, such as a fortification or military base.

The infobox should be added using the {{Infobox Military Structure}} template, as shown below:

{{Infobox Military Structure
|name = 
|partof = 
|location = 
|image = 
|caption = 
|map_type = 
|latitude = 
|longitude = 
|map_size = 
|map_caption = 
|type = 
|coordinates = 
|code = 
|built = 
|builder = 
|materials = 
|height = 
|used = 
|demolished = 
|condition = 
|ownership = 
|open_to_public = 
|controlledby = 
|garrison = 
|current_commander = 
|commanders = 
|occupants = 
|battles = 
|events = 
|image2 = 
|caption2 = 
}}

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.
  • 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.
  • image – optional – an image of the structure. The image must be given in the form [[Image:Example.jpg|300px]]; in particular, the thumb attribute must not be selected.
  • 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 {{location map}} for more details.
  • 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".
  • 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; 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.).
  • coordinates – optional – the location of the structure, given as a coordinate pair by using {{coord}} with display=inline,title.
  • code – optional – the location or facility code, such as the ILC or ILK code.
  • built – optional – the date when the structure was built (usually given in years).
  • builder – optional – the person or group responsible for building the structure.
  • materials – optional – the materials used to construct the structure.
  • height – optional – where relevant (e.g. for towers), the height of the structure.
  • used – optional – the period during which the structure was in active military use, usually given in years.
  • demolished – optional – the date when the structure was demolished, if applicable.
  • condition – optional – the current condition of the structure.
  • ownership – optional – the current owner of the structure, if relevant.
  • open_to_public – optional – whether the structure is currently open to the general public, if relevant; indicated by "yes" or "no".
  • controlledby – optional – the country or other power controlling the structure. Multiple powers may be indicated together with the corresponding dates.
  • garrison – optional – the military forces garrisoning the structure. Specific units may be indicated if known; general numbers should be given otherwise.
  • current_commander – optional – for structures currently in military use, the current commanding officer.
  • commanders – optional – any notable individuals that commanded the forces using this structure; the choice of which commanders qualify as notable is left to the editors of a particular article.
  • occupants – optional – any notable occupants of the structure other than its commanders; as above, the choice of which occupants qualify as notable is left to the editors of a particular article.
  • 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.
  • image2 – optional – a second image of the structure. The image must be given in the form [[Image:Example.jpg|300px]]; in particular, the thumb attribute must not be selected.
  • caption2 – optional – the text to be placed below the second image.