Template:Infobox military installation/doc: Difference between revisions

From Ethan's Workspace
Jump to navigation Jump to search
No edit summary
Tag: Reverted
(Undo revision 2899 by Ethan (talk))
Tag: Undo
 
Line 1: Line 1:
{{infobox
{{#ifeq:{{{noheader|}}}|yes|
| child = {{#ifeq:{{{embed|}}}|yes|yes}}
{{#ifeq:{{#invoke:High-use|num|x|demo={{ROOTPAGENAME}}}}|many||{{High-use|demo={{ROOTPAGENAME}}}}}}
| bodyclass = vcard
| bodystyle = {{WPMILHIST Infobox style|main_box_raw|vcard}}
| abovestyle = {{WPMILHIST Infobox style|header_raw}}
| subheaderstyle1 = {{WPMILHIST Infobox style|header_raw}}; font-weight:bold;
| {{#ifeq:{{{embed|}}}|yes|subheader1|above}} = {{#if:{{{name|}}}|{{{name}}}|{{#ifeq:{{{embed|}}}|yes|<nowiki />|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}<!--
-->{{#if:{{{ensign|}}}|<div style="padding-bottom:2px">{{#invoke:InfoboxImage|InfoboxImage|image={{{ensign|}}}|size={{{ensign_size|}}}|sizedefault=90px|alt={{{ensign_alt|}}}}} {{#invoke:InfoboxImage|InfoboxImage|image={{{ensign2|}}}|size={{{ensign2_size|}}}|sizedefault=90px|alt={{{ensign2_alt|}}}}}</div>}}


| subheaderstyle2 = {{WPMILHIST Infobox style|header_raw}}
==== Military installation infobox ====
| subheader2 = {{br separated entries
|{{Documentation subpage}}
  |1 = {{#if:{{{native_name|}}}|<div style="display:inline;" class="nickname">''{{{native_name|}}}''</div>}}
{{Lua|Module:Infobox|Module:InfoboxImage|Module:String|Module:Check for unknown parameters}}
  |2 = {{#if:{{{nativename|}}}|<div style="display:inline;" class="nickname">''{{{nativename|}}}''</div>}}
 
  |3 = {{#if:{{{nativename-a|}}}|<div style="display:inline;" class="nickname">{{{nativename-a}}}</div>}}
==Usage==
  |4 = {{#if:{{{nativename-r|}}}|<div style="display:inline;" class="nickname">{{{nativename-r}}}</div>}}
}}
}}
| subheaderstyle3 = {{WPMILHIST Infobox style|sub_header_raw}}
| subheader3 = {{#if:{{{partof|}}}| Part of {{{partof}}}}}
| subheaderstyle4 = {{WPMILHIST Infobox style|sub_header_raw}}
| subheader4 = {{#if:{{{location|}}}{{{nearest_town|}}}{{{country|}}}
  |<span class="label">{{br separated entries
    |1={{{location|}}}
    |2={{#if:{{{nearest_town|}}}|Near {{{nearest_town}}} }}
    }} {{#if:{{{country|}}} | {{#if:{{{location|}}}{{{nearest_town|}}}|in&nbsp;}}{{{country}}}}}</span>
  }}


| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=250px|alt={{{image_alt|{{{alt|}}}}}}}}
{{Infobox military installation
| caption = {{{caption|}}}
| name = Loring Air Force Base
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image2|}}}|size={{{image2_size|}}}|sizedefault=75px|alt={{{image2_alt|{{{alt2|}}}}}}}}
| native_name = Limestone Air Force Base
| caption2 = {{{caption2|}}}
| partof =
| image3 = {{#invoke:InfoboxImage|InfoboxImage|image={{{map|{{{image_map|}}}}}}|size={{{map_size|{{{image_mapsize|}}}}}}|sizedefault=250px|alt={{{map_alt|{{{image_map_alt|}}}}}}}}
| location = [[Limestone, Maine|Limestone]] and [[Caswell, Maine]]
| caption3 = {{{map_caption|{{{image_map_caption|}}}}}}
| country = United States
| image4 = {{#if:{{{pushpin_map|{{{map_type|}}}}}}
| image = Loring Air Force Base.jpg
  |{{Location map|{{{pushpin_map|{{{map_type|}}}}}}
| alt = Aerial image of Loring Air Force Base, in black and white
|label = {{#ifeq: {{lc: {{{pushpin_label_position|}}} }} | none | | {{#if:{{{pushpin_label|}}}|{{{pushpin_label}}}|{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}} }}
| caption = [[United States Geological Survey|USGS]] 1970 Aerial Photo
|alt = {{{pushpin_map_alt|}}}
| image2 = ACC Shield.svg
|coordinates = {{{coordinates|}}}
| alt2 = Shield with an sword with wings coming out of it
|mark = {{#if: {{{pushpin_mark|}}} | {{{pushpin_mark}}} | Red_pog.svg }}
| caption2 = Logo of Air Combat Command
|marksize = {{#if: {{{pushpin_marksize|}}} | {{{pushpin_marksize}}} | 10 }}
| type = Air Force Base
|float = center
| coordinates = {{coord|46|56|59|N|67|53|20|W|type:airport_region:US-ME|display=inline}}
|caption = {{{pushpin_map_caption|}}}
| image_map =  
|border = infobox
| image_mapsize =  
|position = {{{pushpin_label_position|}}}
| image_map_alt =
|width = {{#if:{{{pushpin_mapsize|{{{map_size|}}}}}}|{{{pushpin_mapsize|{{{map_size|}}}}}} | 250 }}
| image_map_caption =
|relief = {{{pushpin_relief|{{{map_relief|}}}}}}
| pushpin_map = USA Maine
|AlternativeMap = {{{pushpin_image|}}}
| pushpin_mapsize = 250
}}}}
| pushpin_map_alt =  
| pushpin_map_caption = Location of Loring AFB
| pushpin_relief =  
| pushpin_image =
| pushpin_label = '''Loring AFB&nbsp;<br />(KLIZ)&nbsp;'''
| 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 -->
}}


| labelstyle = padding-right:1em
A military installation infobox may be used to summarize information about a military structure or facility, such as a fortification or military base. 
| headerstyle = {{WPMILHIST Infobox style|header_raw}}


| label1 =  Coordinates
The infobox should be added using the {{tl|Infobox military installation}} template, as shown below:
| data1 = {{#if:{{{coordinates|}}}|{{{coordinates}}} {{{coordinates_footnotes|{{{coord_footnotes|}}}}}} }}


| label2         = [[Grid reference]]
<syntaxhighlight lang="wikitext" style="overflow:auto">
| data2         = {{{gridref|}}}
{{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>


| label3 =  Type
The following supplemental blocks may be copied into the template above as needed, just prior to the "footnotes" parameter.
| data3 =  {{{type|}}}


| label4 = Code
'''Test sites'''
| data4 = {{{code|}}}
<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>


| label5 = Area
'''Airfields'''
| data5 = {{{site_area|}}}
<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>


| label6 = Floor area
==Parameters==
| data6 = {{{floor_area|}}}
'''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]]).


| label7 = Height
* '''name''' – the name of the installation or structure.
| data7 = {{{height|}}}
* '''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.


| label8 =  Length
{{#ifeq:{{{noheader|}}}|yes||
| data8 = {{{length|}}}


| header9 ={{#if:{{{ownership|}}}{{{owner|}}}{{{operator|}}}{{{controlledby|}}}{{{controlled by|}}}{{{controlled_by|}}}{{{open_to_public|}}}{{{condition|}}}{{{status|}}}{{{site_other|}}}{{{website|}}}|Site information}}
==Microformat==
{{UF-hcard-geo}}


| label10 = Owner
== Tracking category ==
| data10 = {{if empty|{{{ownership|}}}|{{{owner|}}}}}
* {{Category link with count|Pages using infobox military installation with unknown parameters}}


| label11 = Operator
== TemplateData ==
| data11 = {{{operator|}}}
{{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}}


| label12 = Controlled&nbsp;by
== See also ==
| data12 = {{if empty|{{{controlledby|}}}|{{{controlled by|}}}|{{{controlled_by|}}}}}
*{{tl|Infobox military unit}}
{{Buildings and structures infobox templates}}


| label13 =  Open&nbsp;to<br />the&nbsp;public
}}<noinclude>
| data13 = {{{open_to_public|}}}
[[Category:WikiProject Military history template instructions|Military installation infobox]]
</noinclude><includeonly>{{Sandbox other||
{{#ifeq:{{{noheader|}}}|yes||


| label14 =  {{#if: {{{condition|}}}|Condition|Status}}
[[Category:Military infobox templates|Installation]]
| data14 = {{if empty|{{{condition|}}}|{{{status|}}}}}
[[Category:Buildings and structures infobox templates|Military installation]]
 
[[Category:Infobox templates with module parameter|Military installation]]
| label15 =  {{#if:{{{site_other_label|}}} | {{{site_other_label}}} | Other site<br>facilities }}
[[Category:Embeddable templates]]
| data15 = {{{site_other|}}}
[[Category:Templates that add a tracking category|{{PAGENAME}}]]
 
[[Category:Templates with coordinates fields]]
| label16 =  Website
}}
| data16 = {{{website|}}}
}}</includeonly>
 
| header17 = {{#if:{{{built|}}}{{{built_for|}}}{{{builder|}}}{{{architect|}}}{{{used|}}}{{{dates|}}}{{{materials|}}}{{{fate|}}}{{{demolished|}}}{{{battles|}}}{{{events|}}} | Site history }}
 
| label18 =  Built
| data18 = {{{built|}}}
 
| label19 = Built&nbsp;for
| data19 = {{{built_for|}}}
 
| label20 =  Built&nbsp;by
| data20 = {{{builder|}}}
 
| label21 = Architect
| data21 = {{{architect|}}}
 
| label22 =  In&nbsp;use
| data22 = {{if empty|{{{used|}}}|{{{dates|}}}}}
 
| label23 =  Materials
| data23 = {{{materials|}}}
 
| label24 =  Fate
| data24 = {{{fate|}}}
 
| label25 = Demolished
| data25 = {{{demolished|}}}
 
| label26 =  Battles/wars
| data26 = {{{battles|}}}
 
| label27 =  Events
| data27 = {{{events|}}} 
 
| header28 = {{#if:{{{commander|}}}{{{current_commander|}}}{{{past_commanders|{{{commanders|}}}}}}{{{garrison|}}}{{{occupants|}}} |  Garrison information  }}
 
| label29 =  Current<br />commander 
| data29 = {{if empty|{{{current_commander|}}}|{{{commander|}}}}}
 
| label30 =  Past<br />commanders
| data30 = {{if empty|{{{past_commanders|}}}|{{{commanders|}}}}}
 
| label31 =  Garrison 
| data31 = {{{garrison|}}}
 
| label32 =  Occupants
| data32 = {{{occupants|}}} 
 
| label33    = Designations
|  data33    = {{{designations|}}}
 
| header34 = {{#if:{{{subcritical_tests|}}}{{{nuclear_tests|}}}{{{thermonuclear_tests|}}}{{{other_tests|}}}{{{remediation|}}} | Test information  }}
 
| label35 = [[Subcritical]] tests
| data35 = {{{subcritical_tests|}}}
 
| label36 = [[Nuclear fission|Nuclear]] tests
| data36 = {{{nuclear_tests|}}} 
 
| label37 = [[Nuclear fusion|Thermonuclear]] tests 
| data37 = {{{thermonuclear_tests|}}}
 
| label38 = {{#if:{{{other_tests_label|}}} | {{{other_tests_label}}} | Other tests }} 
| data38 = {{{other_tests|}}}
 
| label39 = [[Environmental remediation|Remediation]]
| data39 = {{{remediation|}}}
 
<!-- image3 testing area (START) -->
| data40 = {{#if:{{{image3|}}}|
{{#invoke:InfoboxImage|InfoboxImage|image={{{image3|}}}|size={{{image3_size|}}}|sizedefault=250px|alt={{{image3_alt|{{{alt3|}}}}}}}}{{#if:{{{caption3|}}}|<div>{{{caption3|}}}</div>}}}}
<!-- image3 testing area (END) -->
 
 
| header41 = {{#if:{{{r1-number|}}}{{{r1-length|}}}{{{r1-surface|}}}{{{h1-number|}}}{{{h1-length|}}}{{{h1-surface|}}}{{{airfield_other|}}}{{{elevation|}}}{{{IATA|}}}{{{ICAO|}}}{{{FAA|}}}{{{TC|}}}{{{LID|}}}{{{GPS|}}}{{{WMO|}}} |Airfield information}}
 
<!-- this next bit is to display ICAO, IATA etc codes if the airfield has (any of) these -->
 
| label42 =  Identifiers
| data42 = {{comma separated entries
|1= {{#if:{{{IATA|}}} | [[International Air Transport Association airport code|IATA]]: {{{IATA|}}}}}
|2= {{#if:{{{ICAO|}}} | [[International Civil Aviation Organization airport code|ICAO]]: {{{ICAO}}}}}
|3= {{#if:{{{FAA|}}} |[[Location identifier#FAA identifier|FAA LID]]: {{{FAA}}}}}
|4= {{#if:{{{TC|}}} | [[Location identifier#Transport Canada identifier|TC LID]]: {{{TC}}}}}
|5= {{#if:{{{LID|}}}| [[Location identifier|LID]]: {{{LID}}}}}
|6= {{#if:{{{GPS|}}}| [[Global Positioning System|GPS]]: {{{GPS}}}}}
|7= {{#if:{{{WMO|}}}| [[Location identifier#WMO station identifiers|WMO]]: {{{WMO}}}}}
}}
 
| label43 =  Elevation
| data43 = {{#if:{{{elevation|}}} |{{{elevation}}} [[Above mean sea level|AMSL]] }}
 
| data44 = {{#if: {{{r1-number|}}} {{{r1-length|}}} {{{r1-surface|}}}|
<table style="width:100%; margin:-2px -1px -1px -1px; border-spacing:0;">
<tr style="background-color: #ddd">
<th colspan=2 style="font-weight:normal; border:solid 1px #fafafa; border-width:0 0 1px 0;">Runways</th>
</tr><tr style="background-color: #ddd; text-align: left;">
<th scope=col style="font-weight:normal; width: 25%; border:solid 1px #fafafa; border-width:1px 1px 0 0;padding:1px 2px;">[[Runway#Orientation and dimensions|Direction]]</th>
<th scope=col style="font-weight:normal; width: 75%; border:solid 1px #fafafa; border-width:1px 0 0 1px;padding:1px 2px;">Length and surface</th>
</tr><tr>
<td style="text-align: center;">{{{r1-number|}}}</td>
<td style="text-align: left;">{{{r1-length}}}&nbsp;{{{r1-surface}}}</td>
</tr>{{#if:{{{r2-number|}}} {{{r2-length|}}} {{{r2-surface|}}}|
<tr>
<td style="text-align: center;">{{{r2-number|}}}</td>
<td style="text-align: left;">{{{r2-length}}}&nbsp;{{{r2-surface}}}</td>
</tr>}}{{#if:{{{r3-number|}}} {{{r3-length|}}} {{{r3-surface|}}}|
<tr>
<td style="text-align: center;">{{{r3-number|}}}</td>
<td style="text-align: left;">{{{r3-length}}}&nbsp;{{{r3-surface}}}</td>
</tr>}}{{#if:{{{r4-number|}}} {{{r4-length|}}} {{{r4-surface|}}}|
<tr>
<td style="text-align: center;">{{{r4-number|}}}</td>
<td style="text-align: left;">{{{r4-length}}}&nbsp;{{{r4-surface}}}</td>
</tr>}}{{#if:{{{r5-number|}}} {{{r5-length|}}} {{{r5-surface|}}}|
<tr>
<td style="text-align: center;">{{{r5-number|}}}</td>
<td style="text-align: left;">{{{r5-length}}}&nbsp;{{{r5-surface}}}</td>
</tr>}}{{#if:{{{r6-number|}}} {{{r6-length|}}} {{{r6-surface|}}}|
<tr>
<td style="text-align: center;">{{{r6-number|}}}</td>
<td style="text-align: left;">{{{r6-length}}}&nbsp;{{{r6-surface}}}</td>
</tr>}}{{#if:{{{r7-number|}}} {{{r7-length|}}} {{{r7-surface|}}}|
<tr>
<td style="text-align: center;">{{{r7-number|}}}</td>
<td style="text-align: left;">{{{r7-length}}}&nbsp;{{{r7-surface}}}</td>
</tr>}}{{#if:{{{r8-number|}}} {{{r8-length|}}} {{{r8-surface|}}}|
<tr>
<td style="text-align: center;">{{{r8-number|}}}</td>
<td style="text-align: left;">{{{r8-length}}}&nbsp;{{{r8-surface}}}</td>
</tr>}}{{#if:{{{r9-number|}}} {{{r9-length|}}} {{{r9-surface|}}}|
<tr>
<td style="text-align: center;">{{{r9-number|}}}</td>
<td style="text-align: left;">{{{r9-length}}}&nbsp;{{{r9-surface}}}</td>
</tr>}}</table>}}
 
| data45 = {{#if: {{{h1-number|}}} {{{h1-length|}}} {{{h1-surface|}}}|
<table style="width:100%; margin:-2px -1px -1px -1px; border-spacing:0;">
<tr style="background-color: #ddd">
<th colspan=2 style="font-weight:normal; border:solid 1px #fafafa; border-width:0 0 1px 0;">Helipads</th>
</tr><tr style="background-color: #ddd; text-align: left;">
<th scope=col style="font-weight:normal; width: 25%; border:solid 1px #fafafa; border-width:1px 1px 0 0; padding:1px 2px;">Number</th>
<th scope=col style="font-weight:normal; width: 75%; border:solid 1px #fafafa; border-width:1px 0 0 1px; padding:1px 2px;">Length and surface</th>
</tr>
{{#if:{{{h1-number|}}} {{{h1-length|}}} {{{h1-surface|}}}|
<tr>
<td style="text-align: center;">{{{h1-number|}}}</td>
<td style="text-align: left;">{{{h1-length}}}&nbsp;{{{h1-surface}}}</td>
</tr>}}
{{#if:{{{h2-number|}}} {{{h2-length|}}} {{{h2-surface|}}}|
<tr>
<td style="text-align: center;">{{{h2-number|}}}</td>
<td style="text-align: left;">{{{h2-length}}}&nbsp;{{{h2-surface}}}</td>
</tr>}}
{{#if:{{{h3-number|}}} {{{h3-length|}}} {{{h3-surface|}}}|
<tr>
<td style="text-align: center;">{{{h3-number|}}}</td>
<td style="text-align: left;">{{{h3-length}}}&nbsp;{{{h3-surface}}}</td>
</tr>}}
{{#if:{{{h4-number|}}} {{{h4-length|}}} {{{h4-surface|}}}|
<tr>
<td style="text-align: center;">{{{h4-number|}}}</td>
<td style="text-align: left;">{{{h4-length}}}&nbsp;{{{h4-surface}}}</td>
</tr>}}
{{#if:{{{h5-number|}}} {{{h5-length|}}} {{{h5-surface|}}}|
<tr>
<td style="text-align: center;">{{{h5-number|}}}</td>
<td style="text-align: left;">{{{h5-length}}}&nbsp;{{{h5-surface}}}</td>
</tr>}}
{{#if:{{{h6-number|}}} {{{h6-length|}}} {{{h6-surface|}}}|
<tr>
<td style="text-align: center;">{{{h6-number|}}}</td>
<td style="text-align: left;">{{{h6-length}}}&nbsp;{{{h6-surface}}}</td>
</tr>}}</table>}}
 
| label46 =  {{#if:{{{airfield_other_label|}}} | {{{airfield_other_label}}} | Other airfield<br>facilities }}
| data46 = {{{airfield_other|}}}
 
| header47 = {{{nrhp|{{{embedded|{{{module|}}}}}}}}}
 
| belowstyle = text-align: left; background-color: #eee
| below = {{{footnotes|}}}
}}{{<includeonly>safesubst:</includeonly>#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox military installation with unknown parameters|_VALUE_{{PAGENAME}}]]}}|ignoreblank=y|preview=Page using [[Template:Infobox military installation]] with unknown parameter "_VALUE_"
| embed | name| designations| ensign| ensign_size| ensign_alt| ensign2| ensign2_size| ensign2_alt| native_name| nativename| nativename-a| nativename-r|partof| location| nearest_town| country| image| image_size| image_alt| alt| caption| image2| image2_size| image2_alt| alt2| caption2| map| image_map |map_size| image_mapsize| map_alt| image_map_alt| map_caption| image_map_caption| pushpin_map| map_type| pushpin_label_position| pushpin_label| pushpin_map_alt| pushpin_mark| pushpin_marksize| pushpin_mapsize| pushpin_relief| map_relief| pushpin_image| pushpin_map_caption| coordinates| coordinates_footnotes| gridref| type| code| site_area| height| length| ownership| owner| operator| controlledby| controlled by| controlled_by| open_to_public| condition| status| site_other| website| site_other_label| built| built_for| builder| architect| used| dates |materials| fate| demolished| battles| events| current_commander| past_commanders| garrison| occupants| subcritical_tests| nuclear_tests| thermonuclear_tests| other_tests| remediation| other_tests_label| image3| image3_size| image3_alt| alt3| caption3| r1-number| r1-length| r1-surface| h1-number| h1-length| h1-surface| airfield_other| elevation| IATA| ICAO| FAA| TC| LID| GPS| WMO| r2-number| r2-length| r2-surface| r3-number| r3-length| r3-surface| r4-number| r4-length| r4-surface| r5-number| r5-length| r5-surface| r6-number| r6-length| r6-surface| r7-number| r7-length| r7-surface| r8-number| r8-length| r8-surface| r9-number| r9-length| r9-surface| h2-number| h2-length| h2-surface| h3-number| h3-length| h3-surface| h4-number| h4-length| h4-surface| h5-number| h5-length| h5-surface| h6-number| h6-length| h6-surface| airfield_other_label| |nrhp |embedded |module| footnotes
}}{{#if:{{#if:{{both|{{{ownership|}}}|{{{owner|}}}}}|1}}{{#if:{{both|{{{condition|}}}|{{{status|}}}}}|1}}{{#if:{{both|{{{used|}}}|{{{dates|}}}}}|1}}|[[Category:Pages using infobox military installation with unknown parameters|Δ]]
}}{{#ifeq:{{#invoke:string|replace|{{{name|{{PAGENAME}}}}}|.*
.*|CHECK|plain=false}}|CHECK|[[Category:Pages using infobox military installation with unknown parameters|Ε]]
}}<noinclude>
{{documentation}}
<!-- Please add categories to the /doc subpage, not here. -->
</noinclude>

Latest revision as of 20:21, 26 December 2023

Usage

Loring Air Force Base
Limestone Air Force Base
Limestone and Caswell, Maine in United States
Aerial image of Loring Air Force Base, in black and white
USGS 1970 Aerial Photo
Shield with an sword with wings coming out of it
Logo of Air Combat Command
Script error: No such module "Location map".
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
TypeAir Force Base
AreaTemplate:Convert
Site information
OwnerUnited States Air Force
Operator42nd Bomb Wing
Controlled by United States Air Force
Open to
the public
Yes
StationsCaribou Air Force Station (East Loring), Caswell Air Force Station
Site history
BuiltTemplate:Start date–1953
Built byUnited States Army Corps of Engineers
In use1950–Template:End date
FateMainly intact, partial demolition
EventsCold War
Garrison information
Current
commander
Robert J. Pavelko
Garrison42nd Bomb Wing
Occupants69th Bombardment Squadron, 70th Bombardment Squadron, 75th Bombardment Squadron, 42d Air Refueling Squadron, 407th Air Refueling Squadron, 2192nd Communications Squadron, 101st Fighter Squadron
Airfield information
IdentifiersIATA: KLIZ, ICAO: LIZ
ElevationTemplate:Convert AMSL
Runways
Direction Length and surface
1R/19L Template:Convert Asphalt/Concrete
1L/19R Template:Convert Asphalt

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.
  • ensignoptional – a small ensign image used by the installation.
  • ensign_sizeoptional – size for ensign image.
  • 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 should be given in the form Example.jpg; other values can be inserted in the following parameters.
  • image_sizeoptional – width of the image in pixels (px), e.g., "150"; defaults to "220".
  • altoptional – alt text for the image; see Wikipedia:Alternative text for images.
  • captionoptional – the text to be placed below the image.
  • image2optional – 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_sizeoptional – width of the second image in pixels (px), e.g., "150"; defaults to "220".
  • alt2optional – alt text for the second image; see Wikipedia:Alternative text for images.
  • caption2optional – the text to be placed below the second 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).
  • 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".
  • coordinatesoptional – latitude and longitude for placing the marker on the location map. Use {{Coord}}; see the Coord template documentation for details.
  • gridrefoptional – map grid reference.
  • typeoptional – the general type of installation ("Castle", "Fortress", "Bunker", "Military base", "Wall", "Defensive line", etc.).
  • codeoptional – the location or facility code, such as the ILC or ILK code.
  • site_areaoptional – where relevant (e.g. for compounds), the land area of the installation.
  • floor_areaoptional – where relevant (e.g. for buildings), the interior floor area of 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.
  • ownershipoptional – the current owner of the installation, if relevant.
  • operatoroptional – where different from ownership.
  • controlledbyoptional – the country or other power controlling the installation. Multiple powers may be indicated together with the corresponding dates.
  • open_to_publicoptional – whether the installation is currently open to the general public, if relevant; indicated by "yes" or "no".
  • conditionoptional – the current condition of the installation.
  • 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.
  • usedoptional – the period during which the installation was in active military use, usually given in years.
  • materialsoptional – the materials used to construct the installation.
  • demolishedoptional – the date when the installation was demolished, if applicable.
  • 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.
  • 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.
  • garrisonoptional – the military forces garrisoning the installation. Specific units may be indicated if known; general numbers should be given otherwise.
  • 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.
  • designations – legal heritage protection status
  • moduleoptional – to embed other templates beneath this one.
  • embedoptional – to embed this template into another above it.

Microformat

Template:UF-hcard-geo

Tracking category

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Infobox military installation

TemplateData

An infobox for a military structure or facility, such as a fortification or military base

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Namename

The name of the installation

Stringoptional
noheadernoheader

no description

Unknownoptional
map_typemap_type

no description

Unknownoptional

See also

Template:Buildings and structures infobox templates