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

From blackwiki
Jump to navigation Jump to search
(+ja)
m (10 revisions imported)
 
(7 intermediate revisions by 5 users not shown)
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 lnik to an incident reports in the [[Aviation Safety Network]] database.
+
'''Template:ASN accident''' creates an external link to an occurrence report in the [[Aviation Safety Network]] database.
 +
 
 +
=== Overview ===
 +
This template contains five parameters: ''id'', ''type'', ''title'', ''wikibase'', and ''accessdate'', in the following format:
 +
::<code><nowiki>{{ASN accident |id= |type= |title= |wikibase= |accessdate= }}</nowiki></code><br/>
  
 
=== Usage ===
 
=== Usage ===
Line 9: Line 13:
 
* <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)
 +
 +
For example:
 +
 +
{{code|<nowiki>{{ASN accident |id=220473 |type=Incident |title=ET-ATV |wikibase=yes}}</nowiki>}}
 +
 +
renders as:
 +
 +
{{ASN accident |id=220473 |type=Incident |title=ET-ATV |wikibase=yes}}
  
 
==See also==
 
==See also==
 
* [[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>{{Sandbox other||<!-- CATEGORIES HERE, THANKS -->
 
[[Category:Aviation external link templates|{{PAGENAME}}]]
 
[[Category:Aviation external link templates|{{PAGENAME}}]]
 
+
}}</includeonly>
[[ja:Template:ASN accident]]
 
[[pt:Predefinição:ASN1]]
 
</includeonly>
 

Latest revision as of 13:35, 16 October 2020

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

Overview

This template contains five parameters: id, type, title, wikibase, and accessdate, in the following format:

{{ASN accident |id= |type= |title= |wikibase= |accessdate= }}

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)

For example:

{{ASN accident |id=220473 |type=Incident |title=ET-ATV |wikibase=yes}}

renders as:

Incident description for ET-ATV at the Aviation Safety Network

See also

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