Difference between revisions of "Template:ASN accident/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>YSSYguy
m (Typos)
blackwiki>Deeday-UK
(updated with wikibase parameter usage; interwikis removed - it's all on Wikidata now)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
  
'''Template:ASN accident''' creates an external link to an incident report in the [[Aviation Safety Network]] database.
+
'''Template:ASN accident''' creates an external link to an occurrence report in the [[Aviation Safety Network]] database.
  
 
=== Usage ===
 
=== Usage ===
Line 9: Line 9:
 
* <code>type = ''Type''</code> — incident type, as listed in ASN (optional, defaults to Accident)
 
* <code>type = ''Type''</code> — incident type, as listed in ASN (optional, defaults to Accident)
 
* <code>title = ''Title''</code> — incident title, if not evident from article title (optional)
 
* <code>title = ''Title''</code> — incident title, if not evident from article title (optional)
 +
* <code>wikibase = yes</code> — must be specified for entries in the ASN Wikibase; can be omitted for entries in the main ASN Accident Database
 
* <code>accessdate = ''yyyy-mm-dd''</code> — date retrieved, if used to reference specific facts; leave out if using the ASN entry as a general reference or external link (optional)
 
* <code>accessdate = ''yyyy-mm-dd''</code> — date retrieved, if used to reference specific facts; leave out if using the ASN entry as a general reference or external link (optional)
  
Line 14: Line 15:
 
* [[Template:ASN]] - creates an external link to the accident history of an airport at [[Aviation Safety Network|ASN]]
 
* [[Template:ASN]] - creates an external link to the accident history of an airport at [[Aviation Safety Network|ASN]]
  
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<includeonly><!-- CATEGORIES HERE, THANKS -->
 
[[Category:Aviation external link templates|{{PAGENAME}}]]
 
[[Category:Aviation external link templates|{{PAGENAME}}]]
 
[[ja:Template:ASN accident]]
 
[[pt:Predefinição:ASN1]]
 
[[ru:Шаблон:ASN accident]]
 
 
</includeonly>
 
</includeonly>

Revision as of 16:04, 3 May 2019

Template:ASN accident creates an external link to an occurrence report in the Aviation Safety Network database.

Usage

Parameters:

  • id = yyyymmdd-n — ASN database id (required)
  • type = Type — incident type, as listed in ASN (optional, defaults to Accident)
  • title = Title — incident title, if not evident from article title (optional)
  • wikibase = yes — must be specified for entries in the ASN Wikibase; can be omitted for entries in the main ASN Accident Database
  • accessdate = yyyy-mm-dd — date retrieved, if used to reference specific facts; leave out if using the ASN entry as a general reference or external link (optional)

See also

  • Template:ASN - creates an external link to the accident history of an airport at ASN