Template:Infobox military installation/doc: Difference between revisions
No edit summary Tag: Reverted |
Tag: Undo |
||
Line 1: | Line 1: | ||
{{#ifeq:{{{noheader|}}}|yes| | |||
{{#ifeq:{{#invoke:High-use|num|x|demo={{ROOTPAGENAME}}}}|many||{{High-use|demo={{ROOTPAGENAME}}}}}} | |||
==== Military installation infobox ==== | |||
|{{Documentation subpage}} | |||
{{Lua|Module:Infobox|Module:InfoboxImage|Module:String|Module:Check for unknown parameters}} | |||
==Usage== | |||
}} | }} | ||
{{Infobox military installation | |||
| caption = | | name = Loring Air Force Base | ||
| image2 = | | native_name = Limestone Air Force Base | ||
| | | partof = | ||
| | | location = [[Limestone, Maine|Limestone]] and [[Caswell, Maine]] | ||
| | | country = United States | ||
| | | image = Loring Air Force Base.jpg | ||
| alt = Aerial image of Loring Air Force Base, in black and white | |||
| | | caption = [[United States Geological Survey|USGS]] 1970 Aerial Photo | ||
| | | image2 = ACC Shield.svg | ||
| | | alt2 = Shield with an sword with wings coming out of it | ||
| | | caption2 = Logo of Air Combat Command | ||
| | | type = Air Force Base | ||
| | | coordinates = {{coord|46|56|59|N|67|53|20|W|type:airport_region:US-ME|display=inline}} | ||
| | | image_map = | ||
| | | image_mapsize = | ||
| | | image_map_alt = | ||
| | | image_map_caption = | ||
| | | pushpin_map = USA Maine | ||
| | | pushpin_mapsize = 250 | ||
| pushpin_map_alt = | |||
| pushpin_map_caption = Location of Loring AFB | |||
| pushpin_relief = | |||
| pushpin_image = | |||
| pushpin_label = '''Loring AFB <br />(KLIZ) ''' | |||
| pushpin_label_position = left | |||
| pushpin_mark = | |||
| pushpin_marksize = | |||
| ownership = [[United States Air Force]] | |||
| operator = [[42d Air Base Wing|42nd Bomb Wing]] | |||
| controlledby = {{air force|USA}} | |||
| site_other_label = Stations | |||
| site_other = [[Caribou Air Force Station]] (East Loring), [[Caswell Air Force Station]] | |||
| open_to_public = Yes | |||
| site_area = {{convert|9000|acre|ha sqmi|lk=on}} | |||
| code = <!--facility/installation code, applies to US --> | |||
| built = {{Start date|1947}}–1953 | |||
| used = 1950–{{End date|1994}} | |||
| builder = [[United States Army Corps of Engineers]] | |||
| materials = | |||
| height = | |||
| fate = Mainly intact, partial demolition | |||
| condition = | |||
| battles = | |||
| events = [[Cold War]] | |||
| current_commander = Robert J. Pavelko | |||
| past_commanders = <!-- past notable commander(s) --> | |||
| garrison = [[42d Air Base Wing|42nd Bomb Wing]] | |||
| occupants = [[69th Bomb Squadron|69th Bombardment Squadron]], [[70th Flying Training Squadron|70th Bombardment Squadron]], [[75th Bombardment Squadron]], [[42d Air Refueling Squadron]], [[407th Air Refueling Squadron]], [[2192nd Communications Squadron]], [[101st Intelligence Squadron|101st Fighter Squadron]] | |||
| designations = | |||
| website = | |||
<!-- 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 --> | |||
<!-- begin airfield information --> | |||
| IATA = KLIZ | |||
| ICAO = LIZ | |||
| FAA = | |||
| TC = | |||
| LID = | |||
| GPS = | |||
| WMO = | |||
| elevation = {{Convert|746|ft|0}} | |||
| r1-number = 1R/19L | |||
| r1-length = {{Convert|12100|ft|0}} | |||
| r1-surface = Asphalt/Concrete | |||
| r2-number = 1L/19R | |||
| r2-length = {{Convert|12800|ft|0}} | |||
| r2-surface = Asphalt | |||
| airfield_other_label = <!-- for renaming "Other facilities" in infobox --> | |||
| airfield_other = <!-- for other sorts of airfield facilities --> | |||
<!-- end airfield information --> | |||
| footnotes = <!-- catchall in case it's needed to preserve something in infobox that doesn't work in new code --> | |||
}} | |||
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 {{tl|Infobox military installation}} template, as shown below: | |||
| | <syntaxhighlight lang="wikitext" style="overflow:auto"> | ||
| | {{Infobox military installation | ||
| name = | |||
| ensign = | |||
| ensign_size = | |||
| 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 = | |||
| coordinates = <!-- {{Coord}} --> | |||
| gridref = | |||
| type = | |||
| 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 = | |||
| code = <!--facility/installation code --> | |||
| site_area = <!-- area of site m2, km2 square mile etc --> | |||
| floor_area = | |||
| height = <!-- height of tallest part, not above sea level --> | |||
| length = <!-- for border fences or other DMZs --> | |||
| 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 --> | |||
| condition = | |||
| site_other_label = <!-- for renaming "Other facilities" in infobox --> | |||
| site_other = <!-- for other sorts of facilities – radar types etc --> | |||
| website = | |||
| built = <!-- {{Start date|YYYY}} --> | |||
| built_for = | |||
| builder = | |||
| architect = | |||
| used = <!--{{End date|1946}} --> | |||
| materials = | |||
| fate = <!--changed from demolished parameter--> | |||
| demolished = | |||
| battles = | |||
| events = | |||
| current_commander = <!-- current commander --> | |||
| past_commanders = <!-- past notable commander(s) --> | |||
| garrison = <!-- such as the 25th Bombardment Group --> | |||
| occupants = <!-- squadrons only --> | |||
| designations = | |||
| nrhp = | |||
| footnotes = <!-- catchall in case it's needed to preserve something in infobox that doesn't work in new code --> | |||
}} | |||
</syntaxhighlight> | |||
The following supplemental blocks may be copied into the template above as needed, just prior to the "footnotes" parameter. | |||
| | '''Test sites''' | ||
| | <syntaxhighlight lang="wikitext" style="overflow:auto"> | ||
<!-- 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 --> | |||
</syntaxhighlight> | |||
| | '''Airfields''' | ||
| | <syntaxhighlight lang="wikitext" style="overflow:auto"> | ||
<!-- 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 --> | |||
</syntaxhighlight> | |||
==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 (flag)|ensign]] image used by the installation. | ||
* '''ensign_size''' – ''optional'' – size for ensign image. | |||
* '''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 should be given in the form Example.jpg; other values can be inserted in the following parameters. | |||
* '''image_size''' – ''optional'' – width of the image in pixels (px), ''e.g.'', "150"; defaults to "220". | |||
* '''alt''' – ''optional'' – alt text for the image; see ''[[Wikipedia:Alternative text for images]]''. | |||
* '''caption''' – ''optional'' – the text to be placed below the image. | |||
* '''image2''' – ''optional'' – a second image of the installation. The image should be given in the form Example.jpg; other values can be inserted in the following parameters. | |||
* '''image2_size''' – ''optional'' – width of the second image in pixels (px), ''e.g.'', "150"; defaults to "220". | |||
* '''alt2''' – ''optional'' – alt text for the second image; see ''[[Wikipedia:Alternative text for images]]''. | |||
* '''caption2''' – ''optional'' – the text to be placed below the second image. | |||
* '''map_type''' – ''optional'' – the base map to be used for the location map, ''e.g.'', "Scotland"; see {{tl|Location map}} for more details. | |||
* '''map_relief''' – ''optional'' – set to any non-blank value to use a relief map (if available). | |||
* '''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". | |||
* '''coordinates''' – ''optional'' – latitude and longitude for placing the marker on the location map. Use {{tl|Coord}}; see the Coord template documentation for details. | |||
* '''gridref''' – ''optional'' – map grid reference. | |||
* '''type''' – ''optional'' – the general type of installation ("Castle", "Fortress", "Bunker", "Military base", "Wall", "Defensive line", etc.). | |||
* '''code''' – ''optional'' – the location or facility code, such as the ILC or ILK code. | |||
* '''site_area''' – ''optional'' – where relevant (e.g. for compounds), the land area of the installation. | |||
* '''floor_area''' – ''optional'' – where relevant (e.g. for buildings), the interior floor area of the installation. | |||
* '''height''' – ''optional'' – where relevant (e.g. for towers), the height of the installation. | |||
* '''length''' – ''optional'' – where relevant (e.g. for fences and DMZs), the length of the installation. | |||
* '''ownership''' – ''optional'' – the current owner of the installation, if relevant. | |||
* '''operator''' – ''optional'' – where different from ownership. | |||
* '''controlledby''' – ''optional'' – the country or other power controlling the installation. Multiple powers may be indicated together with the corresponding dates. | |||
* '''open_to_public''' – ''optional'' – whether the installation is currently open to the general public, if relevant; indicated by "yes" or "no". | |||
* '''condition''' – ''optional'' – the current condition of the installation. | |||
* '''built''' – ''optional'' – the date when the installation was built, usually given in years. Use {{tl|start date}} if 1583 or later. | |||
* '''builder''' – ''optional'' – the person or group responsible for building the installation. | |||
* '''used''' – ''optional'' – the period during which the installation was in active military use, usually given in years. | |||
* '''materials''' – ''optional'' – the materials used to construct the installation. | |||
* '''demolished''' – ''optional'' – the date when the installation was demolished, if applicable. | |||
* '''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. | |||
* '''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. | |||
* '''garrison''' – ''optional'' – the military forces garrisoning the installation. Specific units may be indicated if known; general numbers should be given otherwise. | |||
* '''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. | |||
* '''designations''' – legal heritage protection status | |||
* '''module''' – ''optional'' – to embed other templates beneath this one. | |||
* '''embed''' – ''optional'' – to embed this template into another above it. | |||
{{#ifeq:{{{noheader|}}}|yes|| | |||
==Microformat== | |||
{{UF-hcard-geo}} | |||
== Tracking category == | |||
* {{Category link with count|Pages using infobox military installation with unknown parameters}} | |||
| | == TemplateData == | ||
| | {{TemplateData header}} | ||
{{collapse top|title=TemplateData}} | |||
<templatedata> | |||
{ | |||
"description": "An infobox for a military structure or facility, such as a fortification or military base", | |||
"format": "{{_\n| _____________ = _\n}}\n", | |||
"params": { | |||
"name": { | |||
"label": "Name", | |||
"description": "The name of the installation", | |||
"type": "string" | |||
}, | |||
"noheader": {}, | |||
"map_type": {} | |||
}, | |||
"paramOrder": [ | |||
"name", | |||
"noheader", | |||
"map_type" | |||
] | |||
} | |||
</templatedata> | |||
{{collapse bottom}} | |||
== See also == | |||
*{{tl|Infobox military unit}} | |||
{{Buildings and structures infobox templates}} | |||
| | }}<noinclude> | ||
[[Category:WikiProject Military history template instructions|Military installation infobox]] | |||
</noinclude><includeonly>{{Sandbox other|| | |||
{{#ifeq:{{{noheader|}}}|yes|| | |||
[[Category:Military infobox templates|Installation]] | |||
[[Category:Buildings and structures infobox templates|Military installation]] | |||
[[Category:Infobox templates with module parameter|Military installation]] | |||
[[Category:Embeddable templates]] | |||
[[Category:Templates that add a tracking category|{{PAGENAME}}]] | |||
[[Category:Templates with coordinates fields]] | |||
}} | |||
}}</includeonly> | |||
}} | |||
< | |||
Latest revision as of 19:21, 26 December 2023
This is a documentation subpage for Template:Infobox military installation It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Usage
Loring Air Force Base | |||||||||
---|---|---|---|---|---|---|---|---|---|
Limestone Air Force Base | |||||||||
Limestone and Caswell, Maine in United States | |||||||||
Script error: No such module "Location map". | |||||||||
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. | ||||||||
Type | Air Force Base | ||||||||
Area | Template:Convert | ||||||||
Site information | |||||||||
Owner | United States Air Force | ||||||||
Operator | 42nd Bomb Wing | ||||||||
Controlled by | United States Air Force | ||||||||
Open to the public | Yes | ||||||||
Stations | Caribou Air Force Station (East Loring), Caswell Air Force Station | ||||||||
Site history | |||||||||
Built | Template:Start date–1953 | ||||||||
Built by | United States Army Corps of Engineers | ||||||||
In use | 1950–Template:End date | ||||||||
Fate | Mainly intact, partial demolition | ||||||||
Events | Cold War | ||||||||
Garrison information | |||||||||
Current commander | Robert J. Pavelko | ||||||||
Garrison | 42nd Bomb Wing | ||||||||
Occupants | 69th Bombardment Squadron, 70th Bombardment Squadron, 75th Bombardment Squadron, 42d Air Refueling Squadron, 407th Air Refueling Squadron, 2192nd Communications Squadron, 101st Fighter Squadron | ||||||||
Airfield information | |||||||||
Identifiers | IATA: KLIZ, ICAO: LIZ | ||||||||
Elevation | Template:Convert AMSL | ||||||||
|
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 =
| ensign_size =
| 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 =
| coordinates = <!-- {{Coord}} -->
| gridref =
| type =
| 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 =
| code = <!--facility/installation code -->
| site_area = <!-- area of site m2, km2 square mile etc -->
| floor_area =
| height = <!-- height of tallest part, not above sea level -->
| length = <!-- for border fences or other DMZs -->
| 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 -->
| condition =
| site_other_label = <!-- for renaming "Other facilities" in infobox -->
| site_other = <!-- for other sorts of facilities – radar types etc -->
| website =
| built = <!-- {{Start date|YYYY}} -->
| built_for =
| builder =
| architect =
| used = <!--{{End date|1946}} -->
| materials =
| fate = <!--changed from demolished parameter-->
| demolished =
| battles =
| events =
| current_commander = <!-- current commander -->
| past_commanders = <!-- past notable commander(s) -->
| garrison = <!-- such as the 25th Bombardment Group -->
| occupants = <!-- squadrons only -->
| designations =
| nrhp =
| 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.
- ensign_size – optional – size for ensign image.
- 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 should be given in the form Example.jpg; other values can be inserted in the following parameters.
- image_size – optional – width of the image in pixels (px), e.g., "150"; defaults to "220".
- alt – optional – alt text for the image; see Wikipedia:Alternative text for images.
- caption – optional – the text to be placed below the image.
- image2 – optional – a second image of the installation. The image should be given in the form Example.jpg; other values can be inserted in the following parameters.
- image2_size – optional – width of the second image in pixels (px), e.g., "150"; defaults to "220".
- alt2 – optional – alt text for the second image; see Wikipedia:Alternative text for images.
- caption2 – optional – the text to be placed below the second 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).
- 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".
- coordinates – optional – latitude and longitude for placing the marker on the location map. Use {{Coord}}; see the Coord template documentation for details.
- gridref – optional – map grid reference.
- type – optional – the general type of installation ("Castle", "Fortress", "Bunker", "Military base", "Wall", "Defensive line", etc.).
- code – optional – the location or facility code, such as the ILC or ILK code.
- site_area – optional – where relevant (e.g. for compounds), the land area of the installation.
- floor_area – optional – where relevant (e.g. for buildings), the interior floor area of the installation.
- height – optional – where relevant (e.g. for towers), the height of the installation.
- length – optional – where relevant (e.g. for fences and DMZs), the length of the installation.
- ownership – optional – the current owner of the installation, if relevant.
- operator – optional – where different from ownership.
- controlledby – optional – the country or other power controlling the installation. Multiple powers may be indicated together with the corresponding dates.
- open_to_public – optional – whether the installation is currently open to the general public, if relevant; indicated by "yes" or "no".
- condition – optional – the current condition of the installation.
- 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.
- used – optional – the period during which the installation was in active military use, usually given in years.
- materials – optional – the materials used to construct the installation.
- demolished – optional – the date when the installation was demolished, if applicable.
- 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.
- 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.
- garrison – optional – the military forces garrisoning the installation. Specific units may be indicated if known; general numbers should be given otherwise.
- 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.
- designations – legal heritage protection status
- module – optional – to embed other templates beneath this one.
- embed – optional – to embed this template into another above it.
Microformat
Tracking category
TemplateData
TemplateData for Infobox military installation
TemplateData
| ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
An infobox for a military structure or facility, such as a fortification or military base
|