Difference between revisions of "Template:ASN accident/doc"
Jump to navigation
Jump to search
blackwiki>Deeday-UK (updated with wikibase parameter usage; interwikis removed - it's all on Wikidata now) |
blackwiki>Deeday-UK (→Usage: example added) |
||
| Line 11: | Line 11: | ||
* <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>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== | ||
Revision as of 23:41, 20 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)
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