Difference between revisions of "Template:ASN accident"
Jump to navigation
Jump to search
blackwiki>Ahmet Turhan (Undid revision 956528194 by Ahmet Turhan (talk)) |
m (26 revisions imported) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | [https://aviation-safety.net/{{#ifeq: {{{wikibase}}} | yes |wikibase/wiki|database/record}}.php?id={{{1|{{{id}}}}}} {{{type|Accident}}} description{{#if:{{{title|}}}| for {{{title}}}}}] at the [[Aviation Safety Network]]{{#if: {{{accessdate|}}} |. Retrieved on {{{accessdate}}}.}}<noinclude> | + | {{#if: {{{1|{{{id|}}}}}} | [https://aviation-safety.net/{{#ifeq: {{{wikibase}}} | yes |wikibase/wiki|database/record}}.php?id={{{1|{{{id}}}}}} {{{type|Accident}}} description{{#if:{{{title|}}}| for {{{title}}}}}] at the [[Aviation Safety Network]]{{#if: {{{accessdate|}}} |. Retrieved on {{{accessdate}}}.}} | {{error|Error! Please provide an ID.}}}}<noinclude> |
{{documentation}} | {{documentation}} | ||
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> | <!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 13:35, 16 October 2020
Error! Please provide an ID.
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 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
| The above documentation is transcluded from Template:ASN accident/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |