Difference between revisions of "Template:ASN"

From blackwiki
Jump to navigation Jump to search
blackwiki>Sardanaphalus
(updating category, rm parent category)
blackwiki>Zyxw
(Add documentation file & moved category to that file for transclusion here.)
Line 1: Line 1:
 
[http://aviation-safety.net/database/airport/airport.php?id={{{1}}} Accident history for {{{2|{{{1}}}}}}] at [[Aviation Safety Network]]<noinclude>
 
[http://aviation-safety.net/database/airport/airport.php?id={{{1}}} Accident history for {{{2|{{{1}}}}}}] at [[Aviation Safety Network]]<noinclude>
 
+
{{Documentation}}
[[Category:Aviation external link templates|{{PAGENAME}}]]
+
<!--Please add categories and interwiki links to the /doc subpage.-->
 
</noinclude>
 
</noinclude>

Revision as of 06:35, 5 October 2008

Accident history for {{{1}}} at Aviation Safety Network

Template documentation[view] [edit] [history] [purge]

Template:ASN generates an external link to a page at the Aviation Safety Network website containing a list of aircraft accidents related to a particular airport. These links can be found in airport articles and are also used as a reference for the IATA airport code.

Usage

The template requires one unnamed parameter which should contain the IATA airport location identifier.

Code: {{ASN|MAD}}
Result: Accident history for MAD at Aviation Safety Network

An optional second unnamed parameter can be used to display the airport name in place of the identifier.

Code: {{ASN|MAD|Madrid-Barajas Airport}}
Result: Accident history for Madrid-Barajas Airport at Aviation Safety Network

See also

  • Template:WAD - creates external link for airport information when given ICAO identifier
  • Template:GCM - creates external link for airport information when given IATA or ICAO identifier
  • Template:ASN accident - creates external link for a specific accident description at ASN