Difference between revisions of "Template:Airport disambiguation/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Fayenatic london
m (update category link after renaming)
blackwiki>TwinsMetsFan
(→‎See also: update re {{Road disambiguation}})
Line 36: Line 36:
 
* {{Tlx|Mathematical disambiguation}} for mathematics titles – [[:Category:Mathematical disambiguation]]
 
* {{Tlx|Mathematical disambiguation}} for mathematics titles – [[:Category:Mathematical disambiguation]]
 
* {{Tlx|Mountainindex}} for mountain names – [[:Category:Set indices on mountains]]
 
* {{Tlx|Mountainindex}} for mountain names – [[:Category:Set indices on mountains]]
* {{Tlx|Roadindex}} for roads, streets, or highways – [[:Category:Lists of roads sharing the same title]]
+
* {{Tlx|Road disambiguation}} for roads, streets, or highways – [[:Category:Road disambiguation pages]]
 
* {{Tlx|School disambiguation}} for educational institutions – [[:Category:Educational institution disambiguation pages]]
 
* {{Tlx|School disambiguation}} for educational institutions – [[:Category:Educational institution disambiguation pages]]
 
* {{Tlx|Shipindex}} for ship names – [[:Category:Set indices on ships]]
 
* {{Tlx|Shipindex}} for ship names – [[:Category:Set indices on ships]]

Revision as of 18:58, 27 September 2014

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