Template:Infobox aircraft occurrence/doc: Difference between revisions
m 1 revision imported |
Unlink imported Wikipedia interwiki documentation links |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
== Full blank syntax == | == Full blank syntax == | ||
{{Parameter names example | {{Parameter names example | ||
| Line 130: | 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 = <!-- 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 266: | 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 | | 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 || 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") | | image_size || DEPRECATED – Width of the image in pixels (e.g. "220 px"). | ||
|- | |- | ||
| alt || | | alt || for the image. | ||
|- | |- | ||
| caption || Caption for the image. | | caption || Caption for the image. | ||
| Line 280: | 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 | | '''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 | | coordinates || Site of accident or incident. {{UF-coord}} | ||
|- | |- | ||
| mapframe || Show a | | 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 302: | 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 || | | 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. | | aircraft_type || Aircraft's type (e.g. Boeing 747). | ||
|- | |- | ||
| aircraft_name || Aircraft's name in italics (e.g. '' | | 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 | | IATA || Flight designator in the Airline codes#IATA airline designator|IATA system. | ||
|- | |- | ||
| ICAO || Flight designator in the | | ICAO || Flight designator in the Airline codes#ICAO airline designator|ICAO system. | ||
|- | |- | ||
| callsign || Aircraft's | | callsign || Aircraft's Airline codes#Call signs (flight identification or flight ID)|call sign. | ||
|- | |- | ||
| tail_number || Aircraft's | | 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 365: | 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 | | 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 371: | 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 | | 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 || | | alt || ] for the image. | ||
|- | |- | ||
| caption || Caption for the image. | | caption || Caption for the image. | ||
| Line 379: | 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 | | '''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 | | coordinates || Site of accident or incident. {{UF-coord}} | ||
|- | |- | ||
| mapframe || Show a | | 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 403: | 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 | | 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 409: | Line 402: | ||
| plane1_caption || Caption for the plane1 image. | | plane1_caption || Caption for the plane1 image. | ||
|- | |- | ||
| plane1_type || First aircraft's type (e.g. | | 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 415: | 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 | | 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 | | plane1_ICAO || First aircraft's flight designator in the Airline codes#ICAO airline designator|ICAO system. | ||
|- | |- | ||
| plane1_callsign || First aircraft's | | plane1_callsign || First aircraft's Airline codes#Call signs (flight identification or flight ID)|call sign. | ||
|- | |- | ||
| plane1_tailnum || First aircraft's | | 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 458: | Line 451: | ||
|} | |} | ||
== Tracking categories == | == Tracking categories == | ||
| Line 690: | 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:Templates that add a tracking category | |||
}}</includeonly> | }}</includeonly> | ||
==TemplateData== | ==TemplateData== | ||
{{Collapse top| | {{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 714: | Line 482: | ||
"label": "Summary", | "label": "Summary", | ||
"description": "Brief factual summary of the occurrence.", | "description": "Brief factual summary of the occurrence.", | ||
"example": " | "example": "Mid-air collision", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
| Line 721: | 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": " | "example": "Greene County, Missouri, United States", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
| Line 737: | Line 505: | ||
}, | }, | ||
"alt": { | "alt": { | ||
"description": "Alt text for image. | "description": "Alt text for image.", | ||
"autovalue": "", | "autovalue": "", | ||
"suggested": true | "suggested": true | ||
| Line 756: | 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 | "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,108: | 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 | "deprecated": "image_size is discouraged. Please use image_upright instead." | ||
}, | }, | ||
"image_upright": { | "image_upright": { | ||