Jump to content

Template:Infobox Military Structure/doc: Difference between revisions

From IdeaWazaWiki
wikademia>Jonathan Oldenbuck
add the map_size parameter
wikademia>Jonathan Oldenbuck
adding map_size parameter
Line 29: Line 29:
|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
Line 56: Line 57:
|map_type=  
|map_type=  
|latitude=  
|latitude=  
|longitude=  
|longitude=
|map_size=  
|type=
|type=
|code=
|code=
Line 89: Line 91:
* '''latitude''' – ''optional'' – latitude for placing the marker on the location map. See [[:Template:Location map]] for map guidelines.  
* '''latitude''' – ''optional'' – latitude for placing the marker on the location map. See [[:Template:Location map]] for map guidelines.  
* '''longitude''' – ''optional'' – longitude for placing the marker on the location map. See [[:Template:Location map]] for map guidelines.  
* '''longitude''' – ''optional'' – longitude for placing the marker on the location map. See [[:Template:Location map]] for map guidelines.  
* '''map_size''' – ''optional'' – width of the location map, given in the form XXXpx. Defaults to 220px. See [[:Template:Location map]] for map guidelines.  
* '''map_size''' – ''optional'' – width of the location map, e.g. "150". Defaults to 220px. See [[:Template:Location map]] for map guidelines.  
* '''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.).
* '''code''' – ''optional'' – the location or facility code, such as the ILC or ILK code.
* '''code''' – ''optional'' – the location or facility code, such as the ILC or ILK code.

Revision as of 10:17, 22 July 2008

Template:Template doc page

Usage

Military structure infobox

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=
|coordinates=
|image=
|caption=
|image2=
|caption2=
|map_type= 
|latitude= 
|longitude=
|map_size= 
|type=
|code=
|built=
|builder=
|materials=
|height=
|used=
|demolished=
|condition=
|ownership=
|open_to_public=
|controlledby=
|garrison=
|current_commander=
|commanders=
|occupants=
|battles=
|events=
}}
  • 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.
  • coordinates – optional – the location of the structure, given as a coordinate pair by using {{coord}} with display=inline,title.
  • 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.
  • 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.
  • map_type – optional – the base map to be used for the location map. See Template:Location map for map guidelines.
  • latitude – optional – latitude for placing the marker on the location map. See Template:Location map for map guidelines.
  • longitude – optional – longitude for placing the marker on the location map. See Template:Location map for map guidelines.
  • map_size – optional – width of the location map, e.g. "150". Defaults to 220px. See Template:Location map for map guidelines.
  • type – optional – the general type of structure ("Castle", "Fortress", "Bunker", "Military base", "Wall", "Defensive line", etc.).
  • code – optional – the location or facility code, such as the ILC or ILK code.
  • built – 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 – 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.