Jump to content

Template:Infobox Airport: Difference between revisions

From IdeaWazaWiki
wikademia>Qyd
m refine microformat markup (doesn't change the displayed infobox, just the hcard output)
wikademia>Kurykh
change background color to match airline infobox; darken for more contrast
Line 2: Line 2:
</noinclude>{| class="infobox bordered vcard" style="width:220px; font-size:80%; line-height:160%;"
</noinclude>{| class="infobox bordered vcard" style="width:220px; font-size:80%; line-height:160%;"


! colspan="4" style="background-color:#6699CC; color:white; line-height:180%;" | <span class="fn" style="font-size:120%;">{{{name}}}</span> <!--
! colspan="4" style="background-color:#4682B4; color:white; line-height:180%;" | <span class="fn" style="font-size:120%;">{{{name}}}</span> <!--
-->{{#if: {{{nativename<includeonly>|</includeonly>}}} | <br>{{{nativename}}} |}}<!--
-->{{#if: {{{nativename<includeonly>|</includeonly>}}} | <br>{{{nativename}}} |}}<!--
-->{{#if: {{{nativename-a<includeonly>|</includeonly>}}} | <br><span style="font-size:120%;">{{{nativename-a}}}</span> |}}<!--
-->{{#if: {{{nativename-a<includeonly>|</includeonly>}}} | <br><span style="font-size:120%;">{{{nativename-a}}}</span> |}}<!--
Line 20: Line 20:
! 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-color:#6699CC; color:white; font-size:120%;"
|- style="background-color:#4682B4; color:white; font-size:120%;"
! colspan="4" | Summary
! colspan="4" | Summary


Line 102: Line 102:
|}}
|}}


|- style="background-color:#6699CC; color:white; font-size:120%;"
|- style="background-color:#4682B4; color:white; font-size:120%;"
{{#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" {{!}} Runways
Line 175: Line 175:
|}}
|}}


|- style="background-color:#6699CC; color:white; font-size:120%;"
|- style="background-color:#4682B4; color:white; font-size:120%;"
{{#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" {{!}} Helipads
Line 280: Line 280:
|}}
|}}


|- style="background-color:#6699CC; color:white; font-size:120%;"
|- style="background-color:#4682B4; color:white; font-size:120%;"
{{#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}}}) |}}

Revision as of 19:19, 24 August 2007

Template:Esoteric

{{{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}}}

Template:Template doc