Jump to content

Template:Infobox Airport: Difference between revisions

From IdeaWazaWiki
wikademia>Zyxw
restore some CSS moved or removed in prior edit (including background for runway headings), restore notice for /sandbox page, avoid redirect by replacing {{template doc}} with {{Documentation}}.
wikademia>Zyxw
removed " line-height:150% " from title area (another remnant from when infobox used bordered mode and smaller font)
 
(17 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<noinclude>{{Template sandbox notice}}
<noinclude>{{Template sandbox notice}}
</noinclude>{| class="infobox bordered vcard" style="width:220px; font-size:80%; line-height:160%;"
<!-- Please do not remove this section: it only displays when viewed from template sandbox and leaving it in allows template code to be copied to and from sandbox.-->
</noinclude>{| class="infobox vcard" style="width:{{{box-width|220px}}}; font-size:88%;"


! colspan="4" style="background:#4682B4; color:white; line-height:180%;" | <span class="fn" style="font-size:120%;">{{{name}}}</span>{{
! colspan="4" style="background:#6699CC; color:white;" | <span class="fn" style="font-size:115%;">{{{name}}}</span>{{
#if: {{{nativename<includeonly>|</includeonly>}}}
#if: {{{nativename<includeonly>|</includeonly>}}}
|<br/>{{{nativename}}}
|<br/>{{{nativename}}}
}}{{
}}{{
#if: {{{nativename-a<includeonly>|</includeonly>}}}
#if: {{{nativename-a<includeonly>|</includeonly>}}}
|<br/><span style="font-size:120%;">{{{nativename-a}}}</span>
|<br/><span style="font-size:115%;">{{{nativename-a}}}</span>
}}{{
}}{{
#if: {{{nativename-r<includeonly>|</includeonly>}}}
#if: {{{nativename-r<includeonly>|</includeonly>}}}
Line 26: Line 27:
! colspan="4" style="white-space:nowrap;" | [[International Air Transport Association airport code|IATA]]: {{#if:{{{IATA<includeonly>|</includeonly>}}}|{{{IATA}}}|''none''}} &ndash; [[International Civil Aviation Organization airport code|ICAO]]: {{#if:{{{ICAO<includeonly>|</includeonly>}}}|{{{ICAO}}}|''none''}} {{#if:{{{FAA|}}}| &ndash; [[Location identifier|FAA]]: {{{FAA}}}|}} {{#if:{{{LID|}}}| &ndash; [[Location identifier|LID]]: {{{LID}}}|}}
! colspan="4" style="white-space:nowrap;" | [[International Air Transport Association airport code|IATA]]: {{#if:{{{IATA<includeonly>|</includeonly>}}}|{{{IATA}}}|''none''}} &ndash; [[International Civil Aviation Organization airport code|ICAO]]: {{#if:{{{ICAO<includeonly>|</includeonly>}}}|{{{ICAO}}}|''none''}} {{#if:{{{FAA|}}}| &ndash; [[Location identifier|FAA]]: {{{FAA}}}|}} {{#if:{{{LID|}}}| &ndash; [[Location identifier|LID]]: {{{LID}}}|}}


|- style="background:#4682B4; color:white; font-size:120%;"
|- style="background:#6699CC; color:white; font-size:115%;"
! colspan="4" | Summary
! colspan="4" | Summary


Line 92: Line 93:
!    colspan="2" {{!}} Elevation&nbsp;[[Above mean sea level|AMSL]]
!    colspan="2" {{!}} Elevation&nbsp;[[Above mean sea level|AMSL]]
{{!}} colspan="2" {{!}} {{#if:{{{metric-elev|}}}
{{!}} colspan="2" {{!}} {{#if:{{{metric-elev|}}}
| {{{elevation-m}}} [[metre|m]] / {{{elevation-f}}} [[foot (unit of length)|ft]]
| {{{elevation-m}}} [[metre|m]] / {{{elevation-f}}} [[Foot (length)|ft]]
| {{{elevation-f}}} [[foot (unit of length)|ft]] / {{{elevation-m}}} [[metre|m]] }}
| {{{elevation-f}}} [[Foot (length)|ft]] / {{{elevation-m}}} [[metre|m]] }}
}}
}}


Line 108: Line 109:
}}
}}


|- style="background:#4682B4; color:white; font-size:120%;"
|- style="background:#6699CC; color:white; font-size:115%;"
{{#if: {{{r1-number<includeonly>|</includeonly>}}} {{{r1-length-f|}}} {{{r1-length-m|}}} {{{r1-surface|}}} |
{{#if: {{{r1-number<includeonly>|</includeonly>}}} {{{r1-length-f|}}} {{{r1-length-m|}}} {{{r1-surface|}}} |
! colspan="4" {{!}} Runways
! colspan="4" {{!}} [[Runway]]s
{{!}}- style="background:#DDDDDD;"
{{!}}- style="background:#DDDDDD;"
! rowspan="2" style="width:20%" {{!}} [[Runway#Orientation and dimensions|Direction]]
! rowspan="2" style="width:20%" {{!}} [[Runway#Orientation and dimensions|Direction]]
Line 116: Line 117:
! rowspan="2" style="width:40%" {{!}} Surface
! rowspan="2" style="width:40%" {{!}} Surface
{{!}}- style="background:#DDDDDD;"
{{!}}- style="background:#DDDDDD;"
! style="width:20%" {{!}} {{#if:{{{metric-rwy|}}}|[[metre|m]]|[[foot (unit of length)|ft]]}}
! style="width:20%" {{!}} {{#if:{{{metric-rwy|}}}|[[metre|m]]|[[Foot (length)|ft]]}}
! style="width:20%" {{!}} {{#if:{{{metric-rwy|}}}|[[foot (unit of length)|ft]]|[[metre|m]]}}
! style="width:20%" {{!}} {{#if:{{{metric-rwy|}}}|[[Foot (length)|ft]]|[[metre|m]]}}
{{!}}- style="text-align:center;"
{{!}}- style="text-align:center;"
{{!}} {{{r1-number<includeonly>|</includeonly>}}}
{{!}} {{{r1-number<includeonly>|</includeonly>}}}
Line 181: Line 182:
}}
}}


|- style="background:#4682B4; color:white; font-size:120%;"
|- style="background:#6699CC; color:white; font-size:115%;"
{{#if: {{{h1-number<includeonly>|</includeonly>}}} {{{h1-length-f|}}} {{{h1-length-m|}}} {{{h1-surface|}}} |
{{#if: {{{h1-number<includeonly>|</includeonly>}}} {{{h1-length-f|}}} {{{h1-length-m|}}} {{{h1-surface|}}} |
! colspan="4" {{!}} Helipads
! colspan="4" {{!}} [[Helipad]]s
{{!}}- style="background:#DDDDDD;"
{{!}}- style="background:#DDDDDD;"
! rowspan="2" style="width:15%" {{!}} Number
! rowspan="2" style="width:15%" {{!}} Number
Line 189: Line 190:
! rowspan="2" style="width:35%" {{!}} Surface
! rowspan="2" style="width:35%" {{!}} Surface
{{!}}- style="background:#DDDDDD;"
{{!}}- style="background:#DDDDDD;"
! style="width:20%" {{!}} {{#if:{{{metric-rwy|}}}|[[metre|m]]|[[foot (unit of length)|ft]]}}
! style="width:20%" {{!}} {{#if:{{{metric-rwy|}}}|[[metre|m]]|[[Foot (length)|ft]]}}
! style="width:20%" {{!}} {{#if:{{{metric-rwy|}}}|[[foot (unit of length)|ft]]|[[metre|m]]}}
! style="width:20%" {{!}} {{#if:{{{metric-rwy|}}}|[[Foot (length)|ft]]|[[metre|m]]}}
{{!}}- style="text-align:center;"
{{!}}- style="text-align:center;"
{{!}} {{{h1-number<includeonly>|</includeonly>}}}
{{!}} {{{h1-number<includeonly>|</includeonly>}}}
Line 286: Line 287:
}}
}}


|- style="background:#4682B4; color:white; font-size:120%;"
|- style="background:#6699CC; color:white; font-size:115%;"
{{#if: {{{stat1-header<includeonly>|</includeonly>}}} {{{stat1-data|}}} |
{{#if: {{{stat1-header<includeonly>|</includeonly>}}} {{{stat1-data|}}} |
! colspan="4" {{!}} Statistics {{#if:{{{stat-year<includeonly>|</includeonly>}}}|({{{stat-year}}})}}
! colspan="4" {{!}} Statistics {{#if:{{{stat-year<includeonly>|</includeonly>}}}|({{{stat-year}}})}}
Line 317: Line 318:
|-
|-
{{#if: {{{footnotes<includeonly>|</includeonly>}}} |
{{#if: {{{footnotes<includeonly>|</includeonly>}}} |
{{!}} colspan="4" style="vertical-align:bottom; text-align:left; background:#EEEEEE;" {{!}} {{{footnotes}}}
{{!}} colspan="4" style="vertical-align:bottom; text-align:left; background:#EEEEEE; font-size:90%;" {{!}} {{{footnotes}}}
}}
}}



Latest revision as of 15:59, 21 May 2008

Template:Template sandbox notice

{{{name}}}
{{{nativename}}}
{{{nativename-a}}}
{{{nativename-r}}}

[[Image:{{{image}}}|200px]]
{{{caption}}}

IATA: {{{IATA}}} – ICAO: {{{ICAO}}}
Summary
Airport type {{{type}}}
Owner {{{owner}}}
Operator {{{operator}}}
Serves {{{city-served}}}
Location {{{location}}}
Elevation AMSL {{{elevation-f}}} ft / {{{elevation-m}}} m
Coordinates {{{coordinates}}}
Website {{{website}}}
Runways
Direction Length Surface
ft m
{{{r1-number}}} {{{r1-length-f}}} {{{r1-length-m}}} {{{r1-surface}}}
{{{r2-number}}} {{{r2-length-f}}} {{{r2-length-m}}} {{{r2-surface}}}
Helipads
Number Length Surface
ft m
{{{h1-number}}} {{{h1-length-f}}} {{{h1-length-m}}} {{{h1-surface}}}
{{{h2-number}}} {{{h2-length-f}}} {{{h2-length-m}}} {{{h2-surface}}}
Statistics ({{{stat-year}}})
{{{stat1-header}}} {{{stat1-data}}}
{{{stat2-header}}} {{{stat2-data}}}
{{{footnotes}}}
[create] Template documentation