Шаблон:Infobox military installation
![]() |
Этот шаблон реализован на основе Lua с использованием модуля Module:Check for unknown parameters. |
Usage
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 = | coordinates = <!-- for generating inline coords link at top of article --> | latd = | latm = | lats = | latNS = | longd = | longm = | longs = | longEW = | coordinates_type = <!--airport, fort, etc. --> | coordinates_region = | 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 --> | 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
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.
- ensign – optional – a small ensign image used by the installation.
- native_name – optional – the name of the installation in the language(s) of the country which built it, or in which it is located.
- partof – optional – 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.
- image – optional – 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.
- 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.
- map_relief – optional – set to any non-blank value to use a relief map (if available).
- 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_alt – optional – alt text for location map; see Wikipedia:Alternative text for images.
- 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 installation ("Castle", "Fortress", "Bunker", "Military base", "Wall", "Defensive line", etc.).
- coordinates – optional – the location of the installation, given as a coordinate pair by using {{coord}} with display=inline,title.
- coord_region – optional – the region code for the coordinates; see {{coord}} for more details.
- code – optional – the location or facility code, such as the ILC or ILK code.
- built – optional – the date when the installation was built, usually given in years. Use {{start date}} if 1583 or later.
- builder – optional – the person or group responsible for building the installation.
- materials – optional – the materials used to construct the installation.
- height – optional – where relevant (e.g. for towers), the height of the installation.
- floor_area – optional – where relevant (e.g. for buildings), the interior floor area of the installation.
- site_area – optional – where relevant (e.g. for compounds), the land area of the installation.
- used – optional – the period during which the installation was in active military use, usually given in years.
- demolished – optional – the date when the installation was demolished, if applicable.
- condition – optional – the current condition of the installation.
- ownership – optional – the current owner of the installation, if relevant.
- open_to_public – optional – whether the installation is currently open to the general public, if relevant; indicated by "yes" or "no".
- controlledby – optional – the country or other power controlling the installation. Multiple powers may be indicated together with the corresponding dates.
- garrison – optional – the military forces garrisoning the installation. Specific units may be indicated if known; general numbers should be given otherwise.
- current_commander – optional – for installations currently in military use, the current commanding officer.
- past_commanders – optional – 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.
- occupants – optional – 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.
- battles – optional – 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.
- events – optional – 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.
- image2 – optional – 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.
- caption2 – optional – 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 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
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
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
When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.
See also
- Hidden tracking/maintenance category
- Шаблон-қуттиҳои беном
- Шаблонҳо бо истифода аз Scribunto
- Templates with coordinates fields
- Templates generating hCards and Geo
- Шаблонҳои новбарӣ, ки дар он бояд парамтри Ном санҷида шавад
- Buildings and structures infobox templates
- Military infobox templates
- Infobox templates with module parameter
- Templates that add a tracking category