Template:Infobox aircraft occurrence: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
(Add support for alt text as per WP:ALT.) |
(de-cruft this) |
||
Line 1: | Line 1: | ||
{{ infobox |
|||
| bodyclass = vcard vevent |
|||
-->{{Infobox |
|||
| title = {{{name|{{{Name|{{PAGENAME}}}}}}}} |
|||
|bodyclass = infobox vcard vevent |
|||
| titleclass = fn org summary |
|||
|title = '''{{{name<includeonly>|{{{Name|{{PAGENAME}}}}}</includeonly>}}}''' |
|||
| image = {{#if:{{{image|}}}{{{Crash image|}}}|[[Image:{{{image|{{{Crash image}}}}}}|{{{image_size|260}}}px|alt={{{alt|}}}]]}} |
|||
|titleclass = fn org summary |
|||
| caption = {{{caption|{{{Image caption|}}} }}} |
|||
|titlestyle = font-size:150%; text-align:center; padding-top:0.5em; padding-bottom:0.25em; |
|||
| headerstyle = background-color :#082567; color: white |
|||
|image = {{#if:{{{image<includeonly>|</includeonly>}}}{{{Crash image|}}} |
|||
|[[Image:{{{image<includeonly>|{{{Crash image}}}</includeonly>}}}<includeonly>|{{{image_size|260}}}px</includeonly>|alt={{{alt<includeonly>|</includeonly>}}}]]}} |
|||
|image_size = {{#if:{{{image_size<includeonly>|</includeonly>}}}{{{size|260}}}}} |
|||
|imagestyle = padding:0.2em; |
|||
|caption = <div style="padding-top:0.5em; line-height:1.2em;"><!-- |
|||
-->{{{caption<includeonly>|{{{Image caption|}}}</includeonly>}}}</div> |
|||
|headerstyle = background:#082567; color:white; font-size:1.2em; padding:0.2em 0em; |
|||
|labelstyle = width:34%; background:transparent; line-height:1.2em; |
|||
|datastyle = line-height:1.2em; vertical-align:middle; |
|||
| header1 = {{{occurrence_type|Occurrence}}} summary |
|||
<!--================================= Summary =================================--> |
|||
| label2 = Date |
|||
|header1 = {{{occurrence_type|Occurrence}}} summary |
|||
| |
| data2 = {{{Date|{{{date}}}}}} |
||
| label3 = Type |
|||
|data2 = {{{Date|{{{date}}}}}} |
|||
| |
| data3 = {{{Type|{{{type}}}}}} |
||
| label4 = Site |
|||
|data3 = {{{Type|{{{type}}}}}} |
|||
| class4 = flabel location |
|||
|label4 = Site |
|||
| data4 = {{{Site|{{{site}}}}}}{{#if:{{{Coordinates|{{{coords|}}}}}}|<br />{{{Coordinates|{{{coords}}}}}}}} |
|||
|class4 = flabel location |
|||
| label5 = Passengers |
|||
|data4 = {{{Site|{{{site}}}}}}<!-- |
|||
| data5 = {{#if:{{{plane2_type|}}}||{{{Passengers|}}}{{{plane1_passengers|}}}{{{passengers|}}} }} |
|||
| label6 = Crew |
|||
| <br/><div style="padding-top:0.2em;"><!-- |
|||
| data6 = {{#if:{{{plane2_type|}}}||{{{Crew|}}}{{{plane1_crew|}}}{{{crew|}}} }} |
|||
| label7 = {{#if:{{{plane2_type|}}}|Total injuries |Injuries}} |
|||
-->}} |
|||
| data7 = {{#if:{{{plane2_type|}}}|{{{total_injuries|}}}|{{{Injuries|{{{plane1_injuries|{{{injuries|}}} }}} }}} }} |
|||
| label8 = {{#if:{{{plane2_type|}}}|Total fatalities |Fatalities}} |
|||
| data8 = {{#if:{{{plane2_type|}}}|{{{total_fatalities|}}}|{{{Fatalities|{{{plane1_fatalities|{{{fatalities|}}} }}} }}} }} |
|||
| label9 = {{#if:{{{plane2_type|}}}|Total survivors |Survivors}} |
|||
| data9 = {{#if:{{{plane2_type|}}}|{{{total_survivors|}}}|{{{Survivors|{{{plane1_survivors|{{{survivors|}}} }}} }}} }} |
|||
| header10 = {{#if:{{{plane2_type|}}}|First aircraft}} |
|||
<!-----The following two entries only displayed if single-aircraft accident:-----> |
|||
| data11 = {{#if:{{{plane1_image|}}}|[[Image:{{{plane1_image}}}|180px|alt={{{plane1_alt|}}}]]{{#if:{{{plane1_caption|}}}| {{{plane1_caption}}} }} }} |
|||
|label5 = Passengers |
|||
| |
| label12 = {{#if:{{{plane2_type|}}}|Type|Aircraft type}} |
||
| data12 = {{{Aircraft Type|{{{aircraft_type|{{{plane1_type|}}}}}}}}} |
|||
| label13 = {{#if:{{{plane2_type|}}}|Name|Aircraft name}} |
|||
|label6 = Crew |
|||
| data13 = {{{Ship name|{{{aircraft_name|{{{plane1_name|}}}}}}}}} |
|||
|data6 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |<!--omit--> |
|||
| label14 = Operator |
|||
| {{{Crew|}}}{{{plane1_crew|}}}{{{crew|}}} }} |
|||
| data14 = {{{Operator|{{{operator|{{{plane1_operator|}}}}}}}}} |
|||
<!-------------------------------------------------------------------------------> |
|||
| label15 = [[Aircraft registration|Tail number]] |
|||
| data15 = {{{Tail Number|{{{tail_number|{{{plane1_tailnum|}}}}}}}}} |
|||
| label16 = Flight origin |
|||
| data16 = {{{Origin|{{{origin|{{{plane1_origin|}}}}}}}}} |
|||
| label17 = Stopover |
|||
| data17 = {{{Stopover|{{{stopover|{{{plane1_stopover|}}}}}}}}} |
|||
| label18 = 1st stopover |
|||
| data18 = {{{Stopover0|{{{stopover0|{{{plane1_stopover0|}}}}}}}}} |
|||
| label19 = 2nd stopover |
|||
| data19 = {{{Stopover1|{{{stopover1|{{{plane1_stopover1|}}}}}}}}} |
|||
| label20 = 3rd stopover |
|||
| data20 = {{{Stopover2|{{{stopover2|{{{plane1_stopover2|}}}}}}}}} |
|||
| label21 = 4th stopover |
|||
| data21 = {{{Stopover3|{{{stopover3|{{{plane1_stopover3|}}}}}}}}} |
|||
| label22 = Last stopover |
|||
| data22 = {{{Last stopover|{{{last_stopover|{{{plane1_laststopover|}}}}}}}}} |
|||
| label23 = Destination |
|||
| data23 = {{{Destination|{{{destination|{{{plane1_destination|}}}}}}}}} |
|||
| label24 = Passengers |
|||
| data24 = {{#if:{{{plane2_type|}}}|{{{plane1_passengers|}}} }} |
|||
| label25 = Crew |
|||
| data25 = {{#if:{{{plane2_type|}}}|{{{plane1_crew|}}} }} |
|||
| label26 = Injuries |
|||
| data26 = {{#if:{{{plane2_type|}}}|{{{plane1_injuries|}}} }} |
|||
| label27 = Fatalities |
|||
| data27 = {{#if:{{{plane2_type|}}}|{{{plane1_fatalities|}}} }} |
|||
| label28 = Survivors |
|||
| data28 = {{#if:{{{plane2_type|}}}|{{{plane1_survivors|}}} }} |
|||
| |
| header29 = {{#if:{{{plane2_type|}}}|Second aircraft}} |
||
| data30 = {{#if:{{{plane2_image|}}}|[[Image:{{{plane2_image}}}|180px|alt={{{plane2_alt|}}}]]{{#if:{{{plane2_caption|}}}|{{{plane2_caption}}} }} }} |
|||
|data7 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |
|||
| label31 = Type |
|||
| {{{total_injuries<includeonly>|</includeonly>}}} |
|||
| data31 = {{{plane2_type|}}} |
|||
| {{{Injuries|{{{plane1_injuries|{{{injuries|}}}}}}}}} }} |
|||
| label32 = Name |
|||
|label8 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |Total fatalities |Fatalities}} |
|||
| |
| data32 = {{{plane2_name|}}} |
||
| label33 = Operator |
|||
| {{{total_fatalities<includeonly>|</includeonly>}}} |
|||
| data33 = {{{plane2_operator|}}} |
|||
| {{{Fatalities|{{{plane1_fatalities|{{{fatalities|}}}}}}}}} }} |
|||
| label34 = [[Aircraft registration|Tail number]] |
|||
|label9 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |Total survivors |Survivors}} |
|||
| |
| data34 = {{{plane2_tailnum|}}} |
||
| label35 = Flight origin |
|||
| {{{total_survivors<includeonly>|</includeonly>}}} |
|||
| data35 = {{{plane2_origin|}}} |
|||
| {{{Survivors|{{{plane1_survivors|{{{survivors|}}}}}}}}} }} |
|||
| label36 = Stopover |
|||
| data36 = {{{plane2_stopover|}}} |
|||
| label37 = 1st stopover |
|||
| data37 = {{{plane2_stopover0|}}} |
|||
| label38 = 2nd stopover |
|||
| data38 = {{{plane2_stopover1|}}} |
|||
| label39 = 3rd stopover |
|||
| data39 = {{{plane2_stopover2|}}} |
|||
| label40 = 4th stopover |
|||
| data40 = {{{plane2_stopover3|}}} |
|||
| label41 = Last stopover |
|||
| data41 = {{{plane2_laststopover|}}} |
|||
| label42 = Destination |
|||
| data42 = {{{plane2_destination|}}} |
|||
| label43 = Passengers |
|||
| data43 = {{{plane2_passengers|}}} |
|||
| label44 = Crew |
|||
| data44 = {{{plane2_crew|}}} |
|||
| label45 = Injuries |
|||
| data45 = {{{plane2_injuries|}}} |
|||
| label46 = Fatalities |
|||
| data46 = {{{plane2_fatalities|}}} |
|||
| label47 = Survivors |
|||
| data47 = {{{plane2_survivors|}}} |
|||
| header48 = {{#if:{{{plane3_type|}}}|Third aircraft}} |
|||
| data49 = {{#if:{{{plane3_image|}}}|[[Image:{{{plane3_image}}}|180px|alt={{{plane3_alt|}}}]]{{#if:{{{plane3_caption|}}}|{{{plane3_caption}}} }} }} |
|||
<!--================================= Plane 1 =================================--> |
|||
| label50 = Type |
|||
|header10 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |First aircraft}} |
|||
| data50 = {{{plane3_type|}}} |
|||
|data11 = {{#if:{{{plane1_image<includeonly>|</includeonly>}}} |
|||
| label51 = Name |
|||
| <div style="padding:0.3em 0;">[[Image:{{{plane1_image}}}|180px|alt={{{plane1_alt<includeonly>|</includeonly>}}}]]<!-- |
|||
| data51 = {{{plane3_name|}}} |
|||
-->{{#if:{{{plane1_caption<includeonly>|</includeonly>}}} |
|||
| label52 = Operator |
|||
| <div style="padding-top:0.4em; line-height:1.2em;"><!-- |
|||
| data52 = {{{plane3_operator|}}} |
|||
-->{{{plane1_caption}}}</div><!-- |
|||
| label53 = [[Aircraft registration|Tail number]] |
|||
-->}}<!-- |
|||
| data53 = {{{plane3_tailnum|}}} |
|||
| label54 = Flight origin |
|||
| data54 = {{{plane3_origin|}}} |
|||
|label12 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |Type |Aircraft type}} |
|||
| label55 = Stopover |
|||
|data12 = {{{Aircraft Type|{{{aircraft_type|{{{plane1_type<includeonly>|</includeonly>}}}}}}}}} |
|||
| data55 = {{{plane3_stopover|}}} |
|||
|label13 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |Name |Aircraft name}} |
|||
| label56 = 1st stopover |
|||
|data13 = {{{Ship name|{{{aircraft_name|{{{plane1_name<includeonly>|</includeonly>}}}}}}}}} |
|||
| data56 = {{{plane3_stopover0|}}} |
|||
|label14 = Operator |
|||
| label57 = 2nd stopover |
|||
|data14 = {{{Operator|{{{operator|{{{plane1_operator<includeonly>|</includeonly>}}}}}}}}} |
|||
| data57 = {{{plane3_stopover1|}}} |
|||
|label15 = [[Aircraft registration|Tail number]] |
|||
| label58 = 3rd stopover |
|||
|data15 = {{{Tail Number|{{{tail_number|{{{plane1_tailnum<includeonly>|</includeonly>}}}}}}}}} |
|||
| data58 = {{{plane3_stopover2|}}} |
|||
|label16 = Flight origin |
|||
| label59 = 4th stopover |
|||
|data16 = {{{Origin|{{{origin|{{{plane1_origin<includeonly>|</includeonly>}}}}}}}}} |
|||
| data59 = {{{plane3_stopover3|}}} |
|||
|label17 = Stopover |
|||
| label60 = Last stopover |
|||
|data17 = {{{Stopover|{{{stopover|{{{plane1_stopover<includeonly>|</includeonly>}}}}}}}}} |
|||
| data60 = {{{plane3_laststopover|}}} |
|||
|label18 = 1st stopover |
|||
| label61 = Destination |
|||
|data18 = {{{Stopover0|{{{stopover0|{{{plane1_stopover0<includeonly>|</includeonly>}}}}}}}}} |
|||
| data61 = {{{plane3_destination|}}} |
|||
|label19 = 2nd stopover |
|||
| label62 = Passengers |
|||
|data19 = {{{Stopover1|{{{stopover1|{{{plane1_stopover1<includeonly>|</includeonly>}}}}}}}}} |
|||
| data62 = {{{plane3_passengers|}}} |
|||
|label20 = 3rd stopover |
|||
| label63 = Crew |
|||
|data20 = {{{Stopover2|{{{stopover2|{{{plane1_stopover2<includeonly>|</includeonly>}}}}}}}}} |
|||
| data63 = {{{plane3_crew|}}} |
|||
|label21 = 4th stopover |
|||
| label64 = Injuries |
|||
|data21 = {{{Stopover3|{{{stopover3|{{{plane1_stopover3<includeonly>|</includeonly>}}}}}}}}} |
|||
| data64 = {{{plane3_injuries|}}} |
|||
|label22 = Last stopover |
|||
| label65 = Fatalities |
|||
|data22 = {{{Last stopover|{{{last_stopover|{{{plane1_laststopover<includeonly>|</includeonly>}}}}}}}}} |
|||
| data65 = {{{plane3_fatalities|}}} |
|||
|label23 = Destination |
|||
| label66 = Survivors |
|||
|data23 = {{{Destination|{{{destination|{{{plane1_destination<includeonly>|</includeonly>}}}}}}}}} |
|||
| data66 = {{{plane3_survivors|}}} |
|||
}}<noinclude>{{documentation}}<!-- Please add category and language links to the /doc sub-page, not here --></noinclude> |
|||
<!-----The following five entries only displayed if multiple-plane accident:-----> |
|||
|label24 = Passengers |
|||
|data24 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |
|||
| {{{plane1_passengers<includeonly>|</includeonly>}}} }} |
|||
|label25 = Crew |
|||
|data25 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |
|||
| {{{plane1_crew<includeonly>|</includeonly>}}} }} |
|||
|label26 = Injuries |
|||
|data26 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |
|||
| {{{plane1_injuries<includeonly>|</includeonly>}}} }} |
|||
|label27 = Fatalities |
|||
|data27 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |
|||
| {{{plane1_fatalities<includeonly>|</includeonly>}}} }} |
|||
|label28 = Survivors |
|||
|data28 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |
|||
| {{{plane1_survivors<includeonly>|</includeonly>}}} }} |
|||
<!-------------------------------------------------------------------------------> |
|||
<!--================================= Plane 2 =================================--> |
|||
|header29 = {{#if:{{{plane2_type<includeonly>|</includeonly>}}} |Second aircraft}} |
|||
|data30 = {{#if:{{{plane2_image<includeonly>|</includeonly>}}} |
|||
| <div style="padding:0.3em 0;">[[Image:{{{plane2_image}}}|180px|alt={{{plane2_alt<includeonly>|</includeonly>}}}]]<!-- |
|||
-->{{#if:{{{plane2_caption<includeonly>|</includeonly>}}} |
|||
| <div style="padding-top:0.4em; line-height:1.2em;"><!-- |
|||
-->{{{plane2_caption}}}</div><!-- |
|||
-->}}<!-- |
|||
--></div><!-- |
|||
-->}} |
|||
|label31 = Type |
|||
|data31 = {{{plane2_type<includeonly>|</includeonly>}}} |
|||
|label32 = Name |
|||
|data32 = {{{plane2_name<includeonly>|</includeonly>}}} |
|||
|label33 = Operator |
|||
|data33 = {{{plane2_operator<includeonly>|</includeonly>}}} |
|||
|label34 = [[Aircraft registration|Tail number]] |
|||
|data34 = {{{plane2_tailnum<includeonly>|</includeonly>}}} |
|||
|label35 = Flight origin |
|||
|data35 = {{{plane2_origin<includeonly>|</includeonly>}}} |
|||
|label36 = Stopover |
|||
|data36 = {{{plane2_stopover<includeonly>|</includeonly>}}} |
|||
|label37 = 1st stopover |
|||
|data37 = {{{plane2_stopover0<includeonly>|</includeonly>}}} |
|||
|label38 = 2nd stopover |
|||
|data38 = {{{plane2_stopover1<includeonly>|</includeonly>}}} |
|||
|label39 = 3rd stopover |
|||
|data39 = {{{plane2_stopover2<includeonly>|</includeonly>}}} |
|||
|label40 = 4th stopover |
|||
|data40 = {{{plane2_stopover3<includeonly>|</includeonly>}}} |
|||
|label41 = Last stopover |
|||
|data41 = {{{plane2_laststopover<includeonly>|</includeonly>}}} |
|||
|label42 = Destination |
|||
|data42 = {{{plane2_destination<includeonly>|</includeonly>}}} |
|||
|label43 = Passengers |
|||
|data43 = {{{plane2_passengers<includeonly>|</includeonly>}}} |
|||
|label44 = Crew |
|||
|data44 = {{{plane2_crew<includeonly>|</includeonly>}}} |
|||
|label45 = Injuries |
|||
|data45 = {{{plane2_injuries<includeonly>|</includeonly>}}} |
|||
|label46 = Fatalities |
|||
|data46 = {{{plane2_fatalities<includeonly>|</includeonly>}}} |
|||
|label47 = Survivors |
|||
|data47 = {{{plane2_survivors<includeonly>|</includeonly>}}} |
|||
<!--================================= Plane 3 =================================--> |
|||
|header48 = {{#if:{{{plane3_type<includeonly>|</includeonly>}}} |Third aircraft}} |
|||
|data49 = {{#if:{{{plane3_image<includeonly>|</includeonly>}}} |
|||
| <div style="padding:0.3em 0;">[[Image:{{{plane3_image}}}|180px|alt={{{plane3_alt<includeonly>|</includeonly>}}}]]<!-- |
|||
-->{{#if:{{{plane3_caption<includeonly>|</includeonly>}}} |
|||
| <div style="padding-top:0.4em; line-height:1.2em;"><!-- |
|||
-->{{{plane3_caption}}}</div><!-- |
|||
-->}}<!-- |
|||
--></div><!-- |
|||
-->}} |
|||
|label50 = Type |
|||
|data50 = {{{plane3_type<includeonly>|</includeonly>}}} |
|||
|label51 = Name |
|||
|data51 = {{{plane3_name<includeonly>|</includeonly>}}} |
|||
|label52 = Operator |
|||
|data52 = {{{plane3_operator<includeonly>|</includeonly>}}} |
|||
|label53 = [[Aircraft registration|Tail number]] |
|||
|data53 = {{{plane3_tailnum<includeonly>|</includeonly>}}} |
|||
|label54 = Flight origin |
|||
|data54 = {{{plane3_origin<includeonly>|</includeonly>}}} |
|||
|label55 = Stopover |
|||
|data55 = {{{plane3_stopover<includeonly>|</includeonly>}}} |
|||
|label56 = 1st stopover |
|||
|data56 = {{{plane3_stopover0<includeonly>|</includeonly>}}} |
|||
|label57 = 2nd stopover |
|||
|data57 = {{{plane3_stopover1<includeonly>|</includeonly>}}} |
|||
|label58 = 3rd stopover |
|||
|data58 = {{{plane3_stopover2<includeonly>|</includeonly>}}} |
|||
|label59 = 4th stopover |
|||
|data59 = {{{plane3_stopover3<includeonly>|</includeonly>}}} |
|||
|label60 = Last stopover |
|||
|data60 = {{{plane3_laststopover<includeonly>|</includeonly>}}} |
|||
|label61 = Destination |
|||
|data61 = {{{plane3_destination<includeonly>|</includeonly>}}} |
|||
|label62 = Passengers |
|||
|data62 = {{{plane3_passengers<includeonly>|</includeonly>}}} |
|||
|label63 = Crew |
|||
|data63 = {{{plane3_crew<includeonly>|</includeonly>}}} |
|||
|label64 = Injuries |
|||
|data64 = {{{plane3_injuries<includeonly>|</includeonly>}}} |
|||
|label65 = Fatalities |
|||
|data65 = {{{plane3_fatalities<includeonly>|</includeonly>}}} |
|||
|label66 = Survivors |
|||
|data66 = {{{plane3_survivors<includeonly>|</includeonly>}}} |
|||
}}<noinclude> |
|||
{{end infobox page}} |
|||
<!---Please add metadata to the <includeonly> section at the bottom of the /doc subpage---> |
|||
</noinclude> |