قالب:Infobox airline/doc
| This is a documentation subpage for قالب:Infobox airline. It contains usage information, categories, interlanguage links and other content that is not part of the original قالب page. |
| This template is used on 2500+ pages, and changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in a user subpage, and consider discussing changes at the talk page before implementing them. |
{{Infobox airline}} is used to summarize an airline's key points.
المحتويات |
[تعديل] Usage
|
||||
| التأسيس | 1937 | |||
|---|---|---|---|---|
| Hubs | ||||
| Focus cities | ||||
| Frequent-flyer program | Aeroplan | |||
| Member lounge | Maple Leaf Lounge | |||
| Alliance | 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.