Jump to content

Template:Infobox airline: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
update tracking
migrate to templatestyles, dark mode support
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{#invoke:infobox|infoboxTemplate
{{Infobox
| bodyclass = vcard
| bodyclass = vcard
| templatestyles = Infobox airline/styles.css
| child templatestyles = infobox/mobileviewfix.css


| title = {{{airline|{{PAGENAMEBASE}}}}}
| title = {{{airline|{{PAGENAMEBASE}}}}}
| titleclass = fn org
| titleclass = fn org


| image = {{#invoke:InfoboxImage|InfoboxImage|image={{if empty|{{{logo|}}}|{{{image|}}}}}|size={{if empty|{{{logo_size|}}}|{{{image_size|}}}}}|sizedefault=250px|alt={{{alt|}}}}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_size|}}}|image_upright={{{logo_upright|}}}|alt={{{logo_alt|}}}}}
| caption = {{{caption|}}}
| caption = {{{logo_caption|}}}


| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image2|}}}|size={{{image2-width|}}}|sizedefault=frameless|upright=1|alt={{{image2_alt|}}}}}
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|upright={{{image_upright|}}}|alt={{{alt|}}}}}
| caption2 = {{{caption2|}}}
| caption2 = {{{caption|}}}


| headerstyle = background-color: lightgrey;
| headerstyle = background-color: var( --background-color-interactive-subtle--active, #dadde3 );


| data1 = {{#if:{{{IATA|}}}{{{ICAO|}}}{{{callsign|}}}|
| data1 = {{#if:{{{IATA|}}}{{{ICAO|}}}{{{CDD|}}}{{{callsign|}}}|
{{{!}} class=infobox-airline-codes
{{{!}} style="display: table; border-collapse: collapse; width: 100%; background-color: lightgrey; font-weight: bold; line-height: 1;"
{{!}}-
{{!}}-
! scope="col" style="padding-top: 0.5em; border-right: 1px solid white; text-align: center;" {{!}} [[IATA airline designator|IATA]]
! scope="col" style="padding-top: 0.5em; border-right: 1px solid white; text-align: center;" {{!}} [[Airline codes#IATA airline designator|IATA]]
! scope="col" style="padding-top: 0.5em; border-right: 1px solid white; text-align: center;" {{!}} [[ICAO airline designator|ICAO]]
! scope="col" style="padding-top: 0.5em; border-right: 1px solid white; text-align: center;" {{!}} {{#if:{{{CDD|}}}|[[Nav Canada|{{abbr|CDD|Canadian Domestic Designators}}]]|[[Airline codes#ICAO airline designator|ICAO]]}}
! scope="col" style="padding-top: 0.5em; text-align: center;" {{!}} [[Airline call sign|Callsign]]
! scope="col" style="padding-top: 0.5em; text-align: center;" {{!}} [[Aviation call signs#Commercial airline|Call sign]]
{{!}}-
{{!}}-
{{!}} class="nickname" style="padding-bottom: 0.5em; border-right: 1px solid white; text-align: center;" {{!}} {{{IATA|}}}
{{!}} class="nickname" style="padding-bottom: 0.5em; border-right: 1px solid white; text-align: center;" {{!}} {{if empty|{{{IATA|}}}|—}}
{{!}} class="nickname" style="padding-bottom: 0.5em; border-right: 1px solid white; text-align: center;" {{!}} {{{ICAO|—}}}
{{!}} class="nickname" style="padding-bottom: 0.5em; border-right: 1px solid white; text-align: center;" {{!}} {{#if:{{{CDD|}}}|{{{CDD|}}}|{{if empty|{{{ICAO|}}}|—}}}}
{{!}} class="nickname" style="padding-bottom: 0.5em; text-align: center;" {{!}} {{{callsign|}}}
{{!}} class="nickname" style="padding-bottom: 0.5em; text-align: center;" {{!}} {{if empty|{{{callsign|}}}|—}}
{{!}}}
{{!}}}
}}
}}
Line 44: Line 46:
| data10 = {{{hubs|}}}
| data10 = {{{hubs|}}}


| label11 = [[Airline hub|Secondary hubs]]
| label11 = [[Airline hub#Primary and secondary hubs|Secondary hubs]]
| data11 = {{{secondary_hubs|}}}
| data11 = {{{secondary_hubs|}}}


| label12 = [[Focus city|Focus cities]]
| label12 = [[Airline hub#Focus city|Focus cities]]
| data12 = {{{focus_cities|}}}
| data12 = {{{focus_cities|}}}


Line 65: Line 67:
| data18 = {{{destinations|}}}
| data18 = {{{destinations|}}}


| label20 = [[Parent company]]
| label20 = [[Holding company#Parent company|Parent company]]
| data20 = {{{parent|}}}
| data20 = {{{parent|}}}


Line 72: Line 74:


| label22 = [[International Securities Identification Number|ISIN]]
| label22 = [[International Securities Identification Number|ISIN]]
| data22 = {{#if:{{{ISIN|}}} |<span class="plainlinks nourlexpansion">[{{fullurl:toollabs:isin/|language=de&isin={{urlencode:{{{ISIN}}}}}}} {{{ISIN}}}]</span>}}
| data22 = {{#if:{{{ISIN|}}} |<span class="plainlinks nourlexpansion">[https://isin.toolforge.org/?language=de&isin={{urlencode:{{{ISIN}}}}} {{{ISIN}}}]</span>}}


| label23 = Headquarters
| label23 = Headquarters
Line 81: Line 83:
| data24 = {{{key_people|}}}
| data24 = {{{key_people|}}}


| label25 = [[Revenue]]
| label25 = {{#if:{{{founders|}}}|Founders|Founder}}
| data25 = {{{revenue|}}}
| data25 = {{{founders| {{{founder|}}} }}}


| label26 = [[Earnings before interest and taxes|Operating income]]
| label26 = [[Revenue]]
| data26 = {{{operating_income|}}}
| data26 = {{{revenue|}}}


| label27 = [[Net income]]
| label27 = [[Earnings before interest and taxes|Operating income]]
| data27 = {{{net_income|}}}
| data27 = {{{operating_income|}}}


| label28 = [[Net income|Profit]]
| label28 = [[Net income]]
| data28 = {{{profit|}}}
| data28 = {{{net_income|}}}


| label29 = [[Asset|Total assets]]
| label29 = [[Net income|Profit]]
| data29 = {{{assets|}}}
| data29 = {{{profit|}}}


| label30 = [[Equity (finance)|Total equity]]
| label30 = [[Asset|Total assets]]
| data30 = {{{equity|}}}
| data30 = {{{assets|}}}


| label31 = Employees
| label31 = [[Equity (finance)|Total equity]]
| data31 = {{{num_employees|}}}
| data31 = {{{equity|}}}


| label32 = Website
| label32 = Employees
| data32 = {{{website|}}}
| data32 = {{{num_employees|}}}


| label33 = Website
| header33 = {{#if:{{{notes|}}}|Notes}}
| data34 = {{#if:{{{notes|}}}|<div style="text-align: left;">
| data33 = {{{website|}}}

| header34 = {{#if:{{{notes|}}}|Notes}}
| data35 = {{#if:{{{notes|}}}|<div style="text-align: left;">
{{{notes|}}}</div>}}
{{{notes|}}}</div>}}


Line 112: Line 117:
| template = Infobox airline
| template = Infobox airline
| cat = {{main other|Category:Pages using infobox airline with conflicting parameters}}
| cat = {{main other|Category:Pages using infobox airline with conflicting parameters}}
| logo; image
| logo_size; image_size
| ceased; defunct
| ceased; defunct
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox airline with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox airline]] with unknown parameter "_VALUE_"|ignoreblank=y| airline | alliance | alt | aoc | assets | bases | callsign | caption | caption2 | ceased | commenced | defunct | destinations | equity | fleet_size | focus_cities | founded | frequent_flyer | headquarters | hubs | IATA | ICAO | image | image_size | image2 | image2_alt | image2-width | ISIN | key_people | logo | logo_size | net_income | notes | num_employees | operating_income | parent | profit | revenue | secondary_hubs | subsidiaries | traded_as | website
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox airline with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox airline]] with unknown parameter "_VALUE_"|ignoreblank=y| airline | alliance | alt | aoc | assets | bases | callsign | caption | CDD | ceased | commenced | defunct | destinations | equity | fleet_size | focus_cities | founded | founder | founders | frequent_flyer | headquarters | hubs | IATA | ICAO | image | image_size | image_upright | ISIN | key_people | logo | logo_size | logo_upright | logo_alt | logo_caption | net_income | notes | num_employees | operating_income | parent | profit | revenue | secondary_hubs | subsidiaries | traded_as | website
}}<noinclude>
}}<noinclude>
{{documentation}}
{{documentation}}

Latest revision as of 15:05, 16 November 2024

Infobox airline