Template:Avinor link/doc
Appearance
This is a documentation subpage for Template:Avinor link. It may contain 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.
Usage
[edit]Short form
[edit]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
[edit]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
[edit]- {{AIP NO}} – generates an external link to the Aeronautical Information Publication (AIP) for a specific airport in Norway.