Template:Airport destination list/doc
This is a documentation subpage for Template:Airport destination list. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 4,900 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
This template provides a table format for listing airlines and their destinations in airport articles. This provides a uniform display across all articles.
Usage
[kulemba source]Parameters are specified in pairs. The first (third, fifth, …) parameter specifies the airline and the second (fourth, sixth, …) parameter specifies the corresponding destination(s). Up to 100 airlines can be specified.
You can also provide an optional third or fourth column, the title of which is specified by |3rdcoltitle=
and |4thcoltitle=
. In the case of three columns, the first (fourth, seventh, …) parameter specifies the airline, the second (fifth, eighth, …) parameter specifies the corresponding destination(s), and the third (sixth, ninth,…) parameter specifies the third column, (similarly in position with the presence of a fourth column).
|3rdcolunsortable=
and |4thcolunsortable=
will make the third and fourth columns unsortable.
Notes when listing destinations
[kulemba source]- For destination ending add a notice in the following format after the destination (ends month dd, year)
- For destination starting add a notice in the following format after the destination (begins month dd, year)
- For destination resuming add a notice in the following format after the destination (resumes month dd, year)
- For seasonal destinations put under new line titled Seasonal:
- For charter destinations put under new line titled Charter:
- For seasonal charter destinations put under new line titled Seasonal Charter:
- Citations should be provided when destination begin or end dates are listed.
Read more guidelines in Wikipedia:WikiProject Airports/page content.
- Do not list concourse and terminal information in the third or fourth column of the table.
Examples
[kulemba source]Two columns
[kulemba source]{{Airport destination list | [[Oceanic Airlines]] | [[Athens International Airport|Athens]], [[Los Angeles International Airport|Los Angeles]], [[Sydney Airport|Sydney]], [[Dulles International Airport|Washington–Dulles]] | [[Puño Airlines]] | [[Miami International Airport|Miami]]<br>{{em|Seasonal:}} [[Grand Bahama International Airport|Freeport]] }}
- Result
Airlines | Destinations |
---|---|
Oceanic Airlines | Athens, Los Angeles, Sydney, Washington–Dulles |
Puño Airlines | Miami Seasonal: Freeport |
Additional columns
[kulemba source]The template supports two additional columns. Please note, do not list concourse and terminal information in these columns.
{{Airport destination list |3rdcoltitle={{Abbr|Refs.|References}}|3rdcolunsortable=yes | [[Oceanic Airlines]] | [[Athens International Airport|Athens]], [[Los Angeles International Airport|Los Angeles]], [[Sydney Airport|Sydney]], [[Dulles International Airport|Washington–Dulles]] | | [[Puño Airlines]] | [[Miami International Airport|Miami]]<br>{{em|Seasonal:}} [[Grand Bahama International Airport|Freeport]] | }}
Result:
Airlines | Destinations | Refs. |
---|---|---|
Oceanic Airlines | Athens, Los Angeles, Sydney, Washington–Dulles | |
Puño Airlines | Miami Seasonal: Freeport |
Example with four columns:
{{Airport destination list |3rdcoltitle={{Abbr|Refs.|References}}|3rdcolunsortable=yes |4thcoltitle=Notes|4thcolunsortable=yes | [[Oceanic Airlines]] | [[Athens International Airport|Athens]], [[Los Angeles International Airport|Los Angeles]], [[Sydney Airport|Sydney]], [[Dulles International Airport|Washington–Dulles]] | | | [[Puño Airlines]] | [[Miami International Airport|Miami]]<br>{{em|Seasonal:}} [[Grand Bahama International Airport|Freeport]] | | }}
Result:
Airlines | Destinations | Refs. | Notes |
---|---|---|---|
Oceanic Airlines | Athens, Los Angeles, Sydney, Washington–Dulles | ||
Puño Airlines | Miami Seasonal: Freeport |
See also
[kulemba source]- {{aligned table}}
Table for an airport article that contains airlines that serve the airport and the airports they operate flights to.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Airline 1 | 1 | no description | Unknown | optional |
Destinations 1 | 2 | no description | Unknown | optional |