Difference between revisions of "Template:Avinor link"
Jump to navigation
Jump to search
imported>Zyxw (add option to include full English and Norwegian names, does not affect prior functionality) |
imported>Monkbot |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | *[ | + | *[https://avinor.no/en/airport/{{{1}}}-airport/ Avinor entry for {{#if:{{{en|}}}|{{{en}}}|{{{2}}} Airport}}] |
− | *[ | + | *[https://avinor.no/flyplass/{{{1}}}/ Avinor entry for {{#if:{{{no|}}}|''{{{no}}}''|{{{2}}} Airport}}] {{in lang|no}} (more detail)<noinclude> |
---- | ---- | ||
{{documentation}} | {{documentation}} | ||
<!-- Categories and interwikis can be found in the /doc subpage, don't add them here. --> | <!-- Categories and interwikis can be found in the /doc subpage, don't add them here. --> | ||
</noinclude> | </noinclude> |
Latest revision as of 23:10, 29 December 2019
- Avinor entry for {{{2}}} Airport
- Avinor entry for {{{2}}} Airport (in Norwegian) (more detail)
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.
The above documentation is transcluded from Template:Avinor link/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |