Template:Infobox military installation/doc: Difference between revisions

From Ethan's Workspace
Jump to navigation Jump to search
(Created page with "{{#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 | name = Loring Air Force Base | native_name = Limestone Air Force Base | partof = | location = Limestone and Casw...")
 
No edit summary
Tag: Reverted
Line 1: Line 1:
{{#ifeq:{{{noheader|}}}|yes|
{{infobox
{{#ifeq:{{#invoke:High-use|num|x|demo={{ROOTPAGENAME}}}}|many||{{High-use|demo={{ROOTPAGENAME}}}}}}
| child = {{#ifeq:{{{embed|}}}|yes|yes}}
| 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>}}


==== Military installation infobox ====
| subheaderstyle2 = {{WPMILHIST Infobox style|header_raw}}
|{{Documentation subpage}}
| subheader2 = {{br separated entries
{{Lua|Module:Infobox|Module:InfoboxImage|Module:String|Module:Check for unknown parameters}}
  |1 = {{#if:{{{native_name|}}}|<div style="display:inline;" class="nickname">''{{{native_name|}}}''</div>}}
  |2 = {{#if:{{{nativename|}}}|<div style="display:inline;" class="nickname">''{{{nativename|}}}''</div>}}
  |3 = {{#if:{{{nativename-a|}}}|<div style="display:inline;" class="nickname">{{{nativename-a}}}</div>}}
  |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|}}}}}}}}
| caption = {{{caption|}}}
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image2|}}}|size={{{image2_size|}}}|sizedefault=75px|alt={{{image2_alt|{{{alt2|}}}}}}}}
| caption2 = {{{caption2|}}}
| image3 = {{#invoke:InfoboxImage|InfoboxImage|image={{{map|{{{image_map|}}}}}}|size={{{map_size|{{{image_mapsize|}}}}}}|sizedefault=250px|alt={{{map_alt|{{{image_map_alt|}}}}}}}}
| caption3 = {{{map_caption|{{{image_map_caption|}}}}}}
| image4 = {{#if:{{{pushpin_map|{{{map_type|}}}}}}
  |{{Location map|{{{pushpin_map|{{{map_type|}}}}}}
|label = {{#ifeq: {{lc: {{{pushpin_label_position|}}} }} | none | | {{#if:{{{pushpin_label|}}}|{{{pushpin_label}}}|{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}} }}
|alt = {{{pushpin_map_alt|}}}
|coordinates = {{{coordinates|}}}
|mark = {{#if: {{{pushpin_mark|}}} | {{{pushpin_mark}}} | Red_pog.svg }}
|marksize = {{#if: {{{pushpin_marksize|}}} | {{{pushpin_marksize}}} | 10 }}
|float = center
|caption = {{{pushpin_map_caption|}}}
|border = infobox
|position = {{{pushpin_label_position|}}}
|width = {{#if:{{{pushpin_mapsize|{{{map_size|}}}}}}|{{{pushpin_mapsize|{{{map_size|}}}}}} | 250 }}
|relief = {{{pushpin_relief|{{{map_relief|}}}}}}
|AlternativeMap = {{{pushpin_image|}}}
}}}}
 
| labelstyle = padding-right:1em
| headerstyle = {{WPMILHIST Infobox style|header_raw}}
 
| label1 =  Coordinates
| data1 = {{#if:{{{coordinates|}}}|{{{coordinates}}} {{{coordinates_footnotes|{{{coord_footnotes|}}}}}} }}


==Usage==
| label2        = [[Grid reference]]
}}
| data2          = {{{gridref|}}}
 
| label3 =  Type
| data3 =  {{{type|}}}
 
| label4 =  Code
| data4 = {{{code|}}}
 
| label5 =  Area
| data5 = {{{site_area|}}}
 
| label6 = Floor area
| data6 = {{{floor_area|}}}
 
| label7 =  Height
| data7 = {{{height|}}}
 
| label8 =  Length
| data8 = {{{length|}}}
 
| header9 ={{#if:{{{ownership|}}}{{{owner|}}}{{{operator|}}}{{{controlledby|}}}{{{controlled by|}}}{{{controlled_by|}}}{{{open_to_public|}}}{{{condition|}}}{{{status|}}}{{{site_other|}}}{{{website|}}}|Site information}}
 
| label10 =  Owner
| data10 = {{if empty|{{{ownership|}}}|{{{owner|}}}}}
 
| label11 =  Operator
| data11 = {{{operator|}}}
 
| label12 =  Controlled&nbsp;by
| data12 = {{if empty|{{{controlledby|}}}|{{{controlled by|}}}|{{{controlled_by|}}}}}
 
| label13 =  Open&nbsp;to<br />the&nbsp;public
| data13 = {{{open_to_public|}}}
 
| label14 =  {{#if: {{{condition|}}}|Condition|Status}}
| data14 = {{if empty|{{{condition|}}}|{{{status|}}}}}
 
| label15 =  {{#if:{{{site_other_label|}}} | {{{site_other_label}}} | Other site<br>facilities }}
| data15 = {{{site_other|}}}
 
| label16 =  Website
| data16 = {{{website|}}}
 
| 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  }}


{{Infobox military installation
| label35 = [[Subcritical]] tests
| name = Loring Air Force Base
| data35 = {{{subcritical_tests|}}}  
| native_name = Limestone Air Force Base
 
| partof =
| label36 = [[Nuclear fission|Nuclear]] tests  
| location = [[Limestone, Maine|Limestone]] and [[Caswell, Maine]]
| data36 = {{{nuclear_tests|}}}   
| 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&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 -->
}}


A military installation infobox may be used to summarize information about a military structure or facility, such as a fortification or military base.  
| label37 = [[Nuclear fusion|Thermonuclear]] tests  
| data37 = {{{thermonuclear_tests|}}}


The infobox should be added using the {{tl|Infobox military installation}} template, as shown below:
| label38 = {{#if:{{{other_tests_label|}}} | {{{other_tests_label}}} | Other tests }} 
| data38 = {{{other_tests|}}}


<syntaxhighlight lang="wikitext" style="overflow:auto">
| label39 = [[Environmental remediation|Remediation]]
{{Infobox military installation
| data39 = {{{remediation|}}}
| 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.
<!-- 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) -->


'''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'''
| 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}}
<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==
<!-- this next bit is to display ICAO, IATA etc codes if the airfield has (any of) these -->
'''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.
| label42 =  Identifiers
* '''ensign''' – ''optional'' – a small [[Ensign (flag)|ensign]] image used by the installation.
| data42 = {{comma separated entries
* '''ensign_size''' – ''optional'' – size for ensign image.
|1= {{#if:{{{IATA|}}} | [[International Air Transport Association airport code|IATA]]: {{{IATA|}}}}}
* '''native_name''' – ''optional'' – the name of the installation in the language(s) of the country which built it, or in which it is located.
|2= {{#if:{{{ICAO|}}} | [[International Civil Aviation Organization airport code|ICAO]]: {{{ICAO}}}}}
* '''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.
  |3= {{#if:{{{FAA|}}} |[[Location identifier#FAA identifier|FAA LID]]: {{{FAA}}}}}
* '''location''' – the geographical location of the installation.
|4= {{#if:{{{TC|}}} | [[Location identifier#Transport Canada identifier|TC LID]]: {{{TC}}}}}
* '''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.
|5= {{#if:{{{LID|}}}| [[Location identifier|LID]]: {{{LID}}}}}
* '''image_size''' – ''optional'' – width of the image in pixels (px), ''e.g.'', "150"; defaults to "220".
|6= {{#if:{{{GPS|}}}| [[Global Positioning System|GPS]]: {{{GPS}}}}}
* '''alt''' – ''optional'' – alt text for the image; see ''[[Wikipedia:Alternative text for images]]''.
  |7= {{#if:{{{WMO|}}}| [[Location identifier#WMO station identifiers|WMO]]: {{{WMO}}}}}
* '''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||
| label43 =  Elevation
| data43 = {{#if:{{{elevation|}}} |{{{elevation}}} [[Above mean sea level|AMSL]] }}


==Microformat==
| data44 = {{#if: {{{r1-number|}}} {{{r1-length|}}} {{{r1-surface|}}}|
{{UF-hcard-geo}}
<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>}}


== Tracking category ==
| data45 = {{#if: {{{h1-number|}}} {{{h1-length|}}} {{{h1-surface|}}}|
* {{Category link with count|Pages using infobox military installation with unknown parameters}}
<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>}}


== TemplateData ==
| label46 = {{#if:{{{airfield_other_label|}}} | {{{airfield_other_label}}} | Other airfield<br>facilities }}
{{TemplateData header}}
| data46 = {{{airfield_other|}}}
{{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 ==
| header47 = {{{nrhp|{{{embedded|{{{module|}}}}}}}}}
*{{tl|Infobox military unit}}
{{Buildings and structures infobox templates}}


| 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>
}}<noinclude>
[[Category:WikiProject Military history template instructions|Military installation infobox]]
{{documentation}}
</noinclude><includeonly>{{Sandbox other||
<!-- Please add categories to the /doc subpage, not here. -->
{{#ifeq:{{{noheader|}}}|yes||
</noinclude>
 
[[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>

Revision as of 19:21, 26 December 2023

Template:Infobox military installation/doc/doc