Template:Infobox aircraft occurrence: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
(fix wrong caption placement)
(added some headings to code)
Line 1:
{{Infobox
| bodyclass = vcard vevent
 
| title = {{{name|{{{Name|<includeonly>{{PAGENAME}}</includeonly>}}} }}}
<!----- Title ----->
| titleclass = fn org summary
|titleclass = fn org summary
| titlestyle = padding-bottom:0.3em;
|titlestyle = padding-bottom:0.3em;
| image = {{#if:{{{image|}}}{{{Crash image|}}}|[[Image:{{{image|{{{Crash image}}}}}}|{{{image_size|260}}}px|alt={{{alt|}}}]]}}
| image_size title = {{#if:{name|{{image_size{Name|<includeonly>|{{PAGENAME}}</includeonly>}}}{{{size|260}} }}}
 
| caption = {{{caption|{{{Image caption|}}} }}}
<!----- Image ----->
| captionstyle = padding-top:1.0em; line-height:1.3em;
|image = {{#if:{{{image|}}}{{{Crash image|}}}|[[Image:{{{image|{{{Crash image}}}}}}|{{{image_size|260}}}px|alt={{{alt|}}}]]}}
| headerstyle = background-color: #082567; color: white
|image_size = {{#if:{{{image_size<includeonly>|</includeonly>}}}{{{size|260}}}}}
| labelstyle = line-height:1.3em; padding-right:1.0em; white-space:nowrap;
| datastyle captionstyle = padding-top:1.0em;line-height:1.3em;
|caption = {{{caption|{{{Image caption|}}} }}}
| header1 = <includeonly>{{{occurrence_type|Occurrence}}} summary</includeonly>
 
| label2 = Date
<!----- Styles ----->
| data2 = {{{Date|{{{date|}}} }}}
|headerstyle = background:#082567;color:white;
| label3 = Type
|labelstyle = line-height:1.3em;padding-right:1.0em;white-space:nowrap;
| data3 = {{{Type|{{{type|}}} }}}
|datastyle = line-height:1.3em;
| label4 = Site
 
| class4 = flabel location
<!----- Summary ----->
| data4 = {{{Site|{{{site|}}} }}}{{#if:{{{Coordinates|{{{coordinates|{{{coords|}}} }}} }}} |<br />{{nowrap|{{{Coordinates|{{{coordinates|{{{coords}}} }}} }}} }} }}
|header1 = <includeonly>{{{occurrence_type|Occurrence}}} summary</includeonly>
| label5 = Passengers
|label2 = Date
| data5 = {{#if:{{{plane2_type|}}}||{{{Passengers|}}}{{{plane1_passengers|}}}{{{passengers|}}} }}
|data2 = {{{Date|{{{date|}}} }}}
| label6 = Crew
|label3 = Type
| data6 = {{#if:{{{plane2_type|}}}||{{{Crew|}}}{{{plane1_crew|}}}{{{crew|}}} }}
| label7 data3 = {{#if:{Type|{{plane2_type{type|}}}|Total injuries |Injuries}}}
|label4 = Site
| data7 = {{#if:{{{plane2_type|}}}|{{{total_injuries|}}}|{{{Injuries|{{{plane1_injuries|{{{injuries|}}} }}} }}} }}
|class4 = flabel location
| label8 = {{#if:{{{plane2_type|}}}|Total fatalities |Fatalities}}
| data8 data4 = {{#if:{Site|{{{plane2_typesite|}}} }}}{{#if:{{{Coordinates|{{{total_fatalitiescoordinates|{{{coords|}}} }}} }}} |<br />{{{Fatalitiesnowrap|{{{plane1_fatalitiesCoordinates|{{{fatalitiescoordinates|{{{coords}}} }}} }}} }} }}
|label5 = Passengers
| label9 = {{#if:{{{plane2_type|}}}|Total survivors |Survivors}}
| data9 data5 = {{#if:{{{plane2_type|}}}||{{{total_survivorsPassengers|}}}|{{{Survivorsplane1_passengers|}}}{{{plane1_survivorspassengers|{{{survivors|}}} }}} }}} }}
|label6 = Crew
| header10 = {{#if:{{{plane2_type|}}}|First aircraft}}
| data11 data6 = {{#if:{{{plane1_imageplane2_type|}}}|[[Image:{{{plane1_image}}}|180px|alt={{{plane1_altCrew|}}}]]{{#if:{{{plane1_captionplane1_crew|}}}|<br/>{{{plane1_captioncrew|}}} }} }}
| label12 label7 = {{#if:{{{plane2_type|}}}|TypeTotal injuries |Aircraft&nbsp;typeInjuries}}
| data12 data7 = {{#if:{Aircraft Type{{plane2_type|}}}|{{{aircraft_typetotal_injuries|}}}|{{{plane1_typeInjuries|{{{plane1_injuries|{{{injuries|}}} }}} }}} }}
| label13 label8 = {{#if:{{{plane2_type|}}}|NameTotal fatalities |Aircraft&nbsp;nameFatalities}}
|data8 = {{#if:{{{plane2_type|}}}|{{{total_fatalities|}}}|{{{Fatalities|{{{plane1_fatalities|{{{fatalities|}}} }}} }}} }}
| data13 = {{{Ship name|{{{aircraft_name|{{{plane1_name|}}}}}}}}}
|label9 = {{#if:{{{plane2_type|}}}|Total survivors |Survivors}}
| label14 = Operator
| data14 data9 = {{#if:{Operator{{plane2_type|}}}|{{{operatortotal_survivors|}}}|{{{plane1_operatorSurvivors|{{{plane1_survivors|{{{survivors|}}} }}} }}} }}
 
| label15 = [[Aircraft registration|Tail number]]
<!----- First aircraft ----->
| data15 = {{{Tail Number|{{{tail_number|{{{plane1_tailnum|}}}}}}}}}
|header10 = {{#if:{{{plane2_type|}}}|First aircraft}}
| label16 = Flight origin
|data11 = {{#if:{{{plane1_image|}}}|[[Image:{{{plane1_image}}}|180px|alt={{{plane1_alt|}}}]]{{#if:{{{plane1_caption|}}}|<br/>{{{plane1_caption}}} }} }}
| data16 = {{{Origin|{{{origin|{{{plane1_origin|}}}}}}}}}
|label12 = {{#if:{{{plane2_type|}}}|Type|Aircraft&nbsp;type}}
| label17 = Stopover
| data17 data12 = {{{StopoverAircraft Type|{{{stopoveraircraft_type|{{{plane1_stopoverplane1_type|}}}}}}}}}
|label13 = {{#if:{{{plane2_type|}}}|Name|Aircraft&nbsp;name}}
| label18 = 1st stopover
| data18 data13 = {{{Stopover0Ship name|{{{stopover0aircraft_name|{{{plane1_stopover0plane1_name|}}}}}}}}}
|label14 = Operator
| label19 = 2nd stopover
| data19 data14 = {{{Stopover1Operator|{{{stopover1operator|{{{plane1_stopover1plane1_operator|}}}}}}}}}
|label15 = [[Aircraft registration|Tail number]]
| label20 = 3rd stopover
| data20 data15 = {{{Stopover2Tail Number|{{{stopover2tail_number|{{{plane1_stopover2plane1_tailnum|}}}}}}}}}
|label16 = Flight origin
| label21 = 4th stopover
| data21 data16 = {{{Stopover3Origin|{{{stopover3origin|{{{plane1_stopover3plane1_origin|}}}}}}}}}
|label17 = Stopover
| label22 = Last stopover
| data22 data17 = {{{Last stopoverStopover|{{{last_stopoverstopover|{{{plane1_laststopoverplane1_stopover|}}}}}}}}}
|label18 = 1st stopover
| label23 = Destination
| data23 data18 = {{{DestinationStopover0|{{{destinationstopover0|{{{plane1_destinationplane1_stopover0|}}}}}}}}}
|label19 = 2nd stopover
| label24 = Passengers
| data24 data19 = {{#if:{Stopover1|{{plane2_type|}}}{stopover1|{{{plane1_passengersplane1_stopover1|}}} }}}}}}
|label20 = 3rd stopover
| label25 = Crew
| data25 data20 = {{#if:{Stopover2|{{plane2_type|}}}{stopover2|{{{plane1_crewplane1_stopover2|}}} }}}}}}
|label21 = 4th stopover
| label26 = Injuries
| data26 data21 = {{#if:{Stopover3|{{plane2_type|}}}{stopover3|{{{plane1_injuriesplane1_stopover3|}}} }}}}}}
|label22 = Last stopover
| label27 = Fatalities
| data27 data22 = {{#if:{Last stopover|{{plane2_type|}}}{last_stopover|{{{plane1_fatalitiesplane1_laststopover|}}} }}}}}}
|label23 = Destination
| label28 = Survivors
| data28 data23 = {{#if:{Destination|{{plane2_type|}}}{destination|{{{plane1_survivorsplane1_destination|}}} }}}}}}
|label24 = Passengers
| header29 = {{#if:{{{plane2_type|}}}|Second aircraft}}
|data24 = {{#if:{{{plane2_type|}}}|{{{plane1_passengers|}}} }}
| data30 = {{#if:{{{plane2_image|}}}|[[Image:{{{plane2_image}}}|180px|alt={{{plane2_alt|}}}]]{{#if:{{{plane2_caption|}}}|<br/>{{{plane2_caption}}} }} }}
|label25 = Crew
| label31 = Type
| data31 data25 = {{#if:{{{plane2_type|}}}|{{{plane1_crew|}}} }}
|label26 = Injuries
| label32 = Name
|data26 = {{#if:{{{plane2_type|}}}|{{{plane1_injuries|}}} }}
| data32 = {{{plane2_name|}}}
|label27 = Fatalities
| label33 = Operator
|data27 = {{#if:{{{plane2_type|}}}|{{{plane1_fatalities|}}} }}
| data33 = {{{plane2_operator|}}}
|label28 = Survivors
| label34 = [[Aircraft registration|Tail number]]
|data28 = {{#if:{{{plane2_type|}}}|{{{plane1_survivors|}}} }}
| data34 = {{{plane2_tailnum|}}}
 
| label35 = Flight origin
<!----- Second aircraft ----->
| data35 = {{{plane2_origin|}}}
|header29 = {{#if:{{{plane2_type|}}}|Second aircraft}}
| label36 = Stopover
|data30 = {{#if:{{{plane2_image|}}}|[[Image:{{{plane2_image}}}|180px|alt={{{plane2_alt|}}}]]{{#if:{{{plane2_caption|}}}|<br/>{{{plane2_caption}}} }} }}
| data36 = {{{plane2_stopover|}}}
|label31 = Type
| label37 = 1st stopover
| data37 data31 = {{{plane2_stopover0plane2_type|}}}
|label32 = Name
| label38 = 2nd stopover
| data38 data32 = {{{plane2_stopover1plane2_name|}}}
|label33 = Operator
| label39 = 3rd stopover
| data39 data33 = {{{plane2_stopover2plane2_operator|}}}
|label34 = [[Aircraft registration|Tail number]]
| label40 = 4th stopover
| data40 data34 = {{{plane2_stopover3plane2_tailnum|}}}
|label35 = Flight origin
| label41 = Last stopover
| data41 data35 = {{{plane2_laststopoverplane2_origin|}}}
|label36 = Stopover
| label42 = Destination
| data42 data36 = {{{plane2_destinationplane2_stopover|}}}
|label37 = 1st stopover
| label43 = Passengers
| data43 data37 = {{{plane2_passengersplane2_stopover0|}}}
|label38 = 2nd stopover
| label44 = Crew
| data44 data38 = {{{plane2_crewplane2_stopover1|}}}
|label39 = 3rd stopover
| label45 = Injuries
| data45 data39 = {{{plane2_injuriesplane2_stopover2|}}}
|label40 = 4th stopover
| label46 = Fatalities
| data46 data40 = {{{plane2_fatalitiesplane2_stopover3|}}}
|label41 = Last stopover
| label47 = Survivors
| data47 data41 = {{{plane2_survivorsplane2_laststopover|}}}
|label42 = Destination
| header48 = {{#if:{{{plane3_type|}}}|Third aircraft}}
|data42 = {{{plane2_destination|}}}
| data49 = {{#if:{{{plane3_image|}}}|[[Image:{{{plane3_image}}}|180px|alt={{{plane3_alt|}}}]]{{#if:{{{plane3_caption|}}}|<br/>{{{plane3_caption}}} }} }}
|label43 = Passengers
| label50 = Type
| data50 data43 = {{{plane3_typeplane2_passengers|}}}
|label44 = Crew
| label51 = Name
| data51 data44 = {{{plane3_nameplane2_crew|}}}
|label45 = Injuries
| label52 = Operator
| data52 data45 = {{{plane3_operatorplane2_injuries|}}}
|label46 = Fatalities
| label53 = [[Aircraft registration|Tail number]]
| data53 data46 = {{{plane3_tailnumplane2_fatalities|}}}
|label47 = Survivors
| label54 = Flight origin
| data54 data47 = {{{plane3_originplane2_survivors|}}}
 
| label55 = Stopover
<!----- Third aircraft ----->
| data55 = {{{plane3_stopover|}}}
|header48 = {{#if:{{{plane3_type|}}}|Third aircraft}}
| label56 = 1st stopover
|data49 = {{#if:{{{plane3_image|}}}|[[Image:{{{plane3_image}}}|180px|alt={{{plane3_alt|}}}]]{{#if:{{{plane3_caption|}}}|<br/>{{{plane3_caption}}} }} }}
| data56 = {{{plane3_stopover0|}}}
|label50 = Type
| label57 = 2nd stopover
| data57 data50 = {{{plane3_stopover1plane3_type|}}}
|label51 = Name
| label58 = 3rd stopover
| data58 data51 = {{{plane3_stopover2plane3_name|}}}
|label52 = Operator
| label59 = 4th stopover
| data59 data52 = {{{plane3_stopover3plane3_operator|}}}
|label53 = [[Aircraft registration|Tail number]]
| label60 = Last stopover
| data60 data53 = {{{plane3_laststopoverplane3_tailnum|}}}
|label54 = Flight origin
| label61 = Destination
| data61 data54 = {{{plane3_destinationplane3_origin|}}}
|label55 = Stopover
| label62 = Passengers
| data62 data55 = {{{plane3_passengersplane3_stopover|}}}
|label56 = 1st stopover
| label63 = Crew
| data63 data56 = {{{plane3_crewplane3_stopover0|}}}
|label57 = 2nd stopover
| label64 = Injuries
| data64 data57 = {{{plane3_injuriesplane3_stopover1|}}}
|label58 = 3rd stopover
| label65 = Fatalities
| data65 data58 = {{{plane3_fatalitiesplane3_stopover2|}}}
|label59 = 4th stopover
| label66 = Survivors
| data66 data59 = {{{plane3_survivorsplane3_stopover3|}}}
|label60 = Last stopover
|data60 = {{{plane3_laststopover|}}}
|label61 = Destination
|data61 = {{{plane3_destination|}}}
|label62 = Passengers
|data62 = {{{plane3_passengers|}}}
|label63 = Crew
|data63 = {{{plane3_crew|}}}
|label64 = Injuries
|data64 = {{{plane3_injuries|}}}
|label65 = Fatalities
|data65 = {{{plane3_fatalities|}}}
|label66 = Survivors
|data66 = {{{plane3_survivors|}}}
}}<noinclude>
{{Documentation}}

Revision as of 13:41, 23 July 2011