Anonymous

Template:Infobox aircraft occurrence: Difference between revisions

From Roses, Tulips, & Liberty
m
incorporating Coordinates with Site
(created template (merging Infobox Airliner accident and Infobox Mid-air collision))
 
m (incorporating Coordinates with Site)
Line 24:
|label4 = Site
|class4 = flabel location
|data4 = {{{Site|{{{site<includeonly>|</includeonly>}}}}}}<br/><!--
|data5 = -->{{{Coordinates|{{{coords<includeonly>|</includeonly>}}}}}}
|label5 = [[Geographic coordinate system|Coordinates]]
|data5 = {{{Coordinates|{{{coords<includeonly>|</includeonly>}}}}}}
 
<!-----The following two entries only displayed if single-aircraft accident:----->
|label6label5 = Passengers
|data6data5 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |<!--omit-->
| {{{Passengers|}}}{{{plane1_passengers|}}}{{{passengers|}}} }}
|label7label6 = Crew
|data7data6 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |<!--omit-->
| {{{Crew|}}}{{{plane1_crew|}}}{{{crew|}}} }}
<!------------------------------------------------------------------------------->
 
|label8label7 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |Total injuries |Injuries}}
|data8data7 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}}
| {{{total_injuries<includeonly>|</includeonly>}}}
| {{{Injuries|{{{plane1_injuries|{{{injuries|}}}}}}}}} }}
|label9label8 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |Total fatalities |Fatalities}}
|data9data8 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}}
| {{{total_fatalities<includeonly>|</includeonly>}}}
| {{{Fatalities|{{{plane1_fatalities|{{{fatalities|}}}}}}}}} }}
|label10label9 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |Total survivors |Survivors}}
|data10data9 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}}
| {{{total_survivors<includeonly>|</includeonly>}}}
| {{{Survivors|{{{plane1_survivors|{{{survivors|}}}}}}}}} }}
Line 52 ⟶ 51:
 
<!--================================= Plane 1 =================================-->
|header11header10 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |First aircraft}}
|data12data11 = {{#if:{{{plane1_image<includeonly>|</includeonly>}}}
| [[Image:{{{plane1_image}}}|200px]] }}
|label13label12 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |Type |Aircraft type}}
|data13data12 = {{{Aircraft Type|{{{aircraft_type|{{{plane1_type<includeonly>|</includeonly>}}}}}}}}}
|label14label13 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |Name |Aircraft name}}
|data14data13 = {{{Ship name|{{{aircraft_name|{{{plane1_name<includeonly>|</includeonly>}}}}}}}}}
|label15label14 = Operator
|data15data14 = {{{Operator|{{{operator|{{{plane1_operator<includeonly>|</includeonly>}}}}}}}}}
|label16label15 = [[Aircraft registration|Tail number]]
|data16data15 = {{{Tail Number|{{{tail_number|{{{plane1_tailnum<includeonly>|</includeonly>}}}}}}}}}
|label17label16 = Flight origin
|data17data16 = {{{Origin|{{{origin|{{{plane1_origin<includeonly>|</includeonly>}}}}}}}}}
|label18label17 = Stopover
|data18data17 = {{{Stopover|{{{stopover|{{{plane1_stopover<includeonly>|</includeonly>}}}}}}}}}
|label19label18 = First stopover
|data19data18 = {{{Stopover0|{{{stopover0|{{{plane1_stopover0<includeonly>|</includeonly>}}}}}}}}}
|label20label19 = Second stopover
|data20data19 = {{{Stopover1|{{{stopover1|{{{plane1_stopover1<includeonly>|</includeonly>}}}}}}}}}
|label21label20 = Third stopover
|data21data20 = {{{Stopover2|{{{stopover2|{{{plane1_stopover2<includeonly>|</includeonly>}}}}}}}}}
|label22label21 = Fourth stopover
|data22data21 = {{{Stopover3|{{{stopover3|{{{plane1_stopover3<includeonly>|</includeonly>}}}}}}}}}
|label23label22 = Last&nbsp;stopover
|data23data22 = {{{Last stopover|{{{last_stopover|{{{plane1_laststopover<includeonly>|</includeonly>}}}}}}}}}
|label24label23 = Destination
|data24data23 = {{{Destination|{{{destination|{{{plane1_destination<includeonly>|</includeonly>}}}}}}}}}
 
<!-----The following five entries only displayed if multiple-plane accident:----->
|label25label24 = Passengers
|data25data24 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}}
| {{{plane1_passengers<includeonly>|</includeonly>}}} }}
|label26label25 = Crew
|data26data25 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}}
| {{{plane1_crew<includeonly>|</includeonly>}}} }}
|label27label26 = Injuries
|data27data26 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}}
| {{{plane1_injuries<includeonly>|</includeonly>}}} }}
|label28label27 = Fatalities
|data28data27 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}}
| {{{plane1_fatalities<includeonly>|</includeonly>}}} }}
|label29label28 = Survivors
|data29data28 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}}
| {{{plane1_survivors<includeonly>|</includeonly>}}} }}
<!------------------------------------------------------------------------------->
Line 100 ⟶ 99:
 
<!--================================= Plane 2 =================================-->
|header30header20 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |Second aircraft}}
|data31data30 = {{#if:{{{plane2_image<includeonly>|</includeonly>}}}
| [[Image:{{{plane2_image}}}|200px]] }}
|label32label31 = Type
|data32data31 = {{{plane2_type<includeonly>|</includeonly>}}}
|label33label32 = Name
|data33data32 = {{{plane2_name<includeonly>|</includeonly>}}}
|label34label33 = Operator
|data34data33 = {{{plane2_operator<includeonly>|</includeonly>}}}
|label35label34 = [[Aircraft registration|Tail number]]
|data35data34 = {{{plane2_tailnum<includeonly>|</includeonly>}}}
|label36label35 = Flight origin
|data36data35 = {{{plane2_origin<includeonly>|</includeonly>}}}
|label37label36 = Stopover
|data37data36 = {{{plane2_stopover<includeonly>|</includeonly>}}}
|label38label37 = First stopover
|data38data37 = {{{plane2_stopover0<includeonly>|</includeonly>}}}
|label39label38 = Second stopover
|data39data38 = {{{plane2_stopover1<includeonly>|</includeonly>}}}
|label40label39 = Third stopover
|data40data39 = {{{plane2_stopover2<includeonly>|</includeonly>}}}
|label41label40 = Fourth stopover
|data41data40 = {{{plane2_stopover3<includeonly>|</includeonly>}}}
|label42label41 = Last&nbsp;stopover
|data42data41 = {{{plane2_laststopover<includeonly>|</includeonly>}}}
|label43label42 = Destination
|data43data42 = {{{plane2_destination<includeonly>|</includeonly>}}}
|label44label43 = Passengers
|data44data43 = {{{plane2_passengers<includeonly>|</includeonly>}}}
|label45label44 = Crew
|data45data44 = {{{plane2_crew<includeonly>|</includeonly>}}}
|label46label45 = Injuries
|data46data45 = {{{plane2_injuries<includeonly>|</includeonly>}}}
|label47label46 = Fatalities
|data47data46 = {{{plane2_fatalities<includeonly>|</includeonly>}}}
|label48label47 = Survivors
|data48data47 = {{{plane2_survivors<includeonly>|</includeonly>}}}
 
 
<!--================================= Plane 3 =================================-->
|header49header48 = {{#if:{{{plane3_type<includeonly>|</includeonly>}}} |Third aircraft}}
|data50data49 = {{#if:{{{plane3_image<includeonly>|</includeonly>}}}
| [[Image:{{{plane3_image}}}|200px]] }}
|label51label50 = Type
|data51data50 = {{{plane3_type<includeonly>|</includeonly>}}}
|label52label51 = Name
|data52data51 = {{{plane3_name<includeonly>|</includeonly>}}}
|label53label52 = Operator
|data53data52 = {{{plane3_operator<includeonly>|</includeonly>}}}
|label54label53 = [[Aircraft registration|Tail number]]
|data54data53 = {{{plane3_tailnum<includeonly>|</includeonly>}}}
|label55label54 = Flight origin
|data55data54 = {{{plane3_origin<includeonly>|</includeonly>}}}
|label56label55 = Stopover
|data56data55 = {{{plane3_stopover<includeonly>|</includeonly>}}}
|label57label56 = First stopover
|data57data56 = {{{plane3_stopover0<includeonly>|</includeonly>}}}
|label58label57 = Second stopover
|data58data57 = {{{plane3_stopover1<includeonly>|</includeonly>}}}
|label59label58 = Third stopover
|data59data58 = {{{plane3_stopover2<includeonly>|</includeonly>}}}
|label60label59 = Fourth stopover
|data60data59 = {{{plane3_stopover3<includeonly>|</includeonly>}}}
|label61label60 = Last&nbsp;stopover
|data61data60 = {{{plane3_laststopover<includeonly>|</includeonly>}}}
|label62label61 = Destination
|data62data61 = {{{plane3_destination<includeonly>|</includeonly>}}}
|label63label62 = Passengers
|data63data62 = {{{plane3_passengers<includeonly>|</includeonly>}}}
|label64label63 = Crew
|data64data63 = {{{plane3_crew<includeonly>|</includeonly>}}}
|label65label64 = Injuries
|data65data64 = {{{plane3_injuries<includeonly>|</includeonly>}}}
|label66label65 = Fatalities
|data66data65 = {{{plane3_fatalities<includeonly>|</includeonly>}}}
|label67label66 = Survivors
|data67data66 = {{{plane3_survivors<includeonly>|</includeonly>}}}
 
}}<noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.