Template:Avinor link/doc
< Template:Avinor link
Jump to navigation
Jump to search
Revision as of 23:29, 23 April 2020 by imported>Vanisaac (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
![]() | This is a documentation subpage for Template:Avinor link. It contains usage information, categories and other content that is not part of the original template page. |
This template is used to generate an external links to the Avinor page for airports in Norway. It generates links to both the English language and Norwegian language pages. The use of a template allows these links to be updated in one place if the URL changes.
Contents
Usage
Short form
Parameters:
- (unnamed) – airport name in the Avinor URL, such as
bergen
forhttps://avinor.no/en/airport/bergen-airport/
andhttps://avinor.no/flyplass/bergen/
- (unnamed) – airport name displayed, such as
Bergen
; the template automatically adds "Airport"
Usage: {{Avinor link|bergen|Bergen}}
Result:
- Avinor entry for Bergen Airport
- Avinor entry for Bergen Airport (in Norwegian) (more detail)
Long form
Parameters:
- (unnamed) – airport name in the Avinor URL, such as
bergen
forhttps://avinor.no/en/airport/bergen-airport/
andhttps://avinor.no/flyplass/bergen/
- en – airport name displayed for English-language link, such as
Bergen Airport, Flesland
- no – airport name displayed for Norwegian-language link, such as
Bergen lufthavn, Flesland
Usage: {{Avinor link|bergen|en=Bergen Airport, Flesland|no=Bergen lufthavn, Flesland}}
Result:
- Avinor entry for Bergen Airport, Flesland
- Avinor entry for Bergen lufthavn, Flesland (in Norwegian) (more detail)
See also
- {{AIP NO}} – generates an external link to the Aeronautical Information Publication (AIP) for a specific airport in Norway.