Template:Infobox aircraft occurrence: Difference between revisions

m
(preparing type/cause distinction)
m (127 revisions imported from wikipedia:Template:Infobox_aircraft_occurrence)
 
(40 intermediate revisions by 20 users not shown)
Line 1:
{{Infobox
| 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 caption = {{{namecaption|{{{NameImage caption|<includeonly>{{PAGENAME}}</includeonly>}}} }}}
| 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
|data2 = {{{Date|{{{date|}}} }}}
 
|label3 = Type
<!----Type# is limited to 1=Structural, 2=Mechanical, 3=Maintenance, 4=Weather, 5=Piloting, 6=Terrorism (bombing) 7=Hijacking, 8=Undetermined:---->
|data3 = {{#switch:{{{type#|}}} |1=[[Structural failure#Aircraft|Structural failure]] |2=Mechanical failure |3=Improper maintenance |4=Weather |5=[[Pilot error|Piloting error]] |6=Terrorism |7=[[Aircraft hijacking|Hijacking]] |8=Undetermined}}
<!--|label4 = Cause
|data4 = {{{cause|}}}
-->
| label6 = Total fatalities
 
| data6 = {{{total_fatalities|}}}
|label4 = Type
| label7 = Total injuries
|data4 = {{{Type|{{{type|}}} }}}
| data7 = {{{total_injuries|}}}
|label5 = Site
| label8 = Total missing
|class5 = flabel location
| data8 = {{{total_missing|}}}
|data5 = {{{Site|{{{site|}}} }}}{{#if:{{{Coordinates|{{{coordinates|{{{coords|}}} }}} }}} |<br />{{nowrap|{{{Coordinates|{{{coordinates|{{{coords}}} }}} }}} }} }}
| label9 = Total survivors
|label6 = Passengers
| data9 = {{{total_survivors|}}}
|data6 = {{#if:{{{plane2_type|}}}||{{{Passengers|}}}{{{plane1_passengers|}}}{{{passengers|}}} }}
| header10 = {{#if:{{{plane2_type|}}}|First aircraft|{{#if:{{{aircraft_type|}}}|Aircraft}} }}
|label7 = Crew
| 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}}} }} }}
|data7 = {{#if:{{{plane2_type|}}}||{{{Crew|}}}{{{plane1_crew|}}}{{{crew|}}} }}
|label8 label12 = {{#if:{{{plane2_type|}}}|Total injuries Type|InjuriesAircraft&nbsp;type}}
|data8 data12 = {{#if:{{{plane2_type|}}}Aircraft Type|{{{total_injuries|}}}aircraft_type|{{{Injuries|{{{plane1_injuries|{{{injuriesplane1_type|}}} }}} }}} }}
|label9 label13 = {{#if:{{{plane2_type|}}}|Total fatalities Name|FatalitiesAircraft&nbsp;name}}
| data13 = {{{Ship name|{{{aircraft_name|{{{plane1_name|}}}}}}}}}
|data9 = {{#if:{{{plane2_type|}}}|{{{total_fatalities|}}}|{{{Fatalities|{{{plane1_fatalities|{{{fatalities|}}} }}} }}} }}
| label14 = Operator
|label10 = {{#if:{{{plane2_type|}}}|Total survivors |Survivors}}
|data10 data14 = {{#if:{{{plane2_type|}}}Operator|{{{total_survivors|}}}operator|{{{Survivors|{{{plane1_survivors|{{{survivorsplane1_operator|}}} }}} }}} }}
| label15 = IATA flight No.
 
| data15 = {{{IATA|{{{plane1_IATA|}}}}}}
<!----- First aircraft ----->
| label16 = ICAO flight No.
|header11 = {{#if:{{{plane2_type|}}}|First aircraft}}
| data16 = {{{ICAO|{{{plane1_ICAO|}}}}}}
|data12 = {{#if:{{{plane1_image|}}}|[[Image:{{{plane1_image}}}|180px|alt={{{plane1_alt|}}}]]{{#if:{{{plane1_caption|}}}|<br/>{{{plane1_caption}}} }} }}
| label17 = Call sign
|label13 = {{#if:{{{plane2_type|}}}|Type|Aircraft&nbsp;type}}
|data13 =data17 {{{Aircraft Type| = {{{aircraft_typecallsign|{{{plane1_typeplane1_callsign|}}}}}}}}}
| label18 = [[Aircraft registration|Registration]]
|label14 = {{#if:{{{plane2_type|}}}|Name|Aircraft&nbsp;name}}
|data14 data18 = {{{ShipTail nameNumber|{{{aircraft_nametail_number|{{{plane1_nameplane1_tailnum|}}}}}}}}}
| label19 = Flight origin
|label15 = Operator
|data15 data19 = {{{OperatorOrigin|{{{operatororigin|{{{plane1_operatorplane1_origin|}}}}}}}}}
| label20 = Stopover
|label16 = [[Aircraft registration|Tail number]]
|data16 data20 = {{{Tail NumberStopover|{{{tail_numberstopover|{{{plane1_tailnumplane1_stopover|}}}}}}}}}
| label21 = 1st stopover
|label17 = Flight origin
|data17 data21 = {{{OriginStopover0|{{{originstopover0|{{{plane1_originplane1_stopover0|}}}}}}}}}
| label22 = 2nd stopover
|label18 = Stopover
|data18 data22 = {{{StopoverStopover1|{{{stopoverstopover1|{{{plane1_stopoverplane1_stopover1|}}}}}}}}}
|label19 label23 = 1st3rd stopover
|data19 data23 = {{{Stopover0Stopover2|{{{stopover0stopover2|{{{plane1_stopover0plane1_stopover2|}}}}}}}}}
|label20 label24 = 2nd4th stopover
|data20 data24 = {{{Stopover1Stopover3|{{{stopover1stopover3|{{{plane1_stopover1plane1_stopover3|}}}}}}}}}
|label21 label25 = 3rd5th stopover
|data21 data25 = {{{Stopover2Stopover4|{{{stopover2stopover4|{{{plane1_stopover2plane1_stopover4|}}}}}}}}}
|label22 label26 = 4th6th stopover
|data22 data26 = {{{Stopover3Stopover5|{{{stopover3stopover5|{{{plane1_stopover3plane1_stopover5|}}}}}}}}}
|label23 label27 = Last stopover
|data23 data27 = {{{Last stopover|{{{last_stopover|{{{plane1_laststopover|}}}}}}}}}
|label24 label28 = Destination
|data24 data28 = {{{Destination|{{{destination|{{{plane1_destination|}}}}}}}}}
| label29 = Occupants
|label25 = Passengers
|data25 data29 = {{#if:{Occupants|{{{plane2_type|}}}plane1_occupants|{{{plane1_passengersoccupants|}}} }}}}}}
| label30 = Passengers
|label26 = Crew
|data26 data30 = {{#if:{Passengers|{{{plane2_type|}}}plane1_passengers|{{{plane1_crewpassengers|}}} }}}}}}
| label31 = Crew
|label27 = Injuries
|data27 data31 = {{#if:{Crew|{{{plane2_type|}}}plane1_crew|{{{plane1_injuriescrew|}}} }}}}}}
|label28 label32 = Fatalities
|data28 data32 = {{#if:{Fatalities|{{plane2_type|}}}{plane1_fatalities|{{{plane1_fatalitiesfatalities|}}}}}} }}}
| label33 = Injuries
|label29 = Survivors
|data29 data33 = {{#if:{Injuries|{{{plane2_type|}}}plane1_injuries|{{{plane1_survivorsinjuries|}}} }}} }}}
| label34 = Missing
 
| data34 = {{{Missing|{{{plane1_missing|{{{missing|}}} }}} }}}
<!----- Second aircraft ----->
| label35 = Survivors
|header30 = {{#if:{{{plane2_type|}}}|Second aircraft}}
| data35 = {{{Survivors|{{{plane1_survivors|{{{survivors|}}} }}}}}}
|data31 = {{#if:{{{plane2_image|}}}|[[Image:{{{plane2_image}}}|180px|alt={{{plane2_alt|}}}]]{{#if:{{{plane2_caption|}}}|<br/>{{{plane2_caption}}} }} }}
| header36 = {{#if:{{{plane2_type|}}}|Second aircraft}}
|label32 = Type
| 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}}} }} }}
|data32 = {{{plane2_type|}}}
| label38 = Type
|label33 = Name
|data33 data38 = {{{plane2_nameplane2_type|}}}
| label39 = Name
|label34 = Operator
|data34 data39 = {{{plane2_operatorplane2_name|}}}
| label40 = Operator
|label35 = [[Aircraft registration|Tail number]]
|data35 data40 = {{{plane2_tailnumplane2_operator|}}}
| label41 = IATA flight No.
|label36 = Flight origin
|data36 data41 = {{{plane2_originplane2_IATA|}}}
| label42 = ICAO flight No.
|label37 = Stopover
|data37 data42 = {{{plane2_stopoverplane2_ICAO|}}}
| label43 = Call sign
|label38 = 1st stopover
|data38 data43 = {{{plane2_stopover0plane2_callsign|}}}
| label45 = Registration
|label39 = 2nd stopover
|data39 data45 = {{{plane2_stopover1plane2_tailnum|}}}
| label46 = Flight origin
|label40 = 3rd stopover
|data40 data46 = {{{plane2_stopover2plane2_origin|}}}
| label47 = Stopover
|label41 = 4th stopover
|data41 data47 = {{{plane2_stopover3plane2_stopover|}}}
|label42 label48 = Last1st stopover
|data42 data48 = {{{plane2_laststopoverplane2_stopover0|}}}
| label49 = 2nd stopover
|label43 = Destination
|data43 data49 = {{{plane2_destinationplane2_stopover1|}}}
| label50 = 3rd stopover
|label44 = Passengers
|data44 data50 = {{{plane2_passengersplane2_stopover2|}}}
| label51 = 4th stopover
|label45 = Crew
|data45 data51 = {{{plane2_crewplane2_stopover3|}}}
| label52 = 5th stopover
|label46 = Injuries
|data46 data52 = {{{plane2_injuriesplane2_stopover4|}}}
| label53 = 6th stopover
|label47 = Fatalities
|data47 data53 = {{{plane2_fatalitiesplane2_stopover5|}}}
| label54 = Last stopover
|label48 = Survivors
|data48 data54 = {{{plane2_survivorsplane2_laststopover|}}}
| label55 = Destination
 
| data55 = {{{plane2_destination|}}}
<!----- Third aircraft ----->
| label56 = Occupants
|header49 = {{#if:{{{plane3_type|}}}|Third aircraft}}
| data56 = {{{plane2_occupants|}}}
|data50 = {{#if:{{{plane3_image|}}}|[[Image:{{{plane3_image}}}|180px|alt={{{plane3_alt|}}}]]{{#if:{{{plane3_caption|}}}|<br/>{{{plane3_caption}}} }} }}
| label57 = Passengers
|label51 = Type
|data51 data57 = {{{plane3_typeplane2_passengers|}}}
| label58 = Crew
|label52 = Name
|data52 data58 = {{{plane3_nameplane2_crew|}}}
| label59 = Fatalities
|label53 = Operator
|data53 data59 = {{{plane3_operatorplane2_fatalities|}}}
| label60 = Injuries
|label54 = [[Aircraft registration|Tail number]]
|data54 data60 = {{{plane3_tailnumplane2_injuries|}}}
| label61 = Missing
|label55 = Flight origin
| data61 = {{#if:{{{plane2_type|}}}|{{{plane2_missing|}}} }}
|data55 = {{{plane3_origin|}}}
| label62 = Survivors
|label56 = Stopover
|data56 data62 = {{{plane3_stopoverplane2_survivors|}}}
| header63 = {{#if:{{{plane3_type|}}}|Third aircraft}}
|label57 = 1st stopover
| 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}}} }} }}
|data57 = {{{plane3_stopover0|}}}
| label65 = Type
|label58 = 2nd stopover
|data58 data65 = {{{plane3_stopover1plane3_type|}}}
| label66 = Name
|label59 = 3rd stopover
|data59 data66 = {{{plane3_stopover2plane3_name|}}}
| label67 = Operator
|label60 = 4th stopover
|data60 data67 = {{{plane3_stopover3plane3_operator|}}}
| label68 = IATA flight No.
|label61 = Last stopover
|data61 data68 = {{{plane3_laststopoverplane3_IATA|}}}
| label69 = ICAO flight No.
|label62 = Destination
|data62 data69 = {{{plane3_destinationplane3_ICAO|}}}
| label70 = Call sign
|label63 = Passengers
|data63 data70 = {{{plane3_passengersplane3_callsign|}}}
| label71 = Registration
|label64 = Crew
|data64 data71 = {{{plane3_crewplane3_tailnum|}}}
| label72 = Flight origin
|label65 = Injuries
|data65 data72 = {{{plane3_injuriesplane3_origin|}}}
| label73 = Stopover
|label66 = Fatalities
|data66 data73 = {{{plane3_fatalitiesplane3_stopover|}}}
| label74 = 1st stopover
|label67 = Survivors
|data67 data74 = {{{plane3_survivorsplane3_stopover0|}}}
| label75 = 2nd stopover
}}<noinclude>
| data75 = {{{plane3_stopover1|}}}
 
| label76 = 3rd stopover
{{documentation}}
| data76 = {{{plane3_stopover2|}}}
<!-- Add categories and interwikis to the /doc subpage, please, not here! -->
| label77 = 4th stopover
| data77 = {{{plane3_stopover3|}}}
| label78 = 5th stopover
| data78 = {{{plane3_stopover4|}}}
| 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>
rtl-contributors
1,676

edits