แม่แบบ:Infobox airline/doc
แม่แบบนี้มีส่วนประกอบของตัวเลือกย่อยมากกว่าหนึ่งตัวเลือก การใช้งานยังใช้ง่ายเหมือนแม่แบบทั่วไป แต่การแก้ไขแม่แบบนี้ควรทำด้วยความระมัดระวังเป็นพิเศษ เพราะมีส่วนประกอบย่อยและพารามิเตอร์ย่อยต่าง ๆ |
มีการใช้แม่แบบนี้ใน 2,500+ หน้าและการแก้ไขอาจทำให้เกิดผลกระทบหรือสังเกตเห็นได้ ควรทดสอบการเปลี่ยนแปลงในกระบะทราย หรือหน้าทดสอบ หรือในหน้าย่อยผู้ใช้ของคุณเอง อนึ่ง อภิปรายเกี่ยวกับการแก้ไขแม่แบบได้ที่หน้าอภิปรายก่อนที่จะนำไปใช้ |
{{Infobox airline}} is used to summarize an airline's key points.
Usage
[แก้]
| |||||||
ก่อตั้ง | 1937 | ||||||
---|---|---|---|---|---|---|---|
ท่าหลัก | |||||||
เมืองสำคัญ | |||||||
สะสมไมล์ | Aeroplan | ||||||
พันธมิตรการบิน | Star Alliance | ||||||
ขนาดฝูงบิน | 335 (+63 orders) | ||||||
จุดหมาย | 240 | ||||||
บริษัทแม่ | ACE Aviation Holdings Inc. | ||||||
สำนักงานใหญ่ | Montreal, Quebec | ||||||
บุคลากรหลัก | |||||||
เว็บไซต์ | 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 = | 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 = }} |
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 B777-333ER (C-FITL) landing at Montréal-Trudeau International Airport.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 = 1937 | hubs = * [[Calgary International Airport]]<br /> *[[Montreal-Pierre Elliott Trudeau International Airport]]<br />* [[Toronto Pearson International Airport]]<br /> *[[Vancouver International Airport]] | focus_cities = * [[Halifax Stanfield International Airport]]<br />* [[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 = * [[Robert Milton]] ([[Chairman]])<br />* [[Montie Brewer]] ([[President]] & [[CEO]]) | website = [http://www.aircanada.com/ aircanada.com] }}
Microformat
[แก้]The HTML mark-up produced by this template includes an hCard microformat that makes an organization's details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.
- Subtemplates
- Use {{Start date and age}} for the date on which an organisation was "established", "founded", "opened" or otherwise started, unless that date is before 1583 CE.
- Use {{URL}} for an organisation's URL.
Please do not remove instances of these subtemplates.
- Classes used
The HTML classes of this microformat include:
- adr
- agent
- category
- country-name
- extended-address
- fn
- geo
- label
- latitude
- locality
- longitude
- nickname
- note
- org
- region
- street-address
- url
- vcard
nor collapse nested elements which use them.