Difference between revisions of "Template:ASN accident/doc"
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 | + | <!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --> |
| − | '''Template:ASN accident''' creates an external link to an | + | '''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 | + | <includeonly><!-- CATEGORIES HERE, THANKS --> |
[[Category:Aviation external link templates|{{PAGENAME}}]] | [[Category:Aviation external link templates|{{PAGENAME}}]] | ||
| − | |||
| − | |||
| − | |||
| − | |||
</includeonly> | </includeonly> | ||
Revision as of 16:04, 3 May 2019
| 40px | This is a documentation subpage for Template:ASN accident. It contains usage information, categories and other content that is not part of the original template page. |
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 Databaseaccessdate = 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