Difference between revisions of "Template:Avinor link/doc"

From blackwiki
Jump to navigation Jump to search
imported>Elegie
(Use up-to-date URLs)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 26: Line 26:
 
== See also ==
 
== See also ==
 
* {{tl|AIP NO}} – generates an external link to the [[Aeronautical Information Publication]] (AIP) for a specific airport in Norway.
 
* {{tl|AIP NO}} – generates an external link to the [[Aeronautical Information Publication]] (AIP) for a specific airport in Norway.
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- Categories and interwikis go here: -->
 
<!-- Categories and interwikis go here: -->
 
[[Category:Aviation external link templates|{{PAGENAME}}]]
 
[[Category:Aviation external link templates|{{PAGENAME}}]]
  
</includeonly>
+
}}</includeonly>

Latest revision as of 23:29, 23 April 2020

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

Short form

Parameters:

  1. (unnamed) – airport name in the Avinor URL, such as bergen for https://avinor.no/en/airport/bergen-airport/ and https://avinor.no/flyplass/bergen/
  2. (unnamed) – airport name displayed, such as Bergen; the template automatically adds "Airport"

Usage: {{Avinor link|bergen|Bergen}}

Result:

Long form

Parameters:

  1. (unnamed) – airport name in the Avinor URL, such as bergen for https://avinor.no/en/airport/bergen-airport/ and https://avinor.no/flyplass/bergen/
  2. en – airport name displayed for English-language link, such as Bergen Airport, Flesland
  3. 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:

See also