Template:Airport disambiguation/doc

From IxWiki
Revision as of 17:27, 23 April 2020 by wp>Vanisaac (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template is designed for use on disambiguation pages which only contain links to articles for airports having the same or similar names. It displays a notice on the page and includes it in Category:Airport disambiguation (a subcategory of Category:Disambiguation pages). It is similar in function to Template:Disambiguation which is used on general purpose disambiguation pages.

Usage

Airports only

A disambiguation page which contains only airport names should only use Category:Airport disambiguation. This can be done by adding the following at bottom of page:

{{Airport disambiguation}}

Airports and other pages

A disambiguation page containing both airport names and other entries should use Category:Disambiguation pages, but it can also include Category:Airport disambiguation. This can be done by using the new category parameters of the {{Disambiguation}} template, as follows:

{{Disambiguation|airport}}

That template supports up to 10 category parameters, so an existing disambiguation template can be updated by adding |airport. For example, {{Disambiguation|callsign}} would become:

{{Disambiguation|callsign|airport}}

The methods shown above sort the page within the category using either the page name or a key specified via {{DEFAULTSORT}}. If a different sort key is needed, the airport category can be added as follows:

{{Disambiguation}}
[[Category:Airport disambiguation|''sort key goes here'']].

Examples

See also