Template:Infobox military test site/doc

From Atlas

Usage[edit]

Military test site infobox[edit]

Template:Infobox Military Test Site

A military test site infobox may be used to summarize information about a single military test site, such as a weapons range or nuclear test site. The infobox should be added using the {{infobox military test site}} template, as shown below:

{{infobox military test site
|name=
|image=
|caption=
|map=
|map_caption=
|type=
|coordinates=
|nearest_town=
|country=
|area=
|operator=
|status=
|dates=
|remediation=
|subcritical_tests=
|nuclear_tests=
|thermonuclear_tests=
|other_tests=
}}

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 formal name of the site.
  • imageoptional – an image of the site. The image must be given in the form [[Image:Example.jpg|300px]]; in particular, the thumb attribute must not be selected.
  • captionoptional – the text to be placed below the image.
  • mapoptional – a map showing the location the site. The map may be given as a raw image; alternately, {{superimpose}} can be used in this field to generate a compound map.
  • map_captionoptional – the text to be placed below the map.
  • type – the type of site.
  • coordinates – the location of the site, given as a coordinate pair by using {{coord}}.
  • nearest_townoptional – in cases where the location is given as a coordinate pair, the town nearest to the memorial.
  • countryoptional – the country in which the site is located, if not obvious from the other location fields.
  • areaoptional – the total area of the site.
  • operator – the country or other body responsible for operating the site.
  • status – the current status of the site.
  • dates – the period during which the site was in use; Use {{Start date}} for the first.
  • remediationoptional – the remediation status of the site, if any.
  • subcritical_testsoptional – for a nuclear test site, the number of subcritical tests conducted; if this is only a few tests, a full list may be given.
  • nuclear_testsoptional – for a nuclear test site, the number of nuclear tests conducted; if this is only a few tests, a full list may be given.
  • thermonuclear_testsoptional – for a nuclear test site, the number of thermonuclear tests conducted; if this is only a few tests, a full list may be given.
  • other_testsoptional – any other tests conducted at the site. If this is only a few tests, a full list may be given; otherwise, an overall count or general description is preferred.

Microformat[edit]

The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles 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[edit]

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[edit]

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • 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[edit]

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

TemplateData[edit]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Infobox military test site