แม่แบบ:Infobox airline

จากวิกิพีเดีย สารานุกรมเสรี
{{{airline}}}
[[Image:{{{image}}} |250px|alt={{{alt}}}]]
IATA
{{{IATA}}}
ICAO
{{{ICAO}}}
Callsign
{{{callsign}}}
ก่อตั้ง {{{founded}}}
Commenced operations {{{commenced}}}
Ceased operations {{{ceased}}}
AOC # {{{aoc}}}
Bases {{{bases}}}
ท่าอากาศยานหลัก {{{hubs}}}
ท่าอากาศยานรอง {{{secondary_hubs}}}
Focus cities {{{focus_cities}}}
รายการสะสมแต้ม {{{frequent_flyer}}}
ห้องรับรอง {{{lounge}}}
พันธมิตรสายการบิน {{{alliance}}}
บริษัทสาขา {{{subsidiaries}}}
ขนาดฝูงบิน {{{fleet_size}}}
จุดหมายปลายทาง {{{destinations}}}
Company slogan {{{company_slogan}}}
บริษัทแม่ {{{parent}}}
สำนักงานใหญ่ {{{headquarters}}}
บุคคลหลัก {{{key_people}}}
Revenue {{{revenue}}}
Operating income {{{operating_income}}}
Net income {{{net_income}}}
Profit {{{profit}}}
Total assets {{{assets}}}
Total equity {{{equity}}}
เว็บไซต์ {{{website}}}
Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]

{{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
ท่าอากาศยานหลัก * Calgary International Airport
*Montreal-Pierre Elliott Trudeau International Airport
* Toronto Pearson International Airport
*Vancouver International Airport
Focus cities * Halifax Stanfield International Airport
* Ottawa International Airport
รายการสะสมแต้ม Aeroplan
ห้องรับรอง Maple Leaf Lounge
พันธมิตรสายการบิน Star Alliance
ขนาดฝูงบิน 335 (+63 orders)
จุดหมายปลายทาง 240
บริษัทแม่ ACE Aviation Holdings Inc.
สำนักงานใหญ่ Montreal, Quebec
บุคคลหลัก * Robert Milton (Chairman)
* Montie Brewer (President & CEO)
เว็บไซต์ 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 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        = 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, 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.

If the organisation has an "established", "founded", "opened" or similar date, use {{Start date}} or {{Start-date}}.

hCard uses HTML classes including:

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

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