Jump to content

Template:Infobox airline: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Fix text alignment, rm notestyle
migrate to templatestyles, dark mode support
 
(25 intermediate revisions by 11 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 = <includeonly>{{{airline|{{PAGENAMEBASE}}}}}</includeonly>
| title = {{{airline|{{PAGENAMEBASE}}}}}
| titleclass = fn org
| titleclass = fn org


| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|{{{image|}}} }}}|size={{{image_size|{{{logo_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={{{image|}}}|size={{{image_size|}}}|upright={{{image_upright|}}}|alt={{{alt|}}}}}
| headerstyle = background-color: lightgrey;
| caption2 = {{{caption|}}}


| headerstyle = background-color: var( --background-color-interactive-subtle--active, #dadde3 );
| data1 = {{#if:{{{IATA|}}}{{{ICAO|}}}{{{callsign|}}}|

{{{!}} style="border-collapse: collapse; width: 100%; background-color: lightgrey; font-weight: bold; line-height: 1;"
| data1 = {{#if:{{{IATA|}}}{{{ICAO|}}}{{{CDD|}}}{{{callsign|}}}|
{{{!}} class=infobox-airline-codes
{{!}}-
{{!}}-
! 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 30: Line 35:


| label7 = Ceased operations
| label7 = Ceased operations
| data7 = {{{ceased|}}}
| data7 = {{if empty|{{{ceased|}}}|{{{defunct|}}}}}


| label8 = [[Air operator's certificate|AOC&nbsp;#]]
| label8 = [[Air operator's certificate|AOC&nbsp;#]]
Line 41: 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|}}}


| label13 = [[Frequent-flyer program]]
| label13 = [[Frequent-flyer program]]
| data13 = {{{frequent_flyer|}}}
| data13 = {{{frequent_flyer|}}}

| label14 = [[Airport lounge]]
| data14 = {{{lounge|}}}


| label15 = [[Airline alliance|Alliance]]
| label15 = [[Airline alliance|Alliance]]
Line 65: Line 67:
| data18 = {{{destinations|}}}
| data18 = {{{destinations|}}}


| label20 = [[Holding company#Parent company|Parent company]]
| label19 = Company slogan
| data19 = {{{company_slogan|}}}

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


| label21 = Headquarters
| label21 = [[Ticker symbol|Traded&nbsp;as]]
| data21 = {{{traded_as|}}}
| class21 = label

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

| label23 = Headquarters
| class23 = label
| data23 = {{{headquarters|}}}

| label24 = Key people
| data24 = {{{key_people|}}}


| label25 = {{#if:{{{founders|}}}|Founders|Founder}}
| label22 = Key people
| data22 = {{{key_people|}}}
| data25 = {{{founders| {{{founder|}}} }}}


| label23 = [[Revenue]]
| label26 = [[Revenue]]
| data23 = {{{revenue|}}}
| data26 = {{{revenue|}}}


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


| label25 = [[Net income]]
| label28 = [[Net income]]
| data25 = {{{net_income|}}}
| data28 = {{{net_income|}}}


| label26 = [[Net income|Profit]]
| label29 = [[Net income|Profit]]
| data26 = {{{profit|}}}
| data29 = {{{profit|}}}


| label27 = [[Asset|Total assets]]
| label30 = [[Asset|Total assets]]
| data27 = {{{assets|}}}
| data30 = {{{assets|}}}


| label28 = [[Equity (finance)|Total equity]]
| label31 = [[Equity (finance)|Total equity]]
| data28 = {{{equity|}}}
| data31 = {{{equity|}}}


| label29 = Employees
| label32 = Employees
| data29 = {{{num_employees|}}}
| data32 = {{{num_employees|}}}


| label30 = Website
| label33 = Website
| data30 = {{{website|}}}
| data33 = {{{website|}}}


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


}}{{#invoke:Check for clobbered parameters|check
| template = Infobox airline
| cat = {{main other|Category:Pages using infobox airline with conflicting parameters}}
| 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 | 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}}</noinclude>
<!--Please add this template's categories to the /doc subpage, not here - thanks!-->
</noinclude>

Latest revision as of 15:05, 16 November 2024

Infobox airline