Template:Infobox aircraft occurrence: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
(added avionics/autopilot/instrument failure)
(Reverted to last good version before undiscussed changes)
Line 1: Line 1:
{{Infobox
{{Infobox
|bodyclass = vcard vevent
| bodyclass = vcard vevent
| title = {{{name|{{{Name|<includeonly>{{PAGENAME}}</includeonly>}}} }}}

| titleclass = fn org summary
<!----- Title ----->
| titlestyle = padding-bottom:0.3em;
|titleclass = fn org summary
| image = {{#if:{{{image|}}}{{{Crash image|}}}|[[Image:{{{image|{{{Crash image}}}}}}|{{{image_size|260}}}px|alt={{{alt|}}}]]}}
|titlestyle = padding-bottom:0.3em;
|title = {{{name|{{{Name|<includeonly>{{PAGENAME}}</includeonly>}}} }}}
| image_size = {{#if:{{{image_size<includeonly>|</includeonly>}}}{{{size|260}}}}}
| caption = {{{caption|{{{Image caption|}}} }}}

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

| data2 = {{{Date|{{{date|}}} }}}
<!---------- Styles ---------->
| label3 = Type
|headerstyle = background:#082567;color:white;
| data3 = {{{Type|{{{type|}}} }}}
|labelstyle = line-height:1.3em;padding-right:1.0em;white-space:nowrap;
| label4 = Site
|datastyle = line-height:1.3em;
| class4 = flabel location

| data4 = {{{Site|{{{site|}}} }}}{{#if:{{{Coordinates|{{{coordinates|{{{coords|}}} }}} }}} |<br />{{nowrap|{{{Coordinates|{{{coordinates|{{{coords}}} }}} }}} }} }}
<!---------- Summary ---------->
| label5 = Passengers
|header1 = <includeonly>{{{occurrence_type|Occurrence}}} summary</includeonly>
| data5 = {{#if:{{{plane2_type|}}}||{{{Passengers|}}}{{{plane1_passengers|}}}{{{passengers|}}} }}
|label2 = Date
| label6 = Crew
|data2 = {{{Date|{{{date|}}} }}}
| data6 = {{#if:{{{plane2_type|}}}||{{{Crew|}}}{{{plane1_crew|}}}{{{crew|}}} }}
|label3 = Type
| label7 = {{#if:{{{plane2_type|}}}|Total injuries |Injuries}}
<!----Type is limited to "A" (avionics/autopilot/instrument failure), "E" (explosion [accidental]), "H" (hijacking), "M" (mechanical), "N" (maintenance), "P" (piloting), "S" (structural), "T" (terrorism [incl. bombing]), "U" (undetermined), "W" (weather):---->
| data7 = {{#if:{{{plane2_type|}}}|{{{total_injuries|}}}|{{{Injuries|{{{plane1_injuries|{{{injuries|}}} }}} }}} }}
|data3 = {{#switch:{{{Type|{{{type|}}}}}} |A=[[Avionics]]{{\}}[[autopilot]]{{\}}[[Flight instruments|instrument]] failure |E=Explosion |H=[[Aircraft hijacking|Hijacking]] |M=Mechanical failure |N=Improper maintenance |P=[[Pilot error|Piloting error]] |S=[[Structural failure#Aircraft|Structural failure]] |T=Terrorism |U=Undetermined |W=Weather-induced |{{{Type|{{{type|}}}}}} }}
| label8 = {{#if:{{{plane2_type|}}}|Total fatalities |Fatalities}}
|label4 = Known or<br/>probable cause
| data8 = {{#if:{{{plane2_type|}}}|{{{total_fatalities|}}}|{{{Fatalities|{{{plane1_fatalities|{{{fatalities|}}} }}} }}} }}
|data4 = {{{Cause|{{{cause|}}} }}}
| label9 = {{#if:{{{plane2_type|}}}|Total survivors |Survivors}}
|label5 = Site
| data9 = {{#if:{{{plane2_type|}}}|{{{total_survivors|}}}|{{{Survivors|{{{plane1_survivors|{{{survivors|}}} }}} }}} }}
|class5 = flabel location
| header10 = {{#if:{{{plane2_type|}}}|First aircraft}}
|data5 = {{{Site|{{{site|}}} }}}{{#if:{{{Coordinates|{{{coordinates|{{{coords|}}} }}} }}} |<br />{{nowrap|{{{Coordinates|{{{coordinates|{{{coords}}} }}} }}} }} }}
| data11 = {{#if:{{{plane1_image|}}}|[[Image:{{{plane1_image}}}|180px|alt={{{plane1_alt|}}}]]{{#if:{{{plane1_caption|}}}|<br/>{{{plane1_caption}}} }} }}
|label6 = Passengers
|data6 = {{#if:{{{plane2_type|}}}||{{{Passengers|}}}{{{plane1_passengers|}}}{{{passengers|}}} }}
| label12 = {{#if:{{{plane2_type|}}}|Type|Aircraft&nbsp;type}}
| data12 = {{{Aircraft Type|{{{aircraft_type|{{{plane1_type|}}}}}}}}}
|label7 = Crew
|data7 = {{#if:{{{plane2_type|}}}||{{{Crew|}}}{{{plane1_crew|}}}{{{crew|}}} }}
| label13 = {{#if:{{{plane2_type|}}}|Name|Aircraft&nbsp;name}}
| data13 = {{{Ship name|{{{aircraft_name|{{{plane1_name|}}}}}}}}}
|label8 = {{#if:{{{plane2_type|}}}|Total injuries |Injuries}}
| label14 = Operator
|data8 = {{#if:{{{plane2_type|}}}|{{{total_injuries|}}}|{{{Injuries|{{{plane1_injuries|{{{injuries|}}} }}} }}} }}
| data14 = {{{Operator|{{{operator|{{{plane1_operator|}}}}}}}}}
|label9 = {{#if:{{{plane2_type|}}}|Total fatalities |Fatalities}}
| label15 = [[Aircraft registration|Tail number]]
|data9 = {{#if:{{{plane2_type|}}}|{{{total_fatalities|}}}|{{{Fatalities|{{{plane1_fatalities|{{{fatalities|}}} }}} }}} }}
| data15 = {{{Tail Number|{{{tail_number|{{{plane1_tailnum|}}}}}}}}}
|label10 = {{#if:{{{plane2_type|}}}|Total survivors |Survivors}}
| label16 = Flight origin
|data10 = {{#if:{{{plane2_type|}}}|{{{total_survivors|}}}|{{{Survivors|{{{plane1_survivors|{{{survivors|}}} }}} }}} }}
| data16 = {{{Origin|{{{origin|{{{plane1_origin|}}}}}}}}}

| label17 = Stopover
<!----- First aircraft ----->
| data17 = {{{Stopover|{{{stopover|{{{plane1_stopover|}}}}}}}}}
|header11 = {{#if:{{{plane2_type|}}}|First aircraft}}
| label18 = 1st stopover
|data12 = {{#if:{{{plane1_image|}}}|[[Image:{{{plane1_image}}}|180px|alt={{{plane1_alt|}}}]]{{#if:{{{plane1_caption|}}}|<br/>{{{plane1_caption}}} }} }}
| data18 = {{{Stopover0|{{{stopover0|{{{plane1_stopover0|}}}}}}}}}
|label13 = {{#if:{{{plane2_type|}}}|Type|Aircraft&nbsp;type}}
| label19 = 2nd stopover
|data13 = {{{Aircraft Type|{{{aircraft_type|{{{plane1_type|}}}}}}}}}
| data19 = {{{Stopover1|{{{stopover1|{{{plane1_stopover1|}}}}}}}}}
|label14 = {{#if:{{{plane2_type|}}}|Name|Aircraft&nbsp;name}}
| label20 = 3rd stopover
|data14 = {{{Ship name|{{{aircraft_name|{{{plane1_name|}}}}}}}}}
| data20 = {{{Stopover2|{{{stopover2|{{{plane1_stopover2|}}}}}}}}}
|label15 = Operator
| label21 = 4th stopover
|data15 = {{{Operator|{{{operator|{{{plane1_operator|}}}}}}}}}
| data21 = {{{Stopover3|{{{stopover3|{{{plane1_stopover3|}}}}}}}}}
|label16 = [[Aircraft registration|Tail number]]
| label22 = Last stopover
|data16 = {{{Tail Number|{{{tail_number|{{{plane1_tailnum|}}}}}}}}}
| data22 = {{{Last stopover|{{{last_stopover|{{{plane1_laststopover|}}}}}}}}}
|label17 = Flight origin
| label23 = Destination
|data17 = {{{Origin|{{{origin|{{{plane1_origin|}}}}}}}}}
| data23 = {{{Destination|{{{destination|{{{plane1_destination|}}}}}}}}}
|label18 = Stopover
| label24 = Passengers
|data18 = {{{Stopover|{{{stopover|{{{plane1_stopover|}}}}}}}}}
| data24 = {{#if:{{{plane2_type|}}}|{{{plane1_passengers|}}} }}
|label19 = 1st stopover
| label25 = Crew
|data19 = {{{Stopover0|{{{stopover0|{{{plane1_stopover0|}}}}}}}}}
| data25 = {{#if:{{{plane2_type|}}}|{{{plane1_crew|}}} }}
|label20 = 2nd stopover
| label26 = Injuries
|data20 = {{{Stopover1|{{{stopover1|{{{plane1_stopover1|}}}}}}}}}
| data26 = {{#if:{{{plane2_type|}}}|{{{plane1_injuries|}}} }}
|label21 = 3rd stopover
| label27 = Fatalities
|data21 = {{{Stopover2|{{{stopover2|{{{plane1_stopover2|}}}}}}}}}
| data27 = {{#if:{{{plane2_type|}}}|{{{plane1_fatalities|}}} }}
|label22 = 4th stopover
| label28 = Survivors
|data22 = {{{Stopover3|{{{stopover3|{{{plane1_stopover3|}}}}}}}}}
| data28 = {{#if:{{{plane2_type|}}}|{{{plane1_survivors|}}} }}
|label23 = Last stopover
| header29 = {{#if:{{{plane2_type|}}}|Second aircraft}}
|data23 = {{{Last stopover|{{{last_stopover|{{{plane1_laststopover|}}}}}}}}}
| data30 = {{#if:{{{plane2_image|}}}|[[Image:{{{plane2_image}}}|180px|alt={{{plane2_alt|}}}]]{{#if:{{{plane2_caption|}}}|<br/>{{{plane2_caption}}} }} }}
|label24 = Destination
| label31 = Type
|data24 = {{{Destination|{{{destination|{{{plane1_destination|}}}}}}}}}
| data31 = {{{plane2_type|}}}
|label25 = Passengers
| label32 = Name
|data25 = {{#if:{{{plane2_type|}}}|{{{plane1_passengers|}}} }}
| data32 = {{{plane2_name|}}}
|label26 = Crew
| label33 = Operator
|data26 = {{#if:{{{plane2_type|}}}|{{{plane1_crew|}}} }}
| data33 = {{{plane2_operator|}}}
|label27 = Injuries
| label34 = [[Aircraft registration|Tail number]]
|data27 = {{#if:{{{plane2_type|}}}|{{{plane1_injuries|}}} }}
| data34 = {{{plane2_tailnum|}}}
|label28 = Fatalities
| label35 = Flight origin
|data28 = {{#if:{{{plane2_type|}}}|{{{plane1_fatalities|}}} }}
| data35 = {{{plane2_origin|}}}
|label29 = Survivors
| label36 = Stopover
|data29 = {{#if:{{{plane2_type|}}}|{{{plane1_survivors|}}} }}
| data36 = {{{plane2_stopover|}}}

| label37 = 1st stopover
<!----- Second aircraft ----->
| data37 = {{{plane2_stopover0|}}}
|header30 = {{#if:{{{plane2_type|}}}|Second aircraft}}
| label38 = 2nd stopover
|data31 = {{#if:{{{plane2_image|}}}|[[Image:{{{plane2_image}}}|180px|alt={{{plane2_alt|}}}]]{{#if:{{{plane2_caption|}}}|<br/>{{{plane2_caption}}} }} }}
| data38 = {{{plane2_stopover1|}}}
|label32 = Type
| label39 = 3rd stopover
|data32 = {{{plane2_type|}}}
| data39 = {{{plane2_stopover2|}}}
|label33 = Name
| label40 = 4th stopover
|data33 = {{{plane2_name|}}}
| data40 = {{{plane2_stopover3|}}}
|label34 = Operator
| label41 = Last stopover
|data34 = {{{plane2_operator|}}}
| data41 = {{{plane2_laststopover|}}}
|label35 = [[Aircraft registration|Tail number]]
| label42 = Destination
|data35 = {{{plane2_tailnum|}}}
| data42 = {{{plane2_destination|}}}
|label36 = Flight origin
| label43 = Passengers
|data36 = {{{plane2_origin|}}}
| data43 = {{{plane2_passengers|}}}
|label37 = Stopover
| label44 = Crew
|data37 = {{{plane2_stopover|}}}
| data44 = {{{plane2_crew|}}}
|label38 = 1st stopover
| label45 = Injuries
|data38 = {{{plane2_stopover0|}}}
| data45 = {{{plane2_injuries|}}}
|label39 = 2nd stopover
| label46 = Fatalities
|data39 = {{{plane2_stopover1|}}}
| data46 = {{{plane2_fatalities|}}}
|label40 = 3rd stopover
| label47 = Survivors
|data40 = {{{plane2_stopover2|}}}
| data47 = {{{plane2_survivors|}}}
|label41 = 4th stopover
| header48 = {{#if:{{{plane3_type|}}}|Third aircraft}}
|data41 = {{{plane2_stopover3|}}}
| data49 = {{#if:{{{plane3_image|}}}|[[Image:{{{plane3_image}}}|180px|alt={{{plane3_alt|}}}]]{{#if:{{{plane3_caption|}}}|<br/>{{{plane3_caption}}} }} }}
|label42 = Last stopover
| label50 = Type
|data42 = {{{plane2_laststopover|}}}
| data50 = {{{plane3_type|}}}
|label43 = Destination
| label51 = Name
|data43 = {{{plane2_destination|}}}
| data51 = {{{plane3_name|}}}
|label44 = Passengers
| label52 = Operator
|data44 = {{{plane2_passengers|}}}
| data52 = {{{plane3_operator|}}}
|label45 = Crew
| label53 = [[Aircraft registration|Tail number]]
|data45 = {{{plane2_crew|}}}
| data53 = {{{plane3_tailnum|}}}
|label46 = Injuries
| label54 = Flight origin
|data46 = {{{plane2_injuries|}}}
| data54 = {{{plane3_origin|}}}
|label47 = Fatalities
| label55 = Stopover
|data47 = {{{plane2_fatalities|}}}
| data55 = {{{plane3_stopover|}}}
|label48 = Survivors
| label56 = 1st stopover
|data48 = {{{plane2_survivors|}}}
| data56 = {{{plane3_stopover0|}}}

| label57 = 2nd stopover
<!----- Third aircraft ----->
| data57 = {{{plane3_stopover1|}}}
|header49 = {{#if:{{{plane3_type|}}}|Third aircraft}}
| label58 = 3rd stopover
|data50 = {{#if:{{{plane3_image|}}}|[[Image:{{{plane3_image}}}|180px|alt={{{plane3_alt|}}}]]{{#if:{{{plane3_caption|}}}|<br/>{{{plane3_caption}}} }} }}
| data58 = {{{plane3_stopover2|}}}
|label51 = Type
| label59 = 4th stopover
|data51 = {{{plane3_type|}}}
| data59 = {{{plane3_stopover3|}}}
|label52 = Name
| label60 = Last stopover
|data52 = {{{plane3_name|}}}
| data60 = {{{plane3_laststopover|}}}
|label53 = Operator
| label61 = Destination
|data53 = {{{plane3_operator|}}}
| data61 = {{{plane3_destination|}}}
|label54 = [[Aircraft registration|Tail number]]
| label62 = Passengers
|data54 = {{{plane3_tailnum|}}}
| data62 = {{{plane3_passengers|}}}
|label55 = Flight origin
| label63 = Crew
|data55 = {{{plane3_origin|}}}
| data63 = {{{plane3_crew|}}}
|label56 = Stopover
| label64 = Injuries
|data56 = {{{plane3_stopover|}}}
| data64 = {{{plane3_injuries|}}}
|label57 = 1st stopover
| label65 = Fatalities
|data57 = {{{plane3_stopover0|}}}
| data65 = {{{plane3_fatalities|}}}
|label58 = 2nd stopover
| label66 = Survivors
|data58 = {{{plane3_stopover1|}}}
| data66 = {{{plane3_survivors|}}}
|label59 = 3rd stopover
|data59 = {{{plane3_stopover2|}}}
|label60 = 4th stopover
|data60 = {{{plane3_stopover3|}}}
|label61 = Last stopover
|data61 = {{{plane3_laststopover|}}}
|label62 = Destination
|data62 = {{{plane3_destination|}}}
|label63 = Passengers
|data63 = {{{plane3_passengers|}}}
|label64 = Crew
|data64 = {{{plane3_crew|}}}
|label65 = Injuries
|data65 = {{{plane3_injuries|}}}
|label66 = Fatalities
|data66 = {{{plane3_fatalities|}}}
|label67 = Survivors
|data67 = {{{plane3_survivors|}}}
}}<noinclude>
}}<noinclude>
{{Documentation}}

<!-- add categories and interwikis to the /doc subpage, please, not here -->
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, please, not here! -->
</noinclude>
</noinclude>

Revision as of 02:44, 28 October 2011