Шаблон:Infobox aircraft occurrence/doc

Мавод аз Википедиа — донишномаи озод

This template is meant to be used in articles about significant occurrences, accidents or incidents involving one, two or three aircraft. The format opposite shows the template's full syntax; for examples involving a single aircraft as well as multiple aircraft, see below.

Full blank syntax[вироиши манбаъ]

Required parameters are date, summary and site. If name is not provided, {{LINKED:PAGENAME}} is used instead.

{{Infobox aircraft occurrence
| name = 
| image = <!-- name of file only -->
| alt = 
| caption = 
| occurrence_type = <!-- Use "Accident", "Incident" or (default) "Occurrence" -->
| date =            <!-- {{start date|1993|02|24|df=y}}-->
| summary = 
| site = 
| coordinates =     <!--{{coord|LAT|LON|type:event|display=inline,title}} -->

<!-- Following entries are for an occurrence involving a single aircraft: -->
| passengers = 
| crew = 
| injuries =
| fatalities = 
| missing =
| survivors = 
| aircraft_type = 
| aircraft_name = 
| operator = 
| tail_number = 
| origin = 
| stopover = 
| stopover0 = 
| stopover1 = 
| stopover2 = 
| stopover3 = 
| stopover4 =
| stopover5 =
| last_stopover = 
| destination = 

<!-- Following entries are for an occurrence involving two/three aircraft: -->
| total_injuries = 
| total_fatalities = 
| total_missing = 
| total_survivors = 

| plane1_image = 
| plane1_alt = 
| plane1_caption = 
| plane1_type = 
| plane1_name = 
| plane1_operator = 
| plane1_tailnum = 
| plane1_origin = 
| plane1_stopover = 
| plane1_stopover0 = 
| plane1_stopover1 = 
| plane1_stopover2 = 
| plane1_stopover3 = 
| plane1_stopover4 =
| plane1_stopover5 =
| plane1_laststopover = 
| plane1_destination = 
| plane1_passengers = 
| plane1_crew = 
| plane1_injuries = 
| plane1_fatalities = 
| plane1_missing =
| plane1_survivors = 

| plane2_image = 
| plane2_alt = 
| plane2_caption = 
| plane2_type = 
| plane2_name = 
| plane2_operator = 
| plane2_tailnum = 
| plane2_origin = 
| plane2_stopover = 
| plane2_stopover0 = 
| plane2_stopover1 = 
| plane2_stopover2 = 
| plane2_stopover3 = 
| plane2_stopover4 =
| plane2_stopover5 =
| plane2_laststopover = 
| plane2_destination = 
| plane2_passengers = 
| plane2_crew = 
| plane2_injuries = 
| plane2_fatalities = 
| plane2_missing =
| plane2_survivors = 

| plane3_image = 
| plane3_alt = 
| plane3_caption = 
| plane3_type = 
| plane3_name = 
| plane3_operator = 
| plane3_tailnum = 
| plane3_origin = 
| plane3_stopover = 
| plane3_stopover0 = 
| plane3_stopover1 = 
| plane3_stopover2 = 
| plane3_stopover3 = 
| plane3_stopover4 =
| plane3_stopover5 =
| plane3_laststopover = 
| plane3_destination = 
| plane3_passengers = 
| plane3_crew = 
| plane3_injuries = 
| plane3_fatalities = 
| plane3_missing =
| plane3_survivors = 
}}

Parameters[вироиши манбаъ]

Required parameters in bold. Alternative names for use when only one aircraft involved are shown in italics.

Parameter&nbsp;/&#32;alternate Explanation
name Occurrence's commonly-known name (defaults to {{LINKED:PAGENAME}}).
occurrence_type "Accident", "Hijacking" or (default) "Occurrence". Few notable occurrences are classified as "incidents"; see Aviation accidents and incidents.
image Picture of the accident or incident or its aftermath, or, if involving a single aircraft, that aircraft. If a free image of the actual aircraft is not available then an aircraft of the same type can be used, be aware that aircraft in other operators markings may be misleading and focus on an operator not related to the accident. Representations or computer generated images should not be used. Please consider searching Wikimedia Commons which has an extensive library of aircraft images, many of which are categorised and searchable by aircraft registration.
alt Alt text for image.
caption Caption for image.
date Date on which accident or incident occurred. Use {{start date}}.
summary Brief factual summary of the occurrence.
site accident or incident's location (e.g. placename, nearest city/town, country).
coordinates accident or incident's site coordinates. For coordinates, use {{coord}} with display=inline,title. Please do not be overly precise.
total_injuries (Two/three-aircraft occurrences) Total number of people injured in the accident or incident. Add in brackets if any of this number were people other than crew or passengers, or if it was everyone involved (e.g. "123 (4 on ground)", "123 (all)").
total_fatalities (Two/three-aircraft occurrences) Total number of people killed in the accident or incident. As above, add in brackets if any of this number were other than crew or passengers, or if everyone involved died.
total_survivors (Two/three-aircraft occurrences) Total number of people who survived the accident or incident. As above, add in brackets if any of this number were people other than crew or passengers, or if everyone involved survived.
plane1_image If more than one aircraft involved, a picture of the first aircraft.
plane1_alt Alt text for image.
plane1_caption Caption for image.
plane1_type&nbsp;/&#32;aircraft_type (First) aircraft's type (e.g. Boeing 747).
plane1_name&nbsp;/&#32;aircraft_name (First) aircraft's name (e.g. Atlantic Clipper).
plane1_operator&nbsp;/&#32;operator Name of the airline or company operating the (first) aircraft.
plane1_tailnum&nbsp;/&#32;tail_number (First) aircraft's tail number (registration).
plane1_origin&nbsp;/&#32;origin Origin of (first) aircraft's flight (airport/airfield, city/town, country).
plane1_stopover&nbsp;/&#32;stopover (First) aircraft's stopover location, if it made only one stopover.
plane1_stopover0&nbsp;/&#32;stopover0 (First) aircraft's first stopover location.
plane1_stopover1&nbsp;/&#32;stopover1 (First) aircraft's second stopover location.
plane1_stopover2&nbsp;/&#32;stopover2 (First) aircraft's third stopover location.
plane1_stopover3&nbsp;/&#32;stopover3 (First) aircraft's fourth stopover location.
plane1_laststopover&nbsp;/&#32;last_stopover (First) aircraft's last stopover location.
plane1_destination&nbsp;/&#32;destination (First) aircraft's destination (airport/airfield, city/town, country).
plane1_passengers&nbsp;/&#32;passengers Number of passengers onboard (first) aircraft.
plane1_crew&nbsp;/&#32;crew Number of crew onboard (first) aircraft.
plane1_injuries&nbsp;/&#32;injuries If a single-plane occurrence, the total number of injuries caused by the occurrence; add in brackets if any of this number were people other than crew or passengers, or if it was everyone involved (e.g. "123 (4 on ground)", "123 (all)"). Otherwise, for a two/three-aircraft occurrence, the number of people injured onboard the first aircraft.
plane1_fatalities&nbsp;/&#32;fatalities If a single-plane accident or incident, the total number of deaths caused by the accident or incident; as above, add in brackets if any of these people were other than crew or passengers, or if everyone involved died. Otherwise, for a two/three-aircraft occurrence, the number of people killed onboard the first aircraft.
plane1_missing&nbsp;/&#32;missing people If a single-plane accident or incident, the total number of people missing in the accident or incident; as above, add in brackets if any of these people were other than crew or passengers, or if everyone involved is missing. Otherwise, for a two/three-aircraft occurrence, the number of people missing from the first aircraft.
plane1_survivors&nbsp;/&#32;survivors Number of people involved who survived. If a single-plane accident or incident, add in brackets (as above) if any of these people were other than crew or passengers, or if everyone involved survived. Otherwise, for a two/three-aircraft occurrence, the number of people onboard the first aircraft who survived.
The parameters for a second and third aircraft involved in the accident or incident (i.e. plane2_* and plane3_*) follow the same pattern, but without the alternate names.

Examples[вироиши манбаъ]

One aircraft[вироиши манбаъ]

{{Infobox aircraft occurrence
| name = Pan Am Flight 103
| date = {{start date|1988|12|21}}
| summary = Terrorist bombing; aircraft disintegrated
| occurrence_type = Occurrence
| site = [[Lockerbie]], Scotland
| origin = [[London]]
| destination = [[New York]]
| passengers = 243
| crew = 16
| injuries = 0
| fatalities = 270 (including 11 on ground)
| missing = 0
| survivors = 0
| aircraft_type = [[Boeing 747#747-100|Boeing 747-121]]
| operator = [[Pan American World Airways]]
| tail_number = N739PA
}}

Two or three aircraft[вироиши манбаъ]

{{Infobox aircraft occurrence
| name = Pacific Southwest Airlines Flight 182
| date = {{start date|1978|09|25}}
| summary = [[Mid-air collision]]
| occurrence_type = Accident
| site = [[San Diego, California]]
| total_injuries = 9 (on ground)
| total_fatalities = 144 (7 on ground)
| total_survivors = 9 (on ground)
| plane1_type = [[Boeing 727|Boeing 727-214]] 
| plane1_operator = [[Pacific Southwest Airlines]]
| plane1_tailnum = N533PS
| plane1_origin = [[Sacramento International Airport|Sacramento Int' Airport]]
| plane1_stopover = [[Los Angeles International Airport|Los Angeles Int'l Airport]]
| plane1_destination = [[San Diego International Airport|San Diego Int'l Airport]]
| plane1_passengers = 128
| plane1_crew = 7
| plane1_fatalities = 135 (all)
| plane1_missing = 0
| plane2_type = [[Cessna 172]]
| plane2_operator = {{nowrap|Gibbs Flite Center, Inc.}}
| plane2_tailnum = N7711G
| plane2_origin = [[Montgomery Field]]<br/>[[San Diego, California]]
| plane2_crew = 2
| plane2_survivors = 0
}}

Incident[вироиши манбаъ]

{{Infobox aircraft occurrence
| name = Air Canada Flight 143
| occurrence_type = Incident
| image = 
| alt = Passenger jet flying downward at about a 20 degree angle.
| caption = [[Computer graphics|CG]] rendering of Air Canada Flight 143 starting to perform a [[forward slip]].
| date = {{start date|1983|07|23|df=y}}
| summary = Emergency landing following [[Fuel starvation|fuel exhaustion]]
| site = over [[Quebec]], [[Ontario]] and [[Manitoba]], Canada
| passengers = 61
| crew = 8
| aircraft_type = [[Boeing 767|Boeing 767-233]]
| operator = [[Air Canada]]
| tail_number = C-GAUN
| origin = [[Montreal-Pierre Elliott Trudeau International Airport|Montreal-Dorval International Airport]]
| stopover = [[Ottawa Macdonald-Cartier International Airport]]
| destination = [[Edmonton International Airport]]
| injuries = 10
| fatalities = 0
| missing = 0
| survivors = 69 (all)
}}

Microformats[вироиши манбаъ]

The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates[вироиши манбаъ]

If the place or venue has an "established", "founded", "opened" or similar date, use {{start date}} unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes[вироиши манбаъ]

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • url
  • vcard

Geo is produced by calling {{coord}}, and uses HTML classes:

  • geo
  • latitude
  • longitude

Please do not rename or remove these classes nor collapse nested elements which use them.

Precision[вироиши манбаъ]

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.

The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.

Classes used

The HTML classes this microformat uses include:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent
Please do not rename or remove these classes
nor collapse nested elements which use them.