Template:Infobox military installation: Difference between revisions

From Omniversalis
Content added Content deleted
(working on embedding)
 
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
Line 35: Line 35:
|label = {{#ifeq: {{lc: {{{pushpin_label_position|}}} }} | none | | {{#if:{{{pushpin_label|}}}|{{{pushpin_label}}}|{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}} }}
|label = {{#ifeq: {{lc: {{{pushpin_label_position|}}} }} | none | | {{#if:{{{pushpin_label|}}}|{{{pushpin_label}}}|{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}} }}
|alt = {{{pushpin_map_alt|}}}
|alt = {{{pushpin_map_alt|}}}
|coordinates = {{#if:{{{latd|{{{latitude|}}}}}}||{{{coordinates|}}} }}
|coordinates = {{{coordinates|}}}
|lat = {{#if:{{{latm|}}}{{{latNS|}}}| |{{{latd|{{{latitude|}}}}}} }}
|long = {{#if:{{{longm|}}}{{{longEW|}}}| |{{{longd|{{{longitude|}}}}}} }}
|lat_deg={{#if:{{{latm|}}}{{{latNS|}}}|{{{latd|}}}| }}
|lat_min={{#if:{{{latm|}}}{{{latNS|}}}|{{{latm|}}}| }}
|lat_sec={{#if:{{{lats|}}}{{{latNS|}}}|{{{lats|}}}| }}
|lat_dir={{#if:{{{latNS|}}}|{{{latNS|}}}| }}
|lon_deg={{#if:{{{longm|}}}{{{longEW|}}}|{{{longd|}}}| }}
|lon_min={{#if:{{{longm|}}}{{{longEW|}}}|{{{longm|}}}| }}
|lon_sec={{#if:{{{longs|}}}{{{longEW|}}}|{{{longs|}}}| }}
|lon_dir={{#if:{{{longEW|}}}|{{{longEW|}}}| }}
|mark = {{#if: {{{pushpin_mark|}}} | {{{pushpin_mark}}} | Red_pog.svg }}
|mark = {{#if: {{{pushpin_mark|}}} | {{{pushpin_mark}}} | Red_pog.svg }}
|marksize = {{#if: {{{pushpin_marksize|}}} | {{{pushpin_marksize}}} | 10 }}
|marksize = {{#if: {{{pushpin_marksize|}}} | {{{pushpin_marksize}}} | 10 }}
|float = center
|float = center
|caption =
|caption = {{{pushpin_map_caption|}}}
|border = none
|border = infobox
|position = {{{pushpin_label_position|}}}
|position = {{{pushpin_label_position|}}}
|width = {{#if:{{{pushpin_mapsize|{{{map_size|}}}}}}|{{{pushpin_mapsize|{{{map_size|}}}}}} | 250 }}
|width = {{#if:{{{pushpin_mapsize|{{{map_size|}}}}}}|{{{pushpin_mapsize|{{{map_size|}}}}}} | 250 }}
Line 56: Line 46:
|AlternativeMap = {{{pushpin_image|}}}
|AlternativeMap = {{{pushpin_image|}}}
}}}}
}}}}
| caption4 = {{{pushpin_map_caption|}}}


| labelstyle = padding-right:1em
| labelstyle = padding-right:1em
Line 62: Line 51:


| label1 = Coordinates
| label1 = Coordinates
| data1 = {{#if:{{{coordinates|}}}
| data1 = {{#if:{{{coordinates|}}}|{{{coordinates}}} {{{coordinates_footnotes|{{{coord_footnotes|}}}}}} }}
|{{{coordinates}}}
|{{#if:{{both|{{{latd|{{{latitude|}}}}}}|{{{longd|{{{longitude|}}}}}}}}
|[[Category:Pages using deprecated coordinates format|military installation]]{{Geobox coor|{{{latd|{{{latitude|}}}}}}|{{{latm|}}}|{{{lats|}}}|{{{latNS|}}}|{{{longd|{{{longitude|}}}}}}|{{{longm|}}}|{{{longs|}}}|{{{longEW|}}}|{{#if:{{{coordinates_type|{{{coord_type|}}}}}}|type:{{{coordinates_type|{{{coord_type}}}}}}|type:landmark}}{{#if:{{{coordinates_region|{{{coord_region|}}}}}}|_region:{{{coordinates_region|{{{coord_region}}}}}}}}|{{#ifeq:{{{coordinates_display|}}}|inline|μ1|{{#if:{{{coordinates_display|{{{coord_display|}}}}}}|title|μ1}}}}={{{coordinates_display|{{{coord_display|}}}}}}|{{#if:{{{coordinates_format|{{{coord_format|}}}}}}|format|μ2}}={{{coordinates_format|{{{coord_format|}}}}}}}}
}}
}}{{{coordinates_footnotes|{{{coord_footnotes|}}}}}}


| label2 = [[Grid reference]]
| label2 = {{W|Grid reference}}
| data2 = {{{gridref|}}}
| data2 = {{{gridref|}}}


Line 161: Line 145:
| header33 = {{#if:{{{subcritical_tests|}}}{{{nuclear_tests|}}}{{{thermonuclear_tests|}}}{{{other_tests|}}}{{{remediation|}}} | Test information }}
| header33 = {{#if:{{{subcritical_tests|}}}{{{nuclear_tests|}}}{{{thermonuclear_tests|}}}{{{other_tests|}}}{{{remediation|}}} | Test information }}


| label34 = [[Subcritical]] tests
| label34 = {{W|Subcritical}} tests
| data34 = {{{subcritical_tests|}}}
| data34 = {{{subcritical_tests|}}}
| label35 = [[Nuclear fission|Nuclear]] tests
| label35 = {{W|Nuclear fission|Nuclear}} tests
| data35 = {{{nuclear_tests|}}}
| data35 = {{{nuclear_tests|}}}


| label36 = [[Nuclear fusion|Thermonuclear]] tests
| label36 = {{W|Nuclear fusion|Thermonuclear}} tests
| data36 = {{{thermonuclear_tests|}}}
| data36 = {{{thermonuclear_tests|}}}


Line 173: Line 157:
| data37 = {{{other_tests|}}}
| data37 = {{{other_tests|}}}


| label38 = [[Environmental remediation|Remediation]]
| label38 = {{W|Environmental remediation|Remediation}}
| data38 = {{{remediation|}}}
| data38 = {{{remediation|}}}


Line 188: Line 172:
| label41 = Identifiers
| label41 = Identifiers
| data41 = {{comma separated entries
| data41 = {{comma separated entries
|1= {{#if:{{{IATA|}}} | [[International Air Transport Association airport code|IATA]]: {{{IATA|}}}}}
|1= {{#if:{{{IATA|}}} | {{W|International Air Transport Association airport code|IATA}}: {{{IATA|}}}}}
|2= {{#if:{{{ICAO|}}} | [[International Civil Aviation Organization airport code|ICAO]]: {{{ICAO}}}}}
|2= {{#if:{{{ICAO|}}} | {{W|International Civil Aviation Organization airport code|ICAO}}: {{{ICAO}}}}}
|3= {{#if:{{{FAA|}}} |[[Location identifier#FAA identifier|FAA LID]]: {{{FAA}}}}}
|3= {{#if:{{{FAA|}}} | {{W|Location identifier#FAA identifier|FAA LID}}: {{{FAA}}}}}
|4= {{#if:{{{TC|}}} | [[Location identifier#Transport Canada identifier|TC LID]]: {{{TC}}}}}
|4= {{#if:{{{TC|}}} | {{W|Location identifier#Transport Canada identifier|TC LID}}: {{{TC}}}}}
|5= {{#if:{{{LID|}}}| [[Location identifier|LID]]: {{{LID}}}}}
|5= {{#if:{{{LID|}}}| {{W|Location identifier|LID}}: {{{LID}}}}}
|6= {{#if:{{{GPS|}}}| [[Global Positioning System|GPS]]: {{{GPS}}}}}
|6= {{#if:{{{GPS|}}}| {{W|Global Positioning System|GPS}}: {{{GPS}}}}}
|7= {{#if:{{{WMO|}}}| [[Location identifier#WMO station identifiers|WMO]]: {{{WMO}}}}}
|7= {{#if:{{{WMO|}}}| {{W|Location identifier#WMO station identifiers|WMO}}: {{{WMO}}}}}
}}
}}


| label42 = Elevation
| label42 = Elevation
| data42 = {{#if:{{{elevation|}}} |{{{elevation}}} [[Above mean sea level|AMSL]] }}
| data42 = {{#if:{{{elevation|}}} |{{{elevation}}} {{W|Above mean sea level|AMSL}} }}


| data43 = {{#if: {{{r1-number|}}} {{{r1-length|}}} {{{r1-surface|}}}|
| data43 = {{#if: {{{r1-number|}}} {{{r1-length|}}} {{{r1-surface|}}}|
Line 205: Line 189:
<th colspan=2 style="font-weight:normal; border:solid 1px #fafafa; border-width:0 0 1px 0;">Runways</th>
<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;">
</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: 25%; border:solid 1px #fafafa; border-width:1px 1px 0 0;padding:1px 2px;">{{W|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>
<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>
</tr><tr>
Line 295: Line 279:
}}{{#ifeq:{{#invoke:string|replace|{{{name|{{PAGENAME}}}}}|.*
}}{{#ifeq:{{#invoke:string|replace|{{{name|{{PAGENAME}}}}}|.*
.*|CHECK|plain=false}}|CHECK|[[Category:Pages using infobox military installation with unknown parameters|Ε]]
.*|CHECK|plain=false}}|CHECK|[[Category:Pages using infobox military installation with unknown parameters|Ε]]
}}<noinclude>
}}{{#if:{{{latd|}}}{{{latm|}}}{{{lats|}}}{{{latNS|}}}{{{latitude|}}}{{{longd|}}}{{{longm|}}}{{{longs|}}}{{{longEW|}}}{{{longitude|}}}{{{coord_type|}}}{{{coordinates_type|}}}{{{coord_region|}}}{{{coordinates_region|}}}{{{coord_format|}}}{{{coordinates_format|}}}{{{coord_display|}}}{{{coordinates_display|}}}|[[Category:Pages using deprecated coordinates format|military installation]] }}<noinclude>
{{Documentation}}
{{Documentation}}
<!-- Please add categories to the /doc subpage, not here. -->
<!-- Please add categories to the /doc subpage, not here. -->

Latest revision as of 07:30, 14 May 2022

Owner Template:Ifempty
Controlled by Template:Ifempty
Status Template:Ifempty
In use Template:Ifempty
Current
commander
Template:Ifempty
Past
commanders
Template:Ifempty