Template:Infobox aircraft occurrence: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
(Activated new type/cause entries. (The Bushranger: This will remain transparent due to the #switch default result.))
m (127 revisions imported from wikipedia:Template:Infobox_aircraft_occurrence)
 
(37 intermediate revisions by 19 users not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
|bodyclass = vcard vevent
| bodyclass = vcard vevent
| title = {{{name|{{{Name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} }}}

| titleclass = fn org summary
<!----- Title ----->
| titlestyle = padding-bottom:0.3em;
|titleclass = fn org summary
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{Crash image|}}}}}}|size={{{image_size|{{{size|}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}}}
|titlestyle = padding-bottom:0.3em;
|title = {{{name|{{{Name|<includeonly>{{PAGENAME}}</includeonly>}}} }}}
| caption = {{{caption|{{{Image caption|}}} }}}
| captionstyle = line-height:1.3em;

| headerstyle = background-color: #082567; color: white
<!---------- Image ---------->
| labelstyle = line-height:1.3em; padding-right:1.0em; white-space:nowrap;
|image = {{#if:{{{image|}}}{{{Crash image|}}}|[[Image:{{{image|{{{Crash image}}}}}}|{{{image_size|260}}}px|alt={{{alt|}}}]]}}
| datastyle = line-height:1.3em;
|image_size = {{#if:{{{image_size<includeonly>|</includeonly>}}}{{{size|260}}}}}
| header1 = <includeonly>{{{occurrence_type|Occurrence}}}</includeonly>
|captionstyle = padding-top:1.0em;line-height:1.3em;
| label2 = Date
|caption = {{{caption|{{{Image caption|}}} }}}
| data2 = {{{Date|{{{date|}}} }}}

| label3 = Summary
<!---------- Styles ---------->
| data3 = {{{summary|{{{Type|{{{type|}}}}}}}}}
|headerstyle = background:#082567;color:white;
| label4 = Site
|labelstyle = line-height:1.3em;padding-right:1.0em;white-space:nowrap;
| class4 = flabel location
|datastyle = line-height:1.3em;
| data4 = {{{Site|{{{site|}}} }}}{{#if:{{{Coordinates|{{{coordinates|{{{coords|}}} }}} }}} |<br />{{{Coordinates|{{{coordinates|{{{coords}}} }}} }}} }}

<!--
<!---------- Summary ---------->
| header5 = {{{TotalCasualties|{{#if:{{{total_fatalities|}}}|Total casualties|{{#if:{{{total_injuries|}}}|Total casualties|{{#if:{{{missing|}}}|Total casualties|{{#if:{{{total_missing|}}}|Total casualties|{{#if:{{{total_survivors|}}}|Total casualties}} }} }} }} }} }}}
|header1 = <includeonly>{{{occurrence_type|Occurrence}}} summary</includeonly>
-->
|label2 = Date
| label6 = Total fatalities
|data2 = {{{Date|{{{date|}}} }}}
| data6 = {{{total_fatalities|}}}

| label7 = Total injuries
|label3 = Type
| data7 = {{{total_injuries|}}}
<!----Type# is limited to 1=Structural, 2=Mechanical, 3=Maintenance, 4=Weather, 5=Piloting, 6=Explosion [accidental], 7=Terrorism [bombing], 8=Hijacking, 9=Undetermined:---->
| label8 = Total missing
|data3 = {{#switch:{{{type#|}}} |1=[[Structural failure#Aircraft|Structural failure]] |2=Mechanical failure |3=Improper maintenance |4=Weather-induced |5=[[Pilot error|Piloting error]] |6=Explosion |7=Terrorism |8=[[Aircraft hijacking|Hijacking]] |9=Undetermined |{{{Type|{{{type|}}}}}} }}
| data8 = {{{total_missing|}}}
|label4 = Cause
| label9 = Total survivors
|data4 = {{{cause|}}}
| data9 = {{{total_survivors|}}}
|label5 = Site
| header10 = {{#if:{{{plane2_type|}}}|First aircraft|{{#if:{{{aircraft_type|}}}|Aircraft}} }}
|class5 = flabel location
| data11 = {{#if:{{{plane1_image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{plane1_image|}}}|size={{{plane1_image_size|}}}|sizedefault=frameless|upright={{{plane1_image_upright|1}}}|alt={{{plane1_alt|}}} }} {{#if:{{{plane1_caption|}}}|<br/>{{{plane1_caption}}} }} }}
|data5 = {{{Site|{{{site|}}} }}}{{#if:{{{Coordinates|{{{coordinates|{{{coords|}}} }}} }}} |<br />{{nowrap|{{{Coordinates|{{{coordinates|{{{coords}}} }}} }}} }} }}
| label12 = {{#if:{{{plane2_type|}}}|Type|Aircraft&nbsp;type}}
|label6 = Passengers
|data6 = {{#if:{{{plane2_type|}}}||{{{Passengers|}}}{{{plane1_passengers|}}}{{{passengers|}}} }}
| data12 = {{{Aircraft Type|{{{aircraft_type|{{{plane1_type|}}}}}}}}}
| label13 = {{#if:{{{plane2_type|}}}|Name|Aircraft&nbsp;name}}
|label7 = Crew
|data7 = {{#if:{{{plane2_type|}}}||{{{Crew|}}}{{{plane1_crew|}}}{{{crew|}}} }}
| data13 = {{{Ship name|{{{aircraft_name|{{{plane1_name|}}}}}}}}}
| label14 = Operator
|label8 = {{#if:{{{plane2_type|}}}|Total injuries |Injuries}}
|data8 = {{#if:{{{plane2_type|}}}|{{{total_injuries|}}}|{{{Injuries|{{{plane1_injuries|{{{injuries|}}} }}} }}} }}
| data14 = {{{Operator|{{{operator|{{{plane1_operator|}}}}}}}}}
| label15 = IATA flight No.
|label9 = {{#if:{{{plane2_type|}}}|Total fatalities |Fatalities}}
| data15 = {{{IATA|{{{plane1_IATA|}}}}}}
|data9 = {{#if:{{{plane2_type|}}}|{{{total_fatalities|}}}|{{{Fatalities|{{{plane1_fatalities|{{{fatalities|}}} }}} }}} }}
| label16 = ICAO flight No.
|label10 = {{#if:{{{plane2_type|}}}|Total survivors |Survivors}}
| data16 = {{{ICAO|{{{plane1_ICAO|}}}}}}
|data10 = {{#if:{{{plane2_type|}}}|{{{total_survivors|}}}|{{{Survivors|{{{plane1_survivors|{{{survivors|}}} }}} }}} }}
| label17 = Call sign

| data17 = {{{callsign|{{{plane1_callsign|}}}}}}
<!----- First aircraft ----->
| label18 = [[Aircraft registration|Registration]]
|header11 = {{#if:{{{plane2_type|}}}|First aircraft}}
| data18 = {{{Tail Number|{{{tail_number|{{{plane1_tailnum|}}}}}}}}}
|data12 = {{#if:{{{plane1_image|}}}|[[Image:{{{plane1_image}}}|180px|alt={{{plane1_alt|}}}]]{{#if:{{{plane1_caption|}}}|<br/>{{{plane1_caption}}} }} }}
| label19 = Flight origin
|label13 = {{#if:{{{plane2_type|}}}|Type|Aircraft&nbsp;type}}
|data13 = {{{Aircraft Type|{{{aircraft_type|{{{plane1_type|}}}}}}}}}
| data19 = {{{Origin|{{{origin|{{{plane1_origin|}}}}}}}}}
| label20 = Stopover
|label14 = {{#if:{{{plane2_type|}}}|Name|Aircraft&nbsp;name}}
|data14 = {{{Ship name|{{{aircraft_name|{{{plane1_name|}}}}}}}}}
| data20 = {{{Stopover|{{{stopover|{{{plane1_stopover|}}}}}}}}}
| label21 = 1st stopover
|label15 = Operator
|data15 = {{{Operator|{{{operator|{{{plane1_operator|}}}}}}}}}
| data21 = {{{Stopover0|{{{stopover0|{{{plane1_stopover0|}}}}}}}}}
| label22 = 2nd stopover
|label16 = [[Aircraft registration|Tail number]]
|data16 = {{{Tail Number|{{{tail_number|{{{plane1_tailnum|}}}}}}}}}
| data22 = {{{Stopover1|{{{stopover1|{{{plane1_stopover1|}}}}}}}}}
| label23 = 3rd stopover
|label17 = Flight origin
|data17 = {{{Origin|{{{origin|{{{plane1_origin|}}}}}}}}}
| data23 = {{{Stopover2|{{{stopover2|{{{plane1_stopover2|}}}}}}}}}
| label24 = 4th stopover
|label18 = Stopover
|data18 = {{{Stopover|{{{stopover|{{{plane1_stopover|}}}}}}}}}
| data24 = {{{Stopover3|{{{stopover3|{{{plane1_stopover3|}}}}}}}}}
|label19 = 1st stopover
| label25 = 5th stopover
|data19 = {{{Stopover0|{{{stopover0|{{{plane1_stopover0|}}}}}}}}}
| data25 = {{{Stopover4|{{{stopover4|{{{plane1_stopover4|}}}}}}}}}
|label20 = 2nd stopover
| label26 = 6th stopover
|data20 = {{{Stopover1|{{{stopover1|{{{plane1_stopover1|}}}}}}}}}
| data26 = {{{Stopover5|{{{stopover5|{{{plane1_stopover5|}}}}}}}}}
|label21 = 3rd stopover
| label27 = Last stopover
|data21 = {{{Stopover2|{{{stopover2|{{{plane1_stopover2|}}}}}}}}}
| data27 = {{{Last stopover|{{{last_stopover|{{{plane1_laststopover|}}}}}}}}}
| label28 = Destination
|label22 = 4th stopover
|data22 = {{{Stopover3|{{{stopover3|{{{plane1_stopover3|}}}}}}}}}
| data28 = {{{Destination|{{{destination|{{{plane1_destination|}}}}}}}}}
| label29 = Occupants
|label23 = Last stopover
|data23 = {{{Last stopover|{{{last_stopover|{{{plane1_laststopover|}}}}}}}}}
| data29 = {{{Occupants|{{{plane1_occupants|{{{occupants|}}}}}}}}}
| label30 = Passengers
|label24 = Destination
|data24 = {{{Destination|{{{destination|{{{plane1_destination|}}}}}}}}}
| data30 = {{{Passengers|{{{plane1_passengers|{{{passengers|}}}}}}}}}
| label31 = Crew
|label25 = Passengers
|data25 = {{#if:{{{plane2_type|}}}|{{{plane1_passengers|}}} }}
| data31 = {{{Crew|{{{plane1_crew|{{{crew|}}}}}}}}}
| label32 = Fatalities
|label26 = Crew
|data26 = {{#if:{{{plane2_type|}}}|{{{plane1_crew|}}} }}
| data32 = {{{Fatalities|{{{plane1_fatalities|{{{fatalities|}}}}}} }}}
|label27 = Injuries
| label33 = Injuries
|data27 = {{#if:{{{plane2_type|}}}|{{{plane1_injuries|}}} }}
| data33 = {{{Injuries|{{{plane1_injuries|{{{injuries|}}} }}} }}}
| label34 = Missing
|label28 = Fatalities
|data28 = {{#if:{{{plane2_type|}}}|{{{plane1_fatalities|}}} }}
| data34 = {{{Missing|{{{plane1_missing|{{{missing|}}} }}} }}}
|label29 = Survivors
| label35 = Survivors
|data29 = {{#if:{{{plane2_type|}}}|{{{plane1_survivors|}}} }}
| data35 = {{{Survivors|{{{plane1_survivors|{{{survivors|}}} }}}}}}
| header36 = {{#if:{{{plane2_type|}}}|Second aircraft}}

| data37 = {{#if:{{{plane2_image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{plane2_image|}}}|size={{{plane2_image_size|}}}|sizedefault=frameless|upright={{{plane2_image_upright|1}}}|alt={{{plane2_alt|}}} }} {{#if:{{{plane2_caption|}}}|<br/>{{{plane2_caption}}} }} }}
<!----- Second aircraft ----->
| label38 = Type
|header30 = {{#if:{{{plane2_type|}}}|Second aircraft}}
| data38 = {{{plane2_type|}}}
|data31 = {{#if:{{{plane2_image|}}}|[[Image:{{{plane2_image}}}|180px|alt={{{plane2_alt|}}}]]{{#if:{{{plane2_caption|}}}|<br/>{{{plane2_caption}}} }} }}
| label39 = Name
|label32 = Type
|data32 = {{{plane2_type|}}}
| data39 = {{{plane2_name|}}}
| label40 = Operator
|label33 = Name
|data33 = {{{plane2_name|}}}
| data40 = {{{plane2_operator|}}}
| label41 = IATA flight No.
|label34 = Operator
|data34 = {{{plane2_operator|}}}
| data41 = {{{plane2_IATA|}}}
| label42 = ICAO flight No.
|label35 = [[Aircraft registration|Tail number]]
|data35 = {{{plane2_tailnum|}}}
| data42 = {{{plane2_ICAO|}}}
| label43 = Call sign
|label36 = Flight origin
|data36 = {{{plane2_origin|}}}
| data43 = {{{plane2_callsign|}}}
| label45 = Registration
|label37 = Stopover
|data37 = {{{plane2_stopover|}}}
| data45 = {{{plane2_tailnum|}}}
| label46 = Flight origin
|label38 = 1st stopover
|data38 = {{{plane2_stopover0|}}}
| data46 = {{{plane2_origin|}}}
| label47 = Stopover
|label39 = 2nd stopover
|data39 = {{{plane2_stopover1|}}}
| data47 = {{{plane2_stopover|}}}
|label40 = 3rd stopover
| label48 = 1st stopover
|data40 = {{{plane2_stopover2|}}}
| data48 = {{{plane2_stopover0|}}}
|label41 = 4th stopover
| label49 = 2nd stopover
|data41 = {{{plane2_stopover3|}}}
| data49 = {{{plane2_stopover1|}}}
|label42 = Last stopover
| label50 = 3rd stopover
|data42 = {{{plane2_laststopover|}}}
| data50 = {{{plane2_stopover2|}}}
| label51 = 4th stopover
|label43 = Destination
|data43 = {{{plane2_destination|}}}
| data51 = {{{plane2_stopover3|}}}
| label52 = 5th stopover
|label44 = Passengers
|data44 = {{{plane2_passengers|}}}
| data52 = {{{plane2_stopover4|}}}
| label53 = 6th stopover
|label45 = Crew
|data45 = {{{plane2_crew|}}}
| data53 = {{{plane2_stopover5|}}}
| label54 = Last stopover
|label46 = Injuries
|data46 = {{{plane2_injuries|}}}
| data54 = {{{plane2_laststopover|}}}
| label55 = Destination
|label47 = Fatalities
|data47 = {{{plane2_fatalities|}}}
| data55 = {{{plane2_destination|}}}
| label56 = Occupants
|label48 = Survivors
|data48 = {{{plane2_survivors|}}}
| data56 = {{{plane2_occupants|}}}
| label57 = Passengers

| data57 = {{{plane2_passengers|}}}
<!----- Third aircraft ----->
| label58 = Crew
|header49 = {{#if:{{{plane3_type|}}}|Third aircraft}}
| data58 = {{{plane2_crew|}}}
|data50 = {{#if:{{{plane3_image|}}}|[[Image:{{{plane3_image}}}|180px|alt={{{plane3_alt|}}}]]{{#if:{{{plane3_caption|}}}|<br/>{{{plane3_caption}}} }} }}
| label59 = Fatalities
|label51 = Type
|data51 = {{{plane3_type|}}}
| data59 = {{{plane2_fatalities|}}}
| label60 = Injuries
|label52 = Name
|data52 = {{{plane3_name|}}}
| data60 = {{{plane2_injuries|}}}
| label61 = Missing
|label53 = Operator
| data61 = {{#if:{{{plane2_type|}}}|{{{plane2_missing|}}} }}
|data53 = {{{plane3_operator|}}}
| label62 = Survivors
|label54 = [[Aircraft registration|Tail number]]
|data54 = {{{plane3_tailnum|}}}
| data62 = {{{plane2_survivors|}}}
| header63 = {{#if:{{{plane3_type|}}}|Third aircraft}}
|label55 = Flight origin
| data64 = {{#if:{{{plane3_image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{plane3_image|}}}|size={{{plane3_image_size|}}}|sizedefault=frameless|upright={{{plane3_image_upright|1}}}|alt={{{plane3_alt|}}} }} {{#if:{{{plane3_caption|}}}|<br/>{{{plane3_caption}}} }} }}
|data55 = {{{plane3_origin|}}}
| label65 = Type
|label56 = Stopover
|data56 = {{{plane3_stopover|}}}
| data65 = {{{plane3_type|}}}
| label66 = Name
|label57 = 1st stopover
|data57 = {{{plane3_stopover0|}}}
| data66 = {{{plane3_name|}}}
| label67 = Operator
|label58 = 2nd stopover
|data58 = {{{plane3_stopover1|}}}
| data67 = {{{plane3_operator|}}}
| label68 = IATA flight No.
|label59 = 3rd stopover
|data59 = {{{plane3_stopover2|}}}
| data68 = {{{plane3_IATA|}}}
| label69 = ICAO flight No.
|label60 = 4th stopover
|data60 = {{{plane3_stopover3|}}}
| data69 = {{{plane3_ICAO|}}}
| label70 = Call sign
|label61 = Last stopover
|data61 = {{{plane3_laststopover|}}}
| data70 = {{{plane3_callsign|}}}
| label71 = Registration
|label62 = Destination
|data62 = {{{plane3_destination|}}}
| data71 = {{{plane3_tailnum|}}}
| label72 = Flight origin
|label63 = Passengers
|data63 = {{{plane3_passengers|}}}
| data72 = {{{plane3_origin|}}}
| label73 = Stopover
|label64 = Crew
|data64 = {{{plane3_crew|}}}
| data73 = {{{plane3_stopover|}}}
| label74 = 1st stopover
|label65 = Injuries
|data65 = {{{plane3_injuries|}}}
| data74 = {{{plane3_stopover0|}}}
| label75 = 2nd stopover
|label66 = Fatalities
|data66 = {{{plane3_fatalities|}}}
| data75 = {{{plane3_stopover1|}}}
| label76 = 3rd stopover
|label67 = Survivors
|data67 = {{{plane3_survivors|}}}
| data76 = {{{plane3_stopover2|}}}
| label77 = 4th stopover
}}<noinclude>
| data77 = {{{plane3_stopover3|}}}

| label78 = 5th stopover
{{documentation}}
| data78 = {{{plane3_stopover4|}}}
<!-- Add categories and interwikis to the /doc subpage, please, not here! -->
| label79 = 6th stopover
| data79 = {{{plane3_stopover5|}}}
| label80 = Last stopover
| data80 = {{{plane3_laststopover|}}}
| label81 = Destination
| data81 = {{{plane3_destination|}}}
| label82 = Occupants
| data82 = {{{plane3_occupants|}}}
| label83 = Passengers
| data83 = {{{plane3_passengers|}}}
| label84 = Crew
| data84 = {{{plane3_crew|}}}
| label85 = Fatalities
| data85 = {{{plane3_fatalities|}}}
| label86 = Injuries
| data86 = {{{plane3_injuries|}}}
| label87 = Missing
| data87 = {{#if:{{{plane3_type|}}}|{{{plane3_missing|}}} }}
| label88 = Survivors
| data88 = {{{plane3_survivors|}}}
| header89 = {{#if:{{{ground_fatalities|}}}|Ground casualties|{{#if:{{{ground_injuries|}}}|Ground casualties|}} }}
| label90 = Ground fatalities
| data90 = {{{ground_fatalities|}}}
| label91 = Ground injuries
| data91 = {{{ground_injuries|}}}
}}<!--
-->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox aircraft occurrence with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox aircraft occurrence]] with unknown parameter "_VALUE_"|ignoreblank=y| aircraft_name | aircraft_type | Aircraft Type | alt | callsign | caption | coordinates | Coordinates | coords | Crash image | crew | Crew | date | Date | destination | Destination | fatalities | Fatalities | ground_fatalities | ground_injuries | IATA | ICAO | image | Image caption | image_size | image_upright | injuries | Injuries | last_stopover | Last stopover | missing | Missing | name | Name | occupants | Occupants | occurrence_type | operator | Operator | origin | Origin | passengers | Passengers | plane1_alt | plane1_callsign | plane1_caption | plane1_crew | plane1_destination | plane1_fatalities | plane1_IATA | plane1_ICAO | plane1_image | plane1_image_size | plane1_image_upright | plane1_injuries | plane1_laststopover | plane1_missing | plane1_name | plane1_occupants | plane1_operator | plane1_origin | plane1_passengers | plane1_stopover | plane1_stopover0 | plane1_stopover1 | plane1_stopover2 | plane1_stopover3 | plane1_stopover4 | plane1_stopover5 | plane1_survivors | plane1_tailnum | plane1_type | plane2_alt | plane2_callsign | plane2_caption | plane2_crew | plane2_destination | plane2_fatalities | plane2_IATA | plane2_ICAO | plane2_image | plane2_image_size | plane2_image_upright | plane2_injuries | plane2_laststopover | plane2_missing | plane2_name | plane2_occupants | plane2_operator | plane2_origin | plane2_passengers | plane2_stopover | plane2_stopover0 | plane2_stopover1 | plane2_stopover2 | plane2_stopover3 | plane2_stopover4 | plane2_stopover5 | plane2_survivors | plane2_tailnum | plane2_type | plane3_alt | plane3_callsign | plane3_caption | plane3_crew | plane3_destination | plane3_fatalities | plane3_IATA | plane3_ICAO | plane3_image | plane3_image_size | plane3_image_upright | plane3_injuries | plane3_laststopover | plane3_missing | plane3_name | plane3_occupants | plane3_operator | plane3_origin | plane3_passengers | plane3_stopover | plane3_stopover0 | plane3_stopover1 | plane3_stopover2 | plane3_stopover3 | plane3_stopover4 | plane3_stopover5 | plane3_survivors | plane3_tailnum | plane3_type | Ship name | site | Site | size | stopover | Stopover | stopover0 | Stopover0 | stopover1 | Stopover1 | stopover2 | Stopover2 | stopover3 | Stopover3 | stopover4 | Stopover4 | stopover5 | Stopover5 | summary | survivors | Survivors | tail_number | Tail Number | total_fatalities | total_injuries | total_missing | total_survivors | type | Type}}<!--
--><noinclude>
{{Documentation}}
<!-- add categories and interwikis to the /doc subpage, please, not here -->
</noinclude>
</noinclude>

Latest revision as of 14:19, 1 June 2024