الگو:Airport table row/توضیحات

از ویکی‌پدیا، دانشنامهٔ آزاد

Usage[ویرایش]

Under development - not yet ready for roll-out Discussion is here

For use on

Parameters for {{Airport table top}}[ویرایش]

city-article (optional)
The name of article listing cities in country; i.e. فهرست شهرهای الجزایر.
nocoordinates (optional)
Set to any value to exclude the coordinates column from table heading.

Parameters for {{Airport table row}}[ویرایش]

location
The major city served by the airport. Airports are often located in smaller towns outside the city served, but that information is usually placed in the airport article (and the airport infobox has fields for both). However, some airport lists do give both, usually in the format city served / location (see فهرست فرودگاه‌های فرانسه).
ICAO
The four-letter کد فرودگاهی ایکائو.
IATA
The three-letter کد فرودگاهی یاتا.
airport
The name of the airport with a link to the airport article.
coordinates (optional)
The coordinates of airport, specified via the {{coord}} template.

Example with coordinates column[ویرایش]

{{Airport table top}}

{{Airport table row
| location = Birmingham, England
| ICAO = EGBB
| IATA = BHX
| airport = [[فرودگاه بیرمنگام]]
| coordinates = {{coord|52.453889|-1.748056|type:airport_region:GB-BIR}}
}}

{{Airport table row
| location = Amsterdam
| ICAO = EHAM
| IATA = AMS
| airport = [[فرودگاه شیپخول آمستردام]]
| coordinates =  
}}

{{Airport table row
| location = Amsterdam
| ICAO = EHAM
| IATA = AMS
| airport = [[فرودگاه شیپخول آمستردام]]
| coordinates = n/a
}}

{{Airport table row
| location = Birmingham, England
| ICAO = EGBB
| IATA = BHX
| airport = [[فرودگاه بیرمنگام]]
| coordinates = {{coord|52.453889|-1.748056|type:airport_region:GB-BIR}}
}}

|}

renders as:

Location ایکائو یاتا نام فرودگاه Coordinates
Birmingham, England EGBB BHX فرودگاه بیرمنگام ۵۲°۲۷′۱۴″شمالی ۱°۴۴′۵۳″غربی / ۵۲٫۴۵۳۸۸۹°شمالی ۱٫۷۴۸۰۵۶°غربی / 52.453889; -1.748056
Amsterdam EHAM AMS فرودگاه شیپخول آمستردام  
Amsterdam EHAM AMS فرودگاه شیپخول آمستردام n/a
Birmingham, England EGBB BHX فرودگاه بیرمنگام ۵۲°۲۷′۱۴″شمالی ۱°۴۴′۵۳″غربی / ۵۲٫۴۵۳۸۸۹°شمالی ۱٫۷۴۸۰۵۶°غربی / 52.453889; -1.748056

Example without coordinates column[ویرایش]

{{Airport table top
| city-article = List of cities in Libya
| nocoordinates = yes
}}

{{Airport table row
| location = [[اجدابیا]]
| ICAO = HLAG
| IATA = 
| airport = [[Agedabia Airport]]
}}

{{Airport table row
| location = [[بیضا (لیبی)]] (Beida)
| ICAO = HLLQ
| IATA = LAQ
| airport = '''[[فرودگاه الابرق]]''' (La Braq Airport)
}}

|}

renders as:

مکان ایکائو یاتا نام فرودگاه
اجدابیا HLAG Agedabia Airport
بیضا (لیبی) (Beida) HLLQ LAQ فرودگاه الابرق (La Braq Airport)

Microformat[ویرایش]

The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location تجزیه‌کننده by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, 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 place or venue has an "established", "founded", "opened" or similar date, specific to the day, use {{Start date}} (unless the date is before 1583 CE); if it has a URL, use {{URL}}.

hCard از کلاس‌های HTML زیر استفاده می‌کند:

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

خواهشمند است این کلاس‌ها را تغییرنام ندهید یا حذف نکنید. عناصر تودرتویی که از آنها استفاده می‌کنند را نیز به حالت جمع‌شده درنیاورید.

Template family[ویرایش]