قالب:Infobox airline

من ويكيبيديا، الموسوعه الحره
روح على: استكشاف، تدوير
{{{airline}}}
[[Image:{{{image}}} |250px|alt={{{alt}}}]]
IATA
{{{IATA}}}
ICAO
{{{ICAO}}}
Callsign
{{{callsign}}}
التاسيس {{{founded}}}
بداية الشغل {{{commenced}}}
بطلت {{{ceased}}}
AOC # {{{aoc}}}
المطارات {{{bases}}}
مركز طيران {{{hubs}}}
مركز طيران ثانوى {{{secondary_hubs}}}
مدن مستهدفه {{{focus_cities}}}
Frequent-flyer program {{{frequent_flyer}}}
Member lounge {{{lounge}}}
التحالف {{{alliance}}}
Subsidiaries {{{subsidiaries}}}
Fleet size {{{fleet_size}}}
Destinations {{{destinations}}}
Company slogan {{{company_slogan}}}
Parent company {{{parent}}}
Headquarters {{{headquarters}}}
Key people {{{key_people}}}
Revenue {{{revenue}}}
Operating income {{{operating_income}}}
Net income {{{net_income}}}
Profit {{{profit}}}
Total assets {{{assets}}}
Total equity {{{equity}}}
Website {{{website}}}
Template documentation[view] [edit] [history] [purge]
Comment This template contains one or more optional parameters: see the talk page for details.

This template employs some extremely complicated and esoteric features of template syntax. Please do not attempt to alter it unless you are certain that you understand the setup and are prepared to repair any consequent collateral damage if the results are unexpected. Any experiments should be conducted in the template sandbox or your user space.

{{Infobox airline}} is used to summarize an airline's key points.

Usage[تعديل]

Air Canada
Twin-engine passenger jet on the ground. It is white with "AIR CANADA" in red on its side.
IATA
AC
ICAO
ACA
Callsign
AIR CANADA
التاسيس 1937 (1937)
مركز طيران
مدن مستهدفه
Frequent-flyer program Aeroplan
Member lounge Maple Leaf Lounge
التحالف Star Alliance
Fleet size 335 (+63 orders)
Destinations 240
Parent company ACE Aviation Holdings Inc.
Headquarters Montreal, Quebec
Key people
Website aircanada.com

The parameters displayed in the infobox to the right are required. All others are optional, though some have guidelines you should follow to achieve the best, most consistent appearance.

{{Infobox airline
| airline          = 
| image            = 
| image_size       = 
| alt              = 
| IATA             = 
| ICAO             = 
| callsign         = 
| founded          = <!-- {{Start date|YYYY}} -->
| commenced        = 
| ceased           = 
| aoc              = 
| bases            = 
| hubs             = 
| secondary_hubs   = 
| focus_cities     = 
| frequent_flyer   = 
| lounge           = 
| alliance         = 
| subsidiaries     = 
| fleet_size       = 
| destinations     = 
| company_slogan   = 
| parent           = 
| headquarters     = 
| key_people       = 
| revenue          = 
| operating_income = 
| net_income       = 
| assets           = 
| equity           = 
| website          = <!-- {{URL|example.com}} -->
}}


Example[تعديل]

The following is the code for the above example (using a different image than the actual Air Canada article, since that fair use logo can only be used in the airline article).

{{Infobox airline
| airline        = Air Canada
| image          = Air Canada 777.jpg
| image_size     = 250
| alt            = Twin-engine passenger jet on the ground. It is white with "AIR CANADA" in red on its side.
| IATA           = AC
| ICAO           = ACA
| callsign       = AIR CANADA
| founded        = {{Start date|1937}}
| hubs           = {{Unbulleted list| [[Calgary International Airport]] | [[Montréal-Pierre Elliott Trudeau International Airport]] | [[Toronto Pearson International Airport]] | [[Vancouver International Airport]] }}
| focus_cities   = {{Unbulleted list| [[Halifax Stanfield International Airport]] | [[Ottawa Macdonald-Cartier International Airport|Ottawa International Airport]] }}
| frequent_flyer = [[Aeroplan]]
| lounge         = [[Air Canada#Maple Leaf Lounge|Maple Leaf Lounge]]
| alliance       = [[Star Alliance]]
| fleet_size     = 335 (+63 orders)
| destinations   = 240
| parent         = [[ACE Aviation Holdings|ACE Aviation Holdings Inc.]]
| headquarters   = [[Montreal]], [[Quebec]]
| key_people     = {{Unbulleted list| [[Robert Milton]] ([[Chairman]]) | [[Montie Brewer]] ([[President]] & [[Chief executive officer|CEO]]) }}
| website        = {{URL|aircanada.com}}
}}


Microformat[تعديل]

The HTML mark up produced by this template includes an hCard microformat, which makes the organisation's details parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a reader, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates[تعديل]

  • If the organisation has an "established", "founded", "opened" or similar date, use {{start date}} (unless the date is before 1583 CE).
  • If the organisation has a URL, use {{URL}}.
  • If the organisation has a "coordinates" field, use {{coord}} to include a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit.

Please do not remove instances of these sub-templates.

Classes[تعديل]

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • country-name
  • extended-address
  • fn
  • geo
  • label
  • latitude
  • locality
  • longitude
  • nickname
  • note
  • org
  • region
  • street-address
  • url
  • vcard

Please do not rename or remove these classes; nor collapse nested elements which use them.