Template:Infobox aircraft occurrence: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
(created template (merging Infobox Airliner accident and Infobox Mid-air collision))
 
m (incorporating Coordinates with Site)
Line 24: Line 24:
|label4 = Site
|label4 = Site
|class4 = flabel location
|class4 = flabel location
|data4 = {{{Site|{{{site<includeonly>|</includeonly>}}}}}}
|data4 = {{{Site|{{{site<includeonly>|</includeonly>}}}}}}<br/><!--
-->{{{Coordinates|{{{coords<includeonly>|</includeonly>}}}}}}
|label5 = [[Geographic coordinate system|Coordinates]]
|data5 = {{{Coordinates|{{{coords<includeonly>|</includeonly>}}}}}}


<!-----The following two entries only displayed if single-aircraft accident:----->
<!-----The following two entries only displayed if single-aircraft accident:----->
|label6 = Passengers
|label5 = Passengers
|data6 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |<!--omit-->
|data5 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |<!--omit-->
| {{{Passengers|}}}{{{plane1_passengers|}}}{{{passengers|}}} }}
| {{{Passengers|}}}{{{plane1_passengers|}}}{{{passengers|}}} }}
|label7 = Crew
|label6 = Crew
|data7 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |<!--omit-->
|data6 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |<!--omit-->
| {{{Crew|}}}{{{plane1_crew|}}}{{{crew|}}} }}
| {{{Crew|}}}{{{plane1_crew|}}}{{{crew|}}} }}
<!------------------------------------------------------------------------------->
<!------------------------------------------------------------------------------->


|label8 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |Total injuries |Injuries}}
|label7 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |Total injuries |Injuries}}
|data8 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}}
|data7 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}}
| {{{total_injuries<includeonly>|</includeonly>}}}
| {{{total_injuries<includeonly>|</includeonly>}}}
| {{{Injuries|{{{plane1_injuries|{{{injuries|}}}}}}}}} }}
| {{{Injuries|{{{plane1_injuries|{{{injuries|}}}}}}}}} }}
|label9 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |Total fatalities |Fatalities}}
|label8 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |Total fatalities |Fatalities}}
|data9 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}}
|data8 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}}
| {{{total_fatalities<includeonly>|</includeonly>}}}
| {{{total_fatalities<includeonly>|</includeonly>}}}
| {{{Fatalities|{{{plane1_fatalities|{{{fatalities|}}}}}}}}} }}
| {{{Fatalities|{{{plane1_fatalities|{{{fatalities|}}}}}}}}} }}
|label10 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |Total survivors |Survivors}}
|label9 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |Total survivors |Survivors}}
|data10 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}}
|data9 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}}
| {{{total_survivors<includeonly>|</includeonly>}}}
| {{{total_survivors<includeonly>|</includeonly>}}}
| {{{Survivors|{{{plane1_survivors|{{{survivors|}}}}}}}}} }}
| {{{Survivors|{{{plane1_survivors|{{{survivors|}}}}}}}}} }}
Line 52: Line 51:


<!--================================= Plane 1 =================================-->
<!--================================= Plane 1 =================================-->
|header11 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |First aircraft}}
|header10 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |First aircraft}}
|data12 = {{#if:{{{plane1_image<includeonly>|</includeonly>}}}
|data11 = {{#if:{{{plane1_image<includeonly>|</includeonly>}}}
| [[Image:{{{plane1_image}}}|200px]] }}
| [[Image:{{{plane1_image}}}|200px]] }}
|label13 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |Type |Aircraft type}}
|label12 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |Type |Aircraft type}}
|data13 = {{{Aircraft Type|{{{aircraft_type|{{{plane1_type<includeonly>|</includeonly>}}}}}}}}}
|data12 = {{{Aircraft Type|{{{aircraft_type|{{{plane1_type<includeonly>|</includeonly>}}}}}}}}}
|label14 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |Name |Aircraft name}}
|label13 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |Name |Aircraft name}}
|data14 = {{{Ship name|{{{aircraft_name|{{{plane1_name<includeonly>|</includeonly>}}}}}}}}}
|data13 = {{{Ship name|{{{aircraft_name|{{{plane1_name<includeonly>|</includeonly>}}}}}}}}}
|label15 = Operator
|label14 = Operator
|data15 = {{{Operator|{{{operator|{{{plane1_operator<includeonly>|</includeonly>}}}}}}}}}
|data14 = {{{Operator|{{{operator|{{{plane1_operator<includeonly>|</includeonly>}}}}}}}}}
|label16 = [[Aircraft registration|Tail number]]
|label15 = [[Aircraft registration|Tail number]]
|data16 = {{{Tail Number|{{{tail_number|{{{plane1_tailnum<includeonly>|</includeonly>}}}}}}}}}
|data15 = {{{Tail Number|{{{tail_number|{{{plane1_tailnum<includeonly>|</includeonly>}}}}}}}}}
|label17 = Flight origin
|label16 = Flight origin
|data17 = {{{Origin|{{{origin|{{{plane1_origin<includeonly>|</includeonly>}}}}}}}}}
|data16 = {{{Origin|{{{origin|{{{plane1_origin<includeonly>|</includeonly>}}}}}}}}}
|label18 = Stopover
|label17 = Stopover
|data18 = {{{Stopover|{{{stopover|{{{plane1_stopover<includeonly>|</includeonly>}}}}}}}}}
|data17 = {{{Stopover|{{{stopover|{{{plane1_stopover<includeonly>|</includeonly>}}}}}}}}}
|label19 = First stopover
|label18 = First stopover
|data19 = {{{Stopover0|{{{stopover0|{{{plane1_stopover0<includeonly>|</includeonly>}}}}}}}}}
|data18 = {{{Stopover0|{{{stopover0|{{{plane1_stopover0<includeonly>|</includeonly>}}}}}}}}}
|label20 = Second stopover
|label19 = Second stopover
|data20 = {{{Stopover1|{{{stopover1|{{{plane1_stopover1<includeonly>|</includeonly>}}}}}}}}}
|data19 = {{{Stopover1|{{{stopover1|{{{plane1_stopover1<includeonly>|</includeonly>}}}}}}}}}
|label21 = Third stopover
|label20 = Third stopover
|data21 = {{{Stopover2|{{{stopover2|{{{plane1_stopover2<includeonly>|</includeonly>}}}}}}}}}
|data20 = {{{Stopover2|{{{stopover2|{{{plane1_stopover2<includeonly>|</includeonly>}}}}}}}}}
|label22 = Fourth stopover
|label21 = Fourth stopover
|data22 = {{{Stopover3|{{{stopover3|{{{plane1_stopover3<includeonly>|</includeonly>}}}}}}}}}
|data21 = {{{Stopover3|{{{stopover3|{{{plane1_stopover3<includeonly>|</includeonly>}}}}}}}}}
|label23 = Last&nbsp;stopover
|label22 = Last&nbsp;stopover
|data23 = {{{Last stopover|{{{last_stopover|{{{plane1_laststopover<includeonly>|</includeonly>}}}}}}}}}
|data22 = {{{Last stopover|{{{last_stopover|{{{plane1_laststopover<includeonly>|</includeonly>}}}}}}}}}
|label24 = Destination
|label23 = Destination
|data24 = {{{Destination|{{{destination|{{{plane1_destination<includeonly>|</includeonly>}}}}}}}}}
|data23 = {{{Destination|{{{destination|{{{plane1_destination<includeonly>|</includeonly>}}}}}}}}}


<!-----The following five entries only displayed if multiple-plane accident:----->
<!-----The following five entries only displayed if multiple-plane accident:----->
|label25 = Passengers
|label24 = Passengers
|data25 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}}
|data24 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}}
| {{{plane1_passengers<includeonly>|</includeonly>}}} }}
| {{{plane1_passengers<includeonly>|</includeonly>}}} }}
|label26 = Crew
|label25 = Crew
|data26 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}}
|data25 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}}
| {{{plane1_crew<includeonly>|</includeonly>}}} }}
| {{{plane1_crew<includeonly>|</includeonly>}}} }}
|label27 = Injuries
|label26 = Injuries
|data27 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}}
|data26 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}}
| {{{plane1_injuries<includeonly>|</includeonly>}}} }}
| {{{plane1_injuries<includeonly>|</includeonly>}}} }}
|label28 = Fatalities
|label27 = Fatalities
|data28 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}}
|data27 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}}
| {{{plane1_fatalities<includeonly>|</includeonly>}}} }}
| {{{plane1_fatalities<includeonly>|</includeonly>}}} }}
|label29 = Survivors
|label28 = Survivors
|data29 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}}
|data28 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}}
| {{{plane1_survivors<includeonly>|</includeonly>}}} }}
| {{{plane1_survivors<includeonly>|</includeonly>}}} }}
<!------------------------------------------------------------------------------->
<!------------------------------------------------------------------------------->
Line 100: Line 99:


<!--================================= Plane 2 =================================-->
<!--================================= Plane 2 =================================-->
|header30 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |Second aircraft}}
|header20 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |Second aircraft}}
|data31 = {{#if:{{{plane2_image<includeonly>|</includeonly>}}}
|data30 = {{#if:{{{plane2_image<includeonly>|</includeonly>}}}
| [[Image:{{{plane2_image}}}|200px]] }}
| [[Image:{{{plane2_image}}}|200px]] }}
|label32 = Type
|label31 = Type
|data32 = {{{plane2_type<includeonly>|</includeonly>}}}
|data31 = {{{plane2_type<includeonly>|</includeonly>}}}
|label33 = Name
|label32 = Name
|data33 = {{{plane2_name<includeonly>|</includeonly>}}}
|data32 = {{{plane2_name<includeonly>|</includeonly>}}}
|label34 = Operator
|label33 = Operator
|data34 = {{{plane2_operator<includeonly>|</includeonly>}}}
|data33 = {{{plane2_operator<includeonly>|</includeonly>}}}
|label35 = [[Aircraft registration|Tail number]]
|label34 = [[Aircraft registration|Tail number]]
|data35 = {{{plane2_tailnum<includeonly>|</includeonly>}}}
|data34 = {{{plane2_tailnum<includeonly>|</includeonly>}}}
|label36 = Flight origin
|label35 = Flight origin
|data36 = {{{plane2_origin<includeonly>|</includeonly>}}}
|data35 = {{{plane2_origin<includeonly>|</includeonly>}}}
|label37 = Stopover
|label36 = Stopover
|data37 = {{{plane2_stopover<includeonly>|</includeonly>}}}
|data36 = {{{plane2_stopover<includeonly>|</includeonly>}}}
|label38 = First stopover
|label37 = First stopover
|data38 = {{{plane2_stopover0<includeonly>|</includeonly>}}}
|data37 = {{{plane2_stopover0<includeonly>|</includeonly>}}}
|label39 = Second stopover
|label38 = Second stopover
|data39 = {{{plane2_stopover1<includeonly>|</includeonly>}}}
|data38 = {{{plane2_stopover1<includeonly>|</includeonly>}}}
|label40 = Third stopover
|label39 = Third stopover
|data40 = {{{plane2_stopover2<includeonly>|</includeonly>}}}
|data39 = {{{plane2_stopover2<includeonly>|</includeonly>}}}
|label41 = Fourth stopover
|label40 = Fourth stopover
|data41 = {{{plane2_stopover3<includeonly>|</includeonly>}}}
|data40 = {{{plane2_stopover3<includeonly>|</includeonly>}}}
|label42 = Last&nbsp;stopover
|label41 = Last&nbsp;stopover
|data42 = {{{plane2_laststopover<includeonly>|</includeonly>}}}
|data41 = {{{plane2_laststopover<includeonly>|</includeonly>}}}
|label43 = Destination
|label42 = Destination
|data43 = {{{plane2_destination<includeonly>|</includeonly>}}}
|data42 = {{{plane2_destination<includeonly>|</includeonly>}}}
|label44 = Passengers
|label43 = Passengers
|data44 = {{{plane2_passengers<includeonly>|</includeonly>}}}
|data43 = {{{plane2_passengers<includeonly>|</includeonly>}}}
|label45 = Crew
|label44 = Crew
|data45 = {{{plane2_crew<includeonly>|</includeonly>}}}
|data44 = {{{plane2_crew<includeonly>|</includeonly>}}}
|label46 = Injuries
|label45 = Injuries
|data46 = {{{plane2_injuries<includeonly>|</includeonly>}}}
|data45 = {{{plane2_injuries<includeonly>|</includeonly>}}}
|label47 = Fatalities
|label46 = Fatalities
|data47 = {{{plane2_fatalities<includeonly>|</includeonly>}}}
|data46 = {{{plane2_fatalities<includeonly>|</includeonly>}}}
|label48 = Survivors
|label47 = Survivors
|data48 = {{{plane2_survivors<includeonly>|</includeonly>}}}
|data47 = {{{plane2_survivors<includeonly>|</includeonly>}}}




<!--================================= Plane 3 =================================-->
<!--================================= Plane 3 =================================-->
|header49 = {{#if:{{{plane3_type<includeonly>|</includeonly>}}} |Third aircraft}}
|header48 = {{#if:{{{plane3_type<includeonly>|</includeonly>}}} |Third aircraft}}
|data50 = {{#if:{{{plane3_image<includeonly>|</includeonly>}}}
|data49 = {{#if:{{{plane3_image<includeonly>|</includeonly>}}}
| [[Image:{{{plane3_image}}}|200px]] }}
| [[Image:{{{plane3_image}}}|200px]] }}
|label51 = Type
|label50 = Type
|data51 = {{{plane3_type<includeonly>|</includeonly>}}}
|data50 = {{{plane3_type<includeonly>|</includeonly>}}}
|label52 = Name
|label51 = Name
|data52 = {{{plane3_name<includeonly>|</includeonly>}}}
|data51 = {{{plane3_name<includeonly>|</includeonly>}}}
|label53 = Operator
|label52 = Operator
|data53 = {{{plane3_operator<includeonly>|</includeonly>}}}
|data52 = {{{plane3_operator<includeonly>|</includeonly>}}}
|label54 = [[Aircraft registration|Tail number]]
|label53 = [[Aircraft registration|Tail number]]
|data54 = {{{plane3_tailnum<includeonly>|</includeonly>}}}
|data53 = {{{plane3_tailnum<includeonly>|</includeonly>}}}
|label55 = Flight origin
|label54 = Flight origin
|data55 = {{{plane3_origin<includeonly>|</includeonly>}}}
|data54 = {{{plane3_origin<includeonly>|</includeonly>}}}
|label56 = Stopover
|label55 = Stopover
|data56 = {{{plane3_stopover<includeonly>|</includeonly>}}}
|data55 = {{{plane3_stopover<includeonly>|</includeonly>}}}
|label57 = First stopover
|label56 = First stopover
|data57 = {{{plane3_stopover0<includeonly>|</includeonly>}}}
|data56 = {{{plane3_stopover0<includeonly>|</includeonly>}}}
|label58 = Second stopover
|label57 = Second stopover
|data58 = {{{plane3_stopover1<includeonly>|</includeonly>}}}
|data57 = {{{plane3_stopover1<includeonly>|</includeonly>}}}
|label59 = Third stopover
|label58 = Third stopover
|data59 = {{{plane3_stopover2<includeonly>|</includeonly>}}}
|data58 = {{{plane3_stopover2<includeonly>|</includeonly>}}}
|label60 = Fourth stopover
|label59 = Fourth stopover
|data60 = {{{plane3_stopover3<includeonly>|</includeonly>}}}
|data59 = {{{plane3_stopover3<includeonly>|</includeonly>}}}
|label61 = Last&nbsp;stopover
|label60 = Last&nbsp;stopover
|data61 = {{{plane3_laststopover<includeonly>|</includeonly>}}}
|data60 = {{{plane3_laststopover<includeonly>|</includeonly>}}}
|label62 = Destination
|label61 = Destination
|data62 = {{{plane3_destination<includeonly>|</includeonly>}}}
|data61 = {{{plane3_destination<includeonly>|</includeonly>}}}
|label63 = Passengers
|label62 = Passengers
|data63 = {{{plane3_passengers<includeonly>|</includeonly>}}}
|data62 = {{{plane3_passengers<includeonly>|</includeonly>}}}
|label64 = Crew
|label63 = Crew
|data64 = {{{plane3_crew<includeonly>|</includeonly>}}}
|data63 = {{{plane3_crew<includeonly>|</includeonly>}}}
|label65 = Injuries
|label64 = Injuries
|data65 = {{{plane3_injuries<includeonly>|</includeonly>}}}
|data64 = {{{plane3_injuries<includeonly>|</includeonly>}}}
|label66 = Fatalities
|label65 = Fatalities
|data66 = {{{plane3_fatalities<includeonly>|</includeonly>}}}
|data65 = {{{plane3_fatalities<includeonly>|</includeonly>}}}
|label67 = Survivors
|label66 = Survivors
|data67 = {{{plane3_survivors<includeonly>|</includeonly>}}}
|data66 = {{{plane3_survivors<includeonly>|</includeonly>}}}


}}<noinclude>
}}<noinclude>