Template:Infobox aircraft occurrence/doc

Full blank syntax

{{{name}}}
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright={{{image_upright}}}]]
{{{caption}}}
{{{occurrence_type}}}
Date{{{date}}}
Summary{{{summary}}}
Site
  • {{{site}}}
  • {{{coordinates}}}
Total fatalities{{{total_fatalities}}}
Total injuries{{{total_injuries}}}
Total missing{{{total_missing}}}
Total survivors{{{total_survivors}}}
First aircraft
[[File:{{{plane1_image}}}|frameless|alt={{{plane1_alt}}}|upright={{{plane1_image_upright}}}]]
{{{plane1_caption}}}
Type{{{plane1_type}}}
Name{{{plane1_name}}}
Operator{{{plane1_operator}}}
IATA flight No.{{{plane1_IATA}}}
ICAO flight No.{{{plane1_ICAO}}}
Call sign{{{plane1_callsign}}}
Aircraft registration{{{plane1_tailnum}}}
Flight origin{{{plane1_origin}}}
Stopover{{{plane1_stopover}}}
1st stopover{{{plane1_stopover0}}}
2nd stopover{{{plane1_stopover1}}}
3rd stopover{{{plane1_stopover2}}}
4th stopover{{{plane1_stopover3}}}
5th stopover{{{plane1_stopover4}}}
6th stopover{{{plane1_stopover5}}}
Last stopover{{{plane1_laststopover}}}
Destination{{{plane1_destination}}}
Occupants{{{plane1_occupants}}}
Passengers{{{plane1_passengers}}}
Crew{{{plane1_crew}}}
Fatalities{{{plane1_fatalities}}}
Injuries{{{plane1_injuries}}}
Missing{{{plane1_missing}}}
Survivors{{{plane1_survivors}}}
Second aircraft
[[File:{{{plane2_image}}}|frameless|alt={{{plane2_alt}}}|upright={{{plane2_image_upright}}}]]
{{{plane2_caption}}}
Type{{{plane2_type}}}
Name{{{plane2_name}}}
Operator{{{plane2_operator}}}
IATA flight No.{{{plane2_IATA}}}
ICAO flight No.{{{plane2_ICAO}}}
Call sign{{{plane2_callsign}}}
Registration{{{plane2_tailnum}}}
Flight origin{{{plane2_origin}}}
Stopover{{{plane2_stopover}}}
1st stopover{{{plane2_stopover0}}}
2nd stopover{{{plane2_stopover1}}}
3rd stopover{{{plane2_stopover2}}}
4th stopover{{{plane2_stopover3}}}
5th stopover{{{plane2_stopover4}}}
6th stopover{{{plane2_stopover5}}}
Last stopover{{{plane2_laststopover}}}
Destination{{{plane2_destination}}}
Occupants{{{plane2_occupants}}}
Passengers{{{plane2_passengers}}}
Crew{{{plane2_crew}}}
Fatalities{{{plane2_fatalities}}}
Injuries{{{plane2_injuries}}}
Missing{{{plane2_missing}}}
Survivors{{{plane2_survivors}}}
Third aircraft
[[File:{{{plane3_image}}}|frameless|alt={{{plane3_alt}}}|upright={{{plane3_image_upright}}}]]
{{{plane3_caption}}}
Type{{{plane3_type}}}
Name{{{plane3_name}}}
Operator{{{plane3_operator}}}
IATA flight No.{{{plane3_IATA}}}
ICAO flight No.{{{plane3_ICAO}}}
Call sign{{{plane3_callsign}}}
Registration{{{plane3_tailnum}}}
Flight origin{{{plane3_origin}}}
Stopover{{{plane3_stopover}}}
1st stopover{{{plane3_stopover0}}}
2nd stopover{{{plane3_stopover1}}}
3rd stopover{{{plane3_stopover2}}}
4th stopover{{{plane3_stopover3}}}
5th stopover{{{plane3_stopover4}}}
6th stopover{{{plane3_stopover5}}}
Last stopover{{{plane3_laststopover}}}
Destination{{{plane3_destination}}}
Occupants{{{plane3_occupants}}}
Passengers{{{plane3_passengers}}}
Crew{{{plane3_crew}}}
Fatalities{{{plane3_fatalities}}}
Injuries{{{plane3_injuries}}}
Missing{{{plane3_missing}}}
Survivors{{{plane3_survivors}}}
Ground casualties
Ground fatalities{{{ground_fatalities}}}
Ground injuries{{{ground_injuries}}}

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

<syntaxhighlight lang="wikitext" style="overflow:auto;">

Infobox aircraft occurrence/doc
Accident

</syntaxhighlight>

Parameters

Required parameters are in bold.

Occurrences involving a single aircraft

Parameter Explanation
name Optional custom infobox header. Omit parameter altogether to have the header always reflecting the article's title (i.e. {{PAGENAME}}).
occurrence_type "Accident", "Bombing", "Hijacking", "Occurrence" or "Shootdown". Few notable occurrences are classified as "incidents"; see Aviation accidents and incidents. "Occurrence" should be the default unless definitively confirmed as one of the other types by reliable sources.
image Picture of the accident or incident or its aftermath, or, if none is available, of the aircraft involved. If a free image of the actual aircraft is not available, then an aircraft of the same type can be used. However, images of aircraft in other operators' markings may be misleading. Representations or computer generated images should not be used.
image_upright Scale the main infobox image by the given factor, rounding the result to the nearest multiple of 10 pixels (e.g. "1.20").
image_size DEPRECATED – Width of the image in pixels (e.g. "220 px").
alt for the image.
caption Caption for the image.
date Date on which accident or incident occurred. Use {{start date}}.
summary Brief factual summary of the occurrence. It may include causes, provided the result is suitably brief, neutral
site Location of accident or incident (e.g. placename, nearest city/town, country).
coordinates coordinates, use {{coord}} with display=inline,title. Please do not be .
mapframe Show a {{infobox mapframe}} of the coordinates. See Mapframe maps for more information.
total_fatalities Only for occurrences involving victims on the ground: total number of deaths caused by the accident, including people not on board the aircraft involved.
total_injuries Only for occurrences involving victims on the ground: total number of injuries caused by the accident, including people not on board the aircraft involved.
total_missing Only for occurrences involving victims on the ground: total number of people missing in the accident, including people not on board the aircraft involved.
ground_fatalities Number of deaths caused by the accident among people who were not on board the aircraft involved.
ground_injuries Number of injuries caused by the accident among people who were not on board the aircraft involved.
plane1_image Normally used for occurrences involving multiple aircraft (see below), can be used for single-aircraft occurrences to display a pre-accident image of the aircraft involved, unless the image parameter above already displays one such image. The infobox should never contain more than one pre-accident image of the aircraft involved; that is no additional photos showing previous operators' liveries, old markings, different settings etc. Do not include "File:" before the name of the image file.
plane1_image_upright Same as image_upright but referred to plane1_image.
plane1_alt for plane1_image.
plane1_caption Caption for plane1_image.
aircraft_type Aircraft's type (e.g. Boeing 747).
aircraft_name Aircraft's name in italics (e.g. Noord Express).
operator Name of the airline or company operating the (first) aircraft.
IATA IATA system.
ICAO ICAO system.
callsign call sign.
tail_number tail number (registration).
origin Origin of aircraft's flight (airport/airfield, city/town, country).
stopover / stopovers Aircraft's stopover location if only one stopover parameter is used. Displays in infobox as Stopover or Stopovers.
stopover0 Aircraft's first stopover location. Displays in infobox as 1st stopover.
stopover1 Aircraft's second stopover location.
stopover2 Aircraft's third stopover location.
stopover3 Aircraft's fourth stopover location.
stopover4 Aircraft's fifth stopover location.
stopover5 Aircraft's sixth stopover location.
last_stopover Aircraft's last stopover location. Displays in infobox as Last stopover.
destination Aircraft's destination (airport/airfield, city/town, country).
occupants Total number of people on board the aircraft.
passengers Number of passengers on board the aircraft.
crew Number of crew on board the aircraft.
fatalities Number of people killed on board the aircraft.
injuries Number of people injured on board the aircraft.
missing Number of people missing from the aircraft.
survivors Number of survivors on board the aircraft.

Occurrences involving multiple aircraft

Note: for applicable parameters, replace plane1_ with plane2_, plane3_ etc. for parameters related to the second and subsequent aircraft.

Parameter Explanation
name Optional custom infobox header. Omit parameter altogether to have the header always reflecting the article's title (i.e. {{PAGENAME}}).
occurrence_type "Accident", "Hijacking" or "Occurrence". Few notable occurrences are classified as "incidents"; see Aviation accidents and incidents.
image Picture of the accident or incident or its aftermath. Do not include "File:" before the name of the image file.
image_upright Scale the main infobox image by the given factor, rounding the result to the nearest multiple of 10 pixels (e.g. "1.20").
image_size DEPRECATED – Width of the image in pixels (e.g. "220 px"). Per WP:IMGSIZE, use of this parameter is discouraged in favour of image_upright.
alt ] for the image.
caption Caption for the image.
date Date on which accident or incident occurred. Use {{start date}}.
summary Brief factual summary of the occurrence. It may include causes, provided the result is suitably brief, neutral
site Location of accident or incident (e.g. placename, nearest city/town, country).
coordinates coordinates, use {{coord}} with display=inline,title. Please do not be .
mapframe Show a {{infobox mapframe}} of the coordinates. See Mapframe maps for more information.
total_fatalities Total number of deaths caused by the accident, including people not on board the aircraft involved.
total_injuries Total number of injuries caused by the accident, including people not on board the aircraft involved.
total_missing Total number of people missing in the accident, including people not on board the aircraft involved.
total_survivors Total number of people on board all aircraft involved who survived the accident.
ground_fatalities Number of deaths caused by the accident among people who were not on board the aircraft involved.
ground_injuries Number of injuries caused by the accident among people who were not on board the aircraft involved.
plane1_image A picture of the first aircraft involved.
plane1_image_upright Scale the plane1 image by the given factor, rounded to the nearest multiple of 10 pixels (e.g. "1.20").
plane1_image_size DEPRECATED – Scale the plane1 image to the given width in pixels (e.g. "220 px"). Use of this parameter is discouraged as per WP:IMGSIZE. Use plane1_image_upright instead.
plane1_alt Alt text for the plane1 image.
plane1_caption Caption for the plane1 image.
plane1_type First aircraft's type (e.g. Boeing 747).
plane1_name First aircraft's name in italics (e.g. Atlantic Clipper).
plane1_operator Name of the airline or company operating the first aircraft.
plane1_IATA IATA system.
plane1_ICAO ICAO system.
plane1_callsign call sign.
plane1_tailnum tail number (registration).
plane1_origin Origin of first aircraft's flight (airport/airfield, city/town, country).
plane1_stopover / plane1_stopovers First aircraft's stopover location, if only one stopover parameter is used. Displays in infobox as Stopover or Stopovers.
plane1_stopover0 First aircraft's first stopover location. Displays in infobox as 1st stopover.
plane1_stopover1 First aircraft's second stopover location.
plane1_stopover2 First aircraft's third stopover location.
plane1_stopover3 First aircraft's fourth stopover location.
plane1_stopover4 First aircraft's fifth stopover location.
plane1_stopover5 First aircraft's sixth stopover location.
plane1_laststopover First aircraft's last stopover location. Displays in infobox as Last stopover.
plane1_destination First aircraft's destination (airport/airfield, city/town, country).
plane1_occupants Total number of people on board the first aircraft.
plane1_passengers Number of passengers on board the first aircraft.
plane1_crew Number of crew on board the first aircraft.
plane1_fatalities Number of people killed on board the first aircraft.
plane1_injuries Number of people injured on board the first aircraft.
plane1_missing Number of people missing from the first aircraft.
plane1_survivors Number of survivors on board the first aircraft.


Mapframe maps

  • Basic {{Infobox mapframe}} parameters:
    • mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no, but also modified by onByDefault
      • Internal onByDefault parameter: yes, if |coordinates= are present
    • mapframe-coordinates or mapframe-coord or coordinates or coord – Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template, e.g. |coord={{Coord|12.34|N|56.78|E}}. Default: coordinates from Wikidata d:Property:P625
    • mapframe-caption – Caption for the map. Default: blank (or if |mapframe-geomask= is set, "Location in geomask's label")
    • mapframe-custom – Use a custom map instead of the automatic mapframe. Specify either a template, or another template that generates a mapframe map, or an image name. If used, most mapframe parameters will be ignored. Default: not specified
    • mapframe-id or id or qid – Id (Q-number) of Wikidata item to use. Default: item for current page
    • mapframe-wikidata – Set to <syntaxhighlight lang="text" class="" style="" inline="1">yes</syntaxhighlight> to show all shape/line features from OpenStreetMap. Default: not specified
  • Customise which features are displayed:
    • mapframe-point – Turn off display of point feature by setting to <syntaxhighlight lang="text" class="" style="" inline="1">none</syntaxhighlight>. Force point marker to be displayed by setting to <syntaxhighlight lang="text" class="" style="" inline="1">on</syntaxhighlight>. Default: not specified
    • mapframe-shape – Turn off display of shape feature by setting to <syntaxhighlight lang="text" class="" style="" inline="1">none</syntaxhighlight>. Force display of shape by setting to <syntaxhighlight lang="text" class="" style="" inline="1">on</syntaxhighlight>. Use an inverse shape (geomask) instead of a regular shape by setting to <syntaxhighlight lang="text" class="" style="" inline="1">inverse</syntaxhighlight>. Default: not specified
    • mapframe-line – Turn off display of line feature by setting to <syntaxhighlight lang="text" class="" style="" inline="1">none</syntaxhighlight>. Force display of line by setting to <syntaxhighlight lang="text" class="" style="" inline="1">on</syntaxhighlight>. Default: not specified
    • mapframe-geomask – Wikidata item to use as a geomask (everything outside the boundary is shaded darker). Can either be a specific Wikidata item (Q-number), or a property that specifies the item to use (e.g. P17 for Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (P17), P131 for Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (P131)). Default: not specified
    • mapframe-switcher – set to <syntaxhighlight lang="text" class="" style="" inline="1">auto</syntaxhighlight> or <syntaxhighlight lang="text" class="" style="" inline="1">geomasks</syntaxhighlight> or <syntaxhighlight lang="text" class="" style="" inline="1">zooms</syntaxhighlight> to enable Template:Switcher-style switching between multiple mapframes. Default: not specified
      • <syntaxhighlight lang="text" class="" style="" inline="1">auto</syntaxhighlight> – switch geomasks found in Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (P276) and Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (P131) statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country.
      • <syntaxhighlight lang="text" class="" style="" inline="1">geomasks</syntaxhighlight> – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameter
      • <syntaxhighlight lang="text" class="" style="" inline="1">zooms</syntaxhighlight> – switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of <syntaxhighlight lang="text" class="" style="" inline="1">3</syntaxhighlight>), "zoomed out" is <syntaxhighlight lang="text" class="" style="" inline="1">1</syntaxhighlight>, and "zoomed midway" is the average
  • Other optional parameters:
    • mapframe-frame-width or mapframe-width – Frame width. Default: 270
    • mapframe-frame-height or mapframe-height – Frame height. Default: 200
    • mapframe-shape-fill – Color used to fill shape features. Default: #606060
    • mapframe-shape-fill-opacity – Opacity level of shape fill, a number between 0 and 1. Default: 0.1
    • mapframe-stroke-color or mapframe-stroke-colour – Color of line features, and outlines of shape features. Default: #ff0000
      • mapframe-line-stroke-color or mapframe-line-stroke-colour – Color of line features. Default: #ff0000
      • mapframe-shape-stroke-color or mapframe-shape-stroke-colour – Color of outlines of shape features. Default: #ff0000
    • mapframe-stroke-width – Width of line features, and outlines of shape features. Default: 2
      • mapframe-shape-stroke-width – Width of outlines of shape features. Default: 2
      • mapframe-line-stroke-width – Width of line features. Default: 5
    • mapframe-marker – Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options. Default: not specified (i.e. blank)
      • Can also be set to <syntaxhighlight lang="text" class="" style="" inline="1">blank</syntaxhighlight> to override any default marker symbol
    • mapframe-marker-color or mapframe-marker-colour – Background color for the marker. Default: #5E74F3
    • mapframe-geomask-stroke-color or mapframe-geomask-stroke-colour – Color of outline of geomask shape. Default: #555555
    • mapframe-geomask-stroke-width – Width of outline of geomask shape. Default: 1
    • mapframe-geomask-fill – Color used to fill outside geomask features. Default: #606060
    • mapframe-geomask-fill-opacity – Opacity level of fill outside geomask features, a number between 0 and 1. Default: 0.25
    • mapframe-zoom – Set the zoom level, from "1" (map of earth) to "18" (maximum zoom in), to be used if the zoom level cannot be determined automatically from object length or area. Default: 7
    • mapframe-length_km or mapframe-length_mi or mapframe-area_km2 or mapframe-area_mi2 – Determine zoom level by passing in object's length (in kilometres or miles) or area (in square kilometres or square miles). Default: not specified / not specified / not specified / not specified
    • mapframe-frame-coordinates or mapframe-frame-coord – Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}. Default: derived from item coordinates
    • mapframe-type – Set the type of the object, with the same usage as {{coord}}. Default: event
    • mapframe-population – Set the population, useful with type="city", for {{Infobox dim}}. Default: not specified


Microformats

The HTML markup 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 Peo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a PPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates 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

Peo 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.

-->

Classes used

Thees of this microformat 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.

Tracking categories

TemplateData