Template:Infobox aircraft occurrence/doc: Difference between revisions

No edit summary
Unlink imported Wikipedia interwiki documentation links
 
(3 intermediate revisions by 2 users not shown)
Line 123: Line 123:
| site =  
| site =  
| coordinates = <!--{{coord|LAT|LON|type:event|display = inline,title}} -->
| coordinates = <!--{{coord|LAT|LON|type:event|display = inline,title}} -->
| mapframe = <!-- See [[#Mapframe maps]] for more information. -->
| mapframe = <!-- See #Mapframe maps for more information. -->
| total_fatalities = <!-- Only for occurrences involving more than one aircraft or victims on the ground -->
| total_fatalities = <!-- Only for occurrences involving more than one aircraft or victims on the ground -->
| total_injuries = <!-- same as above -->
| total_injuries = <!-- same as above -->
Line 259: Line 259:
| name            || Optional custom infobox header. Omit parameter altogether to have the header always reflecting the article's title (i.e. {{tld|PAGENAME}}).
| name            || Optional custom infobox header. Omit parameter altogether to have the header always reflecting the article's title (i.e. {{tld|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.
| 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. Consider searching [[:commons:Main Page|Wikimedia Commons]] which has an extensive library of aircraft images, often categorised by aircraft registration. Do not include "File:" before the name of the image file.
| 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_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.
| image_size      || DEPRECATED – Width of the image in pixels (e.g. "220 px").
|-
|-
| alt              || [[WP:ALT|Alt text]] for the image.
| alt              || for the image.
|-
|-
| caption          || Caption for the image.
| caption          || Caption for the image.
Line 273: Line 273:
| '''date'''      || Date on which accident or incident occurred. Use {{tl|start date}}.
| '''date'''      || Date on which accident or incident occurred. Use {{tl|start date}}.
|-
|-
| '''summary'''    || Brief factual summary of the occurrence. It may include causes, provided the result is suitably brief, neutral, and follows [[WP:DUE|due weight]].
| '''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).
| '''site'''      || Location of accident or incident (e.g. placename, nearest city/town, country).
|-
|-
| coordinates      || Site [[Geographic coordinate system|coordinates]] of accident or incident. {{UF-coord}}
| coordinates      || Site of accident or incident. {{UF-coord}}
|-
|-
| mapframe || Show a {{tl|infobox mapframe}} of the coordinates. See [[#Mapframe maps]] for more information.
| mapframe || Show a 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_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.
Line 295: Line 295:
| plane1_image_upright || Same as <code>image_upright</code> but referred to <code>plane1_image</code>.
| plane1_image_upright || Same as <code>image_upright</code> but referred to <code>plane1_image</code>.
|-
|-
| plane1_alt      || [[WP:ALT|Alt text]] for <code>plane1_image</code>.
| plane1_alt      || for <code>plane1_image</code>.
|-
|-
| plane1_caption  || Caption for <code>plane1_image</code>.
| plane1_caption  || Caption for <code>plane1_image</code>.
|-
|-
| aircraft_type    || Aircraft's type (e.g. [[Boeing 747]]).
| aircraft_type    || Aircraft's type (e.g. Boeing 747).
|-
|-
| aircraft_name    || Aircraft's name in italics (e.g. ''Atlantic Clipper'').
| aircraft_name    || Aircraft's name in italics (e.g. ''Noord Express'').
|-
|-
| operator        || Name of the airline or company operating the (first) aircraft.
| operator        || Name of the airline or company operating the (first) aircraft.
|-
|-
| IATA            || Flight designator in the [[Airline codes#IATA airline designator|IATA system]].
| IATA            || Flight designator in the Airline codes#IATA airline designator|IATA system.
|-
|-
| ICAO            || Flight  designator in the [[Airline codes#ICAO airline designator|ICAO system]].
| ICAO            || Flight  designator in the Airline codes#ICAO airline designator|ICAO system.
|-
|-
| callsign        || Aircraft's [[Airline codes#Call signs (flight identification or flight ID)|call sign]].
| callsign        || Aircraft's Airline codes#Call signs (flight identification or flight ID)|call sign.
|-
|-
| tail_number      || Aircraft's [[Aircraft registration|tail number]] (registration).
| tail_number      || Aircraft's Aircraft registration|tail number (registration).
|-
|-
| origin          || Origin of aircraft's flight (airport/airfield, city/town, country).
| origin          || Origin of aircraft's flight (airport/airfield, city/town, country).
Line 358: Line 358:
| name            || Optional custom infobox header. Omit parameter altogether to have the header always reflecting the article's title (i.e. {{tld|PAGENAME}}).
| name            || Optional custom infobox header. Omit parameter altogether to have the header always reflecting the article's title (i.e. {{tld|PAGENAME}}).
|-
|-
| occurrence_type  || "Accident", "Hijacking" or "Occurrence". Few notable occurrences are classified as "incidents"; see [[Aviation accidents and incidents]].
| 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            || Picture of the accident or incident or its aftermath. Do not include "File:" before the name of the image file.
Line 364: Line 364:
| 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_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.
| 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              || [[WP:ALT|Alt text]] for the image.
| alt              || ] for the image.
|-
|-
| caption          || Caption for the image.
| caption          || Caption for the image.
Line 372: Line 372:
| '''date'''      || Date on which accident or incident occurred. Use {{tl|start date}}.
| '''date'''      || Date on which accident or incident occurred. Use {{tl|start date}}.
|-
|-
| '''summary'''    || Brief factual summary of the occurrence. It may include causes, provided the result is suitably brief, neutral, and follows [[WP:DUE|due weight]].
| '''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).
| '''site'''      || Location of accident or incident (e.g. placename, nearest city/town, country).
|-
|-
| coordinates      || Site [[Geographic coordinate system|coordinates]] of accident or incident. {{UF-coord}}
| coordinates      || Site of accident or incident. {{UF-coord}}
|-
|-
| mapframe || Show a {{tl|infobox mapframe}} of the coordinates. See [[#Mapframe maps]] for more information.
| mapframe || Show a 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_fatalities || Total number of deaths caused by the accident, including people not on board the aircraft involved.
Line 396: Line 396:
| 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_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_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_alt      || Alt text for the plane1 image.
Line 402: Line 402:
| plane1_caption  || Caption for the plane1 image.
| plane1_caption  || Caption for the plane1 image.
|-
|-
| plane1_type      || First aircraft's type (e.g. [[Boeing 747]]).
| plane1_type      || First aircraft's type (e.g. Boeing 747).
|-
|-
| plane1_name      || First aircraft's name in italics (e.g. ''Atlantic Clipper'').
| plane1_name      || First aircraft's name in italics (e.g. ''Atlantic Clipper'').
Line 408: Line 408:
| plane1_operator  || Name of the airline or company operating the first aircraft.
| plane1_operator  || Name of the airline or company operating the first aircraft.
|-
|-
| plane1_IATA      || First aircraft's flight designator in the [[Airline codes#IATA airline designator|IATA system]].
| plane1_IATA      || First aircraft's flight designator in the Airline codes#IATA airline designator|IATA system.
|-
|-
| plane1_ICAO      || First aircraft's flight  designator in the [[Airline codes#ICAO airline designator|ICAO system]].
| plane1_ICAO      || First aircraft's flight  designator in the Airline codes#ICAO airline designator|ICAO system.
|-
|-
| plane1_callsign  || First aircraft's [[Airline codes#Call signs (flight identification or flight ID)|call sign]].
| plane1_callsign  || First aircraft's Airline codes#Call signs (flight identification or flight ID)|call sign.
|-
|-
| plane1_tailnum  || First aircraft's [[Aircraft registration|tail number]] (registration).
| plane1_tailnum  || First aircraft's Aircraft registration|tail number (registration).
|-
|-
| plane1_origin    || Origin of first aircraft's flight (airport/airfield, city/town, country).
| plane1_origin    || Origin of first aircraft's flight (airport/airfield, city/town, country).
Line 451: Line 451:
|}
|}


== Examples ==


===One aircraft===
{{Infobox aircraft occurrence
| name            = Pan Am Flight 103
| image          = Pan Am Flight 103. Crashed Lockerbie, Scotland, 21 December 1988.jpg
| image_upright  = 1.15
| alt            =
| caption        = The remains of the forward section from ''Clipper Maid of the Seas'' on Tundergarth Hill
| occurrence_type = Bombing
| date            = {{start date|1988|12|21|df=y}}
| summary        = Terrorist bombing leading to in-flight breakup
| site            = [[Lockerbie]], Scotland
| coordinates    = {{coord|55|06|56|N|003|21|31|W| type:event_globe:earth_region:GB-SCT| display=inline,title}}
| total_fatalities = 270
| plane1_image    = Pan American World Airways - Pan Am Boeing 747-121 N739PA "Clipper Maid of the Seas" (25017912834).jpg
| plane1_image_upright = 1.15
| plane1_caption  = N739PA, the aircraft involved in the bombing, at [[Frankfurt Airport]] in 1986
| aircraft_type  = [[Boeing 747-100|Boeing 747-121]]
| aircraft_name  = ''Clipper Maid of the Seas''
| operator        = [[Pan American World Airways]]
| IATA            = PA103
| ICAO            = PAA103
| callsign        = CLIPPER 103
| tail_number    = N739PA
| origin          = [[Frankfurt Airport]], [[Frankfurt]], West Germany
| stopover0      = [[Heathrow Airport]], London, United Kingdom
| stopover1      = [[John F. Kennedy International Airport]], New York City, New York, United States
| destination    = [[Detroit Metropolitan Airport]], Detroit, Michigan, United States
| occupants      = 259
| passengers      = 243
| crew            = 16
| fatalities      = 259
| survivors      = 0
| ground_fatalities = 11
}}
{{pre|
<nowiki>
{{Infobox aircraft occurrence
| name            = Pan Am Flight 103
| image          = Pan Am Flight 103. Crashed Lockerbie, Scotland, 21 December 1988.jpg
| image_upright  = 1.15
| alt            =
| caption        = The remains of the forward section from ''Clipper Maid of the Seas'' on Tundergarth Hill
| occurrence_type = Bombing
| date            = {{start date|1988|12|21|df=y}}
| summary        = Terrorist bombing leading to in-flight breakup
| site            = [[Lockerbie]], Scotland
| coordinates    = {{coord|55|06|56|N|003|21|31|W| type:event_globe:earth_region:GB-SCT| display=inline,title}}
| total_fatalities = 270
| plane1_image    = Pan American World Airways - Pan Am Boeing 747-121 N739PA "Clipper Maid of the Seas" (25017912834).jpg
| plane1_image_upright = 1.15
| plane1_caption  = N739PA, the aircraft involved in the bombing, at [[Frankfurt Airport]] in 1986
| aircraft_type  = [[Boeing 747-100|Boeing 747-121]]
| aircraft_name  = ''Clipper Maid of the Seas''
| operator        = [[Pan American World Airways]]
| IATA            = PA103
| ICAO            = PAA103
| callsign        = CLIPPER 103
| tail_number    = N739PA
| origin          = [[Frankfurt Airport]], [[Frankfurt]], West Germany
| stopover0      = [[Heathrow Airport]], London, United Kingdom
| stopover1      = [[John F. Kennedy International Airport]], New York City, New York, United States
| destination    = [[Detroit Metropolitan Airport]], Detroit, Michigan, United States
| occupants      = 259
| passengers      = 243
| crew            = 16
| fatalities      = 259
| survivors      = 0
| ground_fatalities = 11
}}
</nowiki>
}}
{{Clear}}
===Two or three aircraft===
(The top image in this example is not shown here, as it is a non-free image, but can be seen in [[Pacific Southwest Airlines Flight 182|the article itself]].)
{{Infobox aircraft occurrence
| name = Pacific Southwest Airlines Flight 182
| image = <!--WendtPSA.jpg; non-free fair-use image, so do not uncomment here-->
| caption = PSA182 seconds after the collision
| date = {{start date|1978|09|25}}
| summary = [[Mid-air collision]]
| occurrence_type = Accident
| site = [[San Diego, California]]
| total_fatalities = 144
| total_injuries = 9
| total_survivors = 0
| plane1_image = N533PS Los Angeles Long Beach Jun78 Boeing 727-2 Pacific Southwest Airlines.jpg
| plane1_caption = N533PS, the Boeing 727 involved in the accident three months prior to the collision
| plane1_type = [[Boeing 727|Boeing 727-214]]
| plane1_operator = [[Pacific Southwest Airlines]]
| plane1_tailnum = N533PS
| plane1_origin = [[Sacramento International Airport]], California, US
| plane1_stopover = [[Los Angeles International Airport]], California
| plane1_destination = [[San Diego International Airport]], California
| plane1_occupants = 135
| plane1_passengers = 128
| plane1_crew = 7
| plane1_fatalities = 135
| plane2_image =
| plane2_caption = N7711G, the Cessna 172 involved in the accident in a previous livery
| plane2_type = [[Cessna 172]]
| plane2_operator = {{nowrap|Gibbs Flite Center, Inc.}}
| plane2_tailnum = N7711G
| plane2_origin = [[Montgomery Field]], California
| plane2_occupants = 2
| plane2_crew = 2
| plane2_fatalities = 2
| ground_fatalities = 7
| ground_injuries = 9
}}
{{pre|
<nowiki>
{{Infobox aircraft occurrence
| name = Pacific Southwest Airlines Flight 182
| image = WendtPSA.jpg
| caption = PSA182 seconds after the collision
| date = {{start date|1978|09|25}}
| summary = [[Mid-air collision]]
| occurrence_type = Accident
| site = [[San Diego, California]]
| total_fatalities = 144
| total_injuries = 9
| total_survivors = 0
| plane1_image = N533PS Los Angeles Long Beach Jun78 Boeing 727-2 Pacific Southwest Airlines.jpg
| plane1_caption = N533PS, the Boeing 727 involved in the accident three months prior to the collision
| plane1_type = [[Boeing 727|Boeing 727-214]]
| plane1_operator = [[Pacific Southwest Airlines]]
| plane1_tailnum = N533PS
| plane1_origin = [[Sacramento International Airport]], California, US
| plane1_stopover = [[Los Angeles International Airport]], California
| plane1_destination = [[San Diego International Airport]], California
| plane1_occupants = 135
| plane1_passengers = 128
| plane1_crew = 7
| plane1_fatalities = 135
| plane1_survivors = 0
| plane2_image =
| plane2_caption = N7711G, the Cessna 172 involved in the accident in a previous livery
| plane2_type = [[Cessna 172]]
| plane2_operator = {{nowrap|Gibbs Flite Center, Inc.}}
| plane2_tailnum = N7711G
| plane2_origin = [[Montgomery Field]], California
| plane2_occupants = 2
| plane2_crew = 2
| plane2_fatalities = 2
| plane2_survivors = 0
| ground_fatalities = 7
| ground_injuries = 9
}}
</nowiki>
}}
{{Clear}}
===Incident===
{{Infobox aircraft occurrence
| name = Air Canada Flight 143
| image          = Air Canada Flight 143 after emergency landing 2.jpg
| image_upright  = 1.15
| caption        = Flight 143 after landing at Gimli, Manitoba
| plane1_image    = Boeing 767-233, Air Canada AN0078557.jpg
| plane1_image_upright = 1.15
| plane1_caption  = C-GAUN seen here on January 26, 1985
| occurrence_type = Incident
| date = {{start date|1983|07|23|df=y}}
| summary = Emergency landing following [[fuel exhaustion]]
| site = [[Gimli, Manitoba]], Canada
| aircraft_type = [[Boeing 767|Boeing 767-233]]
| operator = [[Air Canada]]
| tail_number = C-GAUN
| origin = [[Montreal-Dorval International Airport]]
| stopover = [[Ottawa Macdonald–Cartier International Airport]]
| destination = [[Edmonton International Airport]]
| occupants = 69
| passengers = 61
| crew = 8
| fatalities =
| injuries = 10
| survivors = 69
}}
{{pre|
<nowiki>
{{Infobox aircraft occurrence
| name = Air Canada Flight 143
| image =
| alt =
| caption =
| occurrence_type = Incident
| date = {{start date|1983|07|23|df=y}}
| summary = Emergency landing following [[fuel exhaustion]]
| site = [[Gimli, Manitoba]], Canada
| aircraft_type = [[Boeing 767|Boeing 767-233]]
| operator = [[Air Canada]]
| tail_number = C-GAUN
| origin = [[Montreal-Dorval International Airport]]
| stopover = [[Ottawa Macdonald–Cartier International Airport]]
| destination = [[Edmonton International Airport]]
| occupants = 69
| passengers = 61
| crew = 8
| injuries = 10
| survivors = 69
}}
</nowiki>
}}
{{Clear}}
== Mapframe maps ==
{{Infobox mapframe/doc/parameters
| onByDefault = yes, if {{para|coordinates}} are present
| mapframe-type = event
| mapframe-zoom = 7
}}
== Microformats ==
{{UF-hcard-geo}}
{{UF-hcal}}


== Tracking categories ==
== Tracking categories ==
Line 683: Line 458:
<noinclude>[[Category:WikiProject Aviation template instructions|Infobox aircraft accident]]</noinclude><includeonly>{{Sandbox other||
<noinclude>[[Category:WikiProject Aviation template instructions|Infobox aircraft accident]]</noinclude><includeonly>{{Sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Air transport infobox templates|Occurrence]]
Category:Air transport infobox templates|Occurrence
[[Category:Templates that add a tracking category]]
Category:Templates that add a tracking category
}}</includeonly>
}}</includeonly>


==TemplateData==
==TemplateData==
{{Collapse top|[[Wikipedia:TemplateData|TemplateData]] for this template used by [[mw:Extension:TemplateWizard|TemplateWizard]], [[Wikipedia:VisualEditor|VisualEditor]] and other tools}}
{{Collapse top| for this template used by [[mw:Extension:TemplateWizard|TemplateWizard]], VisualEditor and other tools}}
{{TemplateData header|noheader=1}}
{{TemplateData header|noheader=1}}
<templatedata>
<templatedata>
Line 707: Line 482:
"label": "Summary",
"label": "Summary",
"description": "Brief factual summary of the occurrence.",
"description": "Brief factual summary of the occurrence.",
"example": "[[Mid-air collision]]",
"example": "Mid-air collision",
"suggested": true
"suggested": true
},
},
Line 714: Line 489:
"label": "Site",
"label": "Site",
"description": "Location of accident or incident (e.g. placename, nearest city/town, country).",
"description": "Location of accident or incident (e.g. placename, nearest city/town, country).",
"example": "[[Greene County, Missouri]], United States",
"example": "Greene County, Missouri, United States",
"suggested": true
"suggested": true
},
},
Line 730: Line 505:
},
},
"alt": {
"alt": {
"description": "Alt text for image. (See WP:ALT)",
"description": "Alt text for image.",
"autovalue": "",
"autovalue": "",
"suggested": true
"suggested": true
Line 749: Line 524:
"occurrence_type": {
"occurrence_type": {
"label": "Occurrence type",
"label": "Occurrence type",
"description": "\"Accident\", \"Hijacking\" or \"Occurrence\". Few notable occurrences are classified as \"Incidents\"; see [[Aviation accidents and incidents]].",
"description": "\"Accident\", \"Hijacking\" or \"Occurrence\". Few notable occurrences are classified as \"Incidents\"; see Aviation accidents and incidents.",
"example": "Accident",
"example": "Accident",
"type": "string",
"type": "string",
Line 1,101: Line 876:
"description": "Width in pixels the image should be scaled to.",
"description": "Width in pixels the image should be scaled to.",
"autovalue": "",
"autovalue": "",
"deprecated": "image_size is discouraged as per WP:IMGSIZE. Please use image_upright instead."
"deprecated": "image_size is discouraged. Please use image_upright instead."
},
},
"image_upright": {
"image_upright": {