Nodyn:Infobox military structure

Oddi ar Wicipedia
Documentation icon Dogfennaeth nodyn[gweld] [golygu] [hanes] [puro]

Usage

Nodyn:Infobox military installation

A military installation 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 installation}} template, as shown below:

{{Infobox military installation
| name = 
| ensign = 
| native_name = 
| partof = <!-- for elements within a larger site -->
| location = 
| nearest_town = <!-- used in military test site infobox -->
| country = 
| image = 
| alt = 
| caption = 
| image2 = <!--secondary image, major command emblems for airfields -->
| alt2 = 
| caption2 = 
| type = 
| latd =  | latm =  | lats =  | latNS = 
| longd =  | longm =  | longs =  | longEW = 
| coordinates_type = <!-- e.g. landmark or airport -->
| coordinates_region = <!-- ISO 3166-2 -->
| coordinates_display = <!-- inline, title or both -->
| image_map = 
| image_mapsize = 
| image_map_alt = 
| image_map_caption = 
| pushpin_map = 
| pushpin_mapsize = 
| pushpin_map_alt = 
| pushpin_map_caption = 
| pushpin_relief = 
| pushpin_image = 
| pushpin_label = 
| pushpin_label_position = 
| pushpin_mark = 
| pushpin_marksize = 
| ownership = <!-- government department such as the MoD or the United States DoD -->
| operator = <!-- where different from ownership such as the RAF or the USAF -->
| controlledby = <!-- such as RAF Bomber Command or the Eighth Air Force -->
| open_to_public = <!-- for out of use sites/sites with museums etc -->
| site_other_label = <!-- for renaming "Other facilities" in infobox -->
| site_other = <!-- for other sorts of facilities - radar types etc -->  
| site_area = <!-- area of site m2, km2 square mile etc -->
| code = <!--facility/installation code, applies to US -->
| built = <!-- {{Start date|YYYY}} -->
| used = <!--{{End date|1946}} -->
| builder = 
| materials = 
| height = <!-- height of tallest part, not above sea level -->
| length = <!-- for border fences or other DMZs -->
| fate = <!--changed from demolished parameter-->
| condition = 
| battles = 
| events = 
| current_commander = <!-- current commander -->
| past_commanders = <!-- past notable commander(s) -->
| garrison = <!-- such as the 25th Bombardment Group -->
| occupants = <!-- squadrons only -->
| website = 
| footnotes = <!-- catchall in case it's needed to preserve something in infobox that doesn't work in new code -->
}}

The following supplemental blocks may be copied into the template above as needed, just prior to the "footnotes" parameter.

Test sites
<!-- begin test site information -->
| subcritical_tests = 
| nuclear_tests = 
| thermonuclear_tests = 
| other_tests_label = <!-- changed from "Other tests" to wording of your choice --> 
| other_tests = 
| remediation = 
| image3 = 
| alt3 = 
| caption3 = 
<!--  end test site information  -->
Airfields
<!-- begin airfield information  -->
| IATA = 
| ICAO = 
| FAA = 
| TC = 
| LID = 
| GPS = 
| WMO = 
| elevation = <!-- {{Convert| |m|0}} -->
| r1-number = 
| r1-length = <!-- {{Convert| |m|0}} -->
| r1-surface = 
| h1-number = 
| h1-length = <!-- {{Convert| |m|0}} -->
| h1-surface = 
| airfield_other_label = <!-- for renaming "Other facilities" in infobox -->
| airfield_other = <!-- for other sorts of airfield facilities -->
<!--  end airfield information   -->

Parameters[golygu cod]

Note: When using parameters, avoid the ambiguous abbreviation "N/A", and instead use "unknown" or "none". If a parameter is not applicable, leave it blank and it will not be displayed. 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 installation or structure.
  • ensignoptional – a small ensign image used by the installation.
  • native_nameoptional – the name of the installation in the language(s) of the country which built it, or in which it is located.
  • partofoptional – the larger complex the given installation 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 installation.
  • imageoptional – an image of the installation. The image must be given in the form [[File:Example.jpg|300px]]; in particular, the thumb attribute must not be selected.
  • captionoptional – the text to be placed below the image.
  • map_typeoptional – the base map to be used for the location map, e.g., "Scotland"; see {{Location map}} for more details.
  • map_reliefoptional – set to any non-blank value to use a relief map (if available).
  • latitudeoptional – latitude for placing the marker on the location map, e.g., "56.81".
  • longitudeoptional – longitude for placing the marker on the location map, e.g., "-2.68".
  • map_sizeoptional – width of the location map in pixels (px), e.g., "150"; defaults to "220".
  • map_altoptional – alt text for location map; see Wikipedia:Alternative text for images.
  • map_captionoptional – caption displayed below the location map; defaults to "Shown within {{{map_type}}}", e.g., "Shown within Scotland".
  • typeoptional – the general type of installation ("Castle", "Fortress", "Bunker", "Military base", "Wall", "Defensive line", etc.).
  • coordinates_typeoptional – the type of location, usually landmark or airport; see {{coord}} for more details.
  • coordinates_regionoptional – the country (and region) code for the coordinates according to ISO 3166-2.
  • coordinates_displayoptional – Whether the coordinates should be displayed inline, at the title of the page, or both: inline,title.
  • codeoptional – the location or facility code, such as the ILC or ILK code.
  • builtoptional – the date when the installation was built, usually given in years. Use {{start date}} if 1583 or later.
  • builderoptional – the person or group responsible for building the installation.
  • materialsoptional – the materials used to construct the installation.
  • heightoptional – where relevant (e.g. for towers), the height of the installation.
  • lengthoptional – where relevant (e.g. for fences and DMZs), the length of the installation.
  • floor_areaoptional – where relevant (e.g. for buildings), the interior floor area of the installation.
  • site_areaoptional – where relevant (e.g. for compounds), the land area of the installation.
  • usedoptional – the period during which the installation was in active military use, usually given in years.
  • demolishedoptional – the date when the installation was demolished, if applicable.
  • conditionoptional – the current condition of the installation.
  • ownershipoptional – the current owner of the installation, if relevant.
  • open_to_publicoptional – whether the installation is currently open to the general public, if relevant; indicated by "yes" or "no".
  • controlledbyoptional – the country or other power controlling the installation. Multiple powers may be indicated together with the corresponding dates.
  • garrisonoptional – the military forces garrisoning the installation. Specific units may be indicated if known; general numbers should be given otherwise.
  • current_commanderoptional – for installations currently in military use, the current commanding officer.
  • past_commandersoptional – any notable individuals that commanded the forces using this installation; the choice of which commanders qualify as notable is left to the editors of a particular article.
  • occupantsoptional – any notable occupants of the installation other than its commanders; as above, the choice of which occupants qualify as notable is left to the article editors.
  • battlesoptional – any notable battles (usually sieges) that took place in or are closely associated with the installation; as above, the choice of which battles qualify as notable is left to the article editors.
  • eventsoptional – any notable non-battle events that took place in or are closely associated with the installation; as above, the choice of which events qualify as notable is left to the article editors.
  • image2optional – a second image of the installation. The image must be given in the form [[File:Example.jpg|300px]]; in particular, the thumb attribute must not be selected.
  • caption2optional – the text to be placed below the second image.

Microformat

The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates[golygu cod]

If the place or venue has an "established", "founded", "opened" or similar date, use {{Start date}} (unless the date is before 1583 CE).

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes[golygu cod]

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • url
  • vcard

Geo is produced by calling {{coord}}, and uses HTML classes:

  • geo
  • latitude
  • longitude

Please do not rename or remove these classes; nor collapse nested elements which use them.

Precision[golygu cod]

When giving coordinates, please use an appropriate level of precision. Do not use {{Coord}}'s |name= parameter.

See also

Hidden tracking/maintenance category