Template:Infobox aircraft occurrence: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
(added some headings to code) |
(preparing type/cause distinction) |
||
Line 7: | Line 7: | ||
|title = {{{name|{{{Name|<includeonly>{{PAGENAME}}</includeonly>}}} }}} |
|title = {{{name|{{{Name|<includeonly>{{PAGENAME}}</includeonly>}}} }}} |
||
<!----- Image -----> |
<!---------- Image ----------> |
||
|image = {{#if:{{{image|}}}{{{Crash image|}}}|[[Image:{{{image|{{{Crash image}}}}}}|{{{image_size|260}}}px|alt={{{alt|}}}]]}} |
|image = {{#if:{{{image|}}}{{{Crash image|}}}|[[Image:{{{image|{{{Crash image}}}}}}|{{{image_size|260}}}px|alt={{{alt|}}}]]}} |
||
|image_size = {{#if:{{{image_size<includeonly>|</includeonly>}}}{{{size|260}}}}} |
|image_size = {{#if:{{{image_size<includeonly>|</includeonly>}}}{{{size|260}}}}} |
||
Line 13: | Line 13: | ||
|caption = {{{caption|{{{Image caption|}}} }}} |
|caption = {{{caption|{{{Image caption|}}} }}} |
||
<!----- Styles -----> |
<!---------- Styles ----------> |
||
|headerstyle = background:#082567;color:white; |
|headerstyle = background:#082567;color:white; |
||
|labelstyle = line-height:1.3em;padding-right:1.0em;white-space:nowrap; |
|labelstyle = line-height:1.3em;padding-right:1.0em;white-space:nowrap; |
||
|datastyle = line-height:1.3em; |
|datastyle = line-height:1.3em; |
||
<!----- Summary -----> |
<!---------- Summary ----------> |
||
|header1 = <includeonly>{{{occurrence_type|Occurrence}}} summary</includeonly> |
|header1 = <includeonly>{{{occurrence_type|Occurrence}}} summary</includeonly> |
||
|label2 = Date |
|label2 = Date |
||
|data2 = {{{Date|{{{date|}}} }}} |
|data2 = {{{Date|{{{date|}}} }}} |
||
|label3 = Type |
|label3 = Type |
||
<!----Type# is limited to 1=Structural, 2=Mechanical, 3=Maintenance, 4=Weather, 5=Piloting, 6=Terrorism (bombing) 7=Hijacking, 8=Undetermined:----> |
|||
|data3 = {{{Type|{{{type|}}} }}} |
|||
|data3 = {{#switch:{{{type#|}}} |1=[[Structural failure#Aircraft|Structural failure]] |2=Mechanical failure |3=Improper maintenance |4=Weather |5=[[Pilot error|Piloting error]] |6=Terrorism |7=[[Aircraft hijacking|Hijacking]] |8=Undetermined}} |
|||
⚫ | |||
<!--|label4 = Cause |
|||
⚫ | |||
|data4 = {{{cause|}}} |
|||
⚫ | |||
--> |
|||
⚫ | |||
⚫ | |||
| |
|label4 = Type |
||
| |
|data4 = {{{Type|{{{type|}}} }}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
| |
|data6 = {{#if:{{{plane2_type|}}}||{{{Passengers|}}}{{{plane1_passengers|}}}{{{passengers|}}} }} |
||
|label7 = Crew |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
|label10 = {{#if:{{{plane2_type|}}}|Total survivors |Survivors}} |
|||
⚫ | |||
<!----- First aircraft -----> |
<!----- First aircraft -----> |
||
| |
|header11 = {{#if:{{{plane2_type|}}}|First aircraft}} |
||
| |
|data12 = {{#if:{{{plane1_image|}}}|[[Image:{{{plane1_image}}}|180px|alt={{{plane1_alt|}}}]]{{#if:{{{plane1_caption|}}}|<br/>{{{plane1_caption}}} }} }} |
||
| |
|label13 = {{#if:{{{plane2_type|}}}|Type|Aircraft type}} |
||
| |
|data13 = {{{Aircraft Type|{{{aircraft_type|{{{plane1_type|}}}}}}}}} |
||
| |
|label14 = {{#if:{{{plane2_type|}}}|Name|Aircraft name}} |
||
| |
|data14 = {{{Ship name|{{{aircraft_name|{{{plane1_name|}}}}}}}}} |
||
| |
|label15 = Operator |
||
| |
|data15 = {{{Operator|{{{operator|{{{plane1_operator|}}}}}}}}} |
||
| |
|label16 = [[Aircraft registration|Tail number]] |
||
| |
|data16 = {{{Tail Number|{{{tail_number|{{{plane1_tailnum|}}}}}}}}} |
||
| |
|label17 = Flight origin |
||
| |
|data17 = {{{Origin|{{{origin|{{{plane1_origin|}}}}}}}}} |
||
| |
|label18 = Stopover |
||
| |
|data18 = {{{Stopover|{{{stopover|{{{plane1_stopover|}}}}}}}}} |
||
| |
|label19 = 1st stopover |
||
| |
|data19 = {{{Stopover0|{{{stopover0|{{{plane1_stopover0|}}}}}}}}} |
||
| |
|label20 = 2nd stopover |
||
| |
|data20 = {{{Stopover1|{{{stopover1|{{{plane1_stopover1|}}}}}}}}} |
||
| |
|label21 = 3rd stopover |
||
| |
|data21 = {{{Stopover2|{{{stopover2|{{{plane1_stopover2|}}}}}}}}} |
||
| |
|label22 = 4th stopover |
||
| |
|data22 = {{{Stopover3|{{{stopover3|{{{plane1_stopover3|}}}}}}}}} |
||
| |
|label23 = Last stopover |
||
| |
|data23 = {{{Last stopover|{{{last_stopover|{{{plane1_laststopover|}}}}}}}}} |
||
| |
|label24 = Destination |
||
| |
|data24 = {{{Destination|{{{destination|{{{plane1_destination|}}}}}}}}} |
||
| |
|label25 = Passengers |
||
| |
|data25 = {{#if:{{{plane2_type|}}}|{{{plane1_passengers|}}} }} |
||
| |
|label26 = Crew |
||
| |
|data26 = {{#if:{{{plane2_type|}}}|{{{plane1_crew|}}} }} |
||
| |
|label27 = Injuries |
||
| |
|data27 = {{#if:{{{plane2_type|}}}|{{{plane1_injuries|}}} }} |
||
| |
|label28 = Fatalities |
||
| |
|data28 = {{#if:{{{plane2_type|}}}|{{{plane1_fatalities|}}} }} |
||
| |
|label29 = Survivors |
||
| |
|data29 = {{#if:{{{plane2_type|}}}|{{{plane1_survivors|}}} }} |
||
<!----- Second aircraft -----> |
<!----- Second aircraft -----> |
||
| |
|header30 = {{#if:{{{plane2_type|}}}|Second aircraft}} |
||
| |
|data31 = {{#if:{{{plane2_image|}}}|[[Image:{{{plane2_image}}}|180px|alt={{{plane2_alt|}}}]]{{#if:{{{plane2_caption|}}}|<br/>{{{plane2_caption}}} }} }} |
||
| |
|label32 = Type |
||
| |
|data32 = {{{plane2_type|}}} |
||
| |
|label33 = Name |
||
| |
|data33 = {{{plane2_name|}}} |
||
| |
|label34 = Operator |
||
| |
|data34 = {{{plane2_operator|}}} |
||
| |
|label35 = [[Aircraft registration|Tail number]] |
||
| |
|data35 = {{{plane2_tailnum|}}} |
||
| |
|label36 = Flight origin |
||
| |
|data36 = {{{plane2_origin|}}} |
||
| |
|label37 = Stopover |
||
| |
|data37 = {{{plane2_stopover|}}} |
||
| |
|label38 = 1st stopover |
||
| |
|data38 = {{{plane2_stopover0|}}} |
||
| |
|label39 = 2nd stopover |
||
| |
|data39 = {{{plane2_stopover1|}}} |
||
| |
|label40 = 3rd stopover |
||
| |
|data40 = {{{plane2_stopover2|}}} |
||
| |
|label41 = 4th stopover |
||
| |
|data41 = {{{plane2_stopover3|}}} |
||
| |
|label42 = Last stopover |
||
| |
|data42 = {{{plane2_laststopover|}}} |
||
| |
|label43 = Destination |
||
| |
|data43 = {{{plane2_destination|}}} |
||
| |
|label44 = Passengers |
||
| |
|data44 = {{{plane2_passengers|}}} |
||
| |
|label45 = Crew |
||
| |
|data45 = {{{plane2_crew|}}} |
||
| |
|label46 = Injuries |
||
| |
|data46 = {{{plane2_injuries|}}} |
||
| |
|label47 = Fatalities |
||
| |
|data47 = {{{plane2_fatalities|}}} |
||
| |
|label48 = Survivors |
||
| |
|data48 = {{{plane2_survivors|}}} |
||
<!----- Third aircraft -----> |
<!----- Third aircraft -----> |
||
| |
|header49 = {{#if:{{{plane3_type|}}}|Third aircraft}} |
||
| |
|data50 = {{#if:{{{plane3_image|}}}|[[Image:{{{plane3_image}}}|180px|alt={{{plane3_alt|}}}]]{{#if:{{{plane3_caption|}}}|<br/>{{{plane3_caption}}} }} }} |
||
| |
|label51 = Type |
||
| |
|data51 = {{{plane3_type|}}} |
||
| |
|label52 = Name |
||
| |
|data52 = {{{plane3_name|}}} |
||
| |
|label53 = Operator |
||
| |
|data53 = {{{plane3_operator|}}} |
||
| |
|label54 = [[Aircraft registration|Tail number]] |
||
| |
|data54 = {{{plane3_tailnum|}}} |
||
| |
|label55 = Flight origin |
||
| |
|data55 = {{{plane3_origin|}}} |
||
| |
|label56 = Stopover |
||
| |
|data56 = {{{plane3_stopover|}}} |
||
| |
|label57 = 1st stopover |
||
| |
|data57 = {{{plane3_stopover0|}}} |
||
| |
|label58 = 2nd stopover |
||
| |
|data58 = {{{plane3_stopover1|}}} |
||
| |
|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}} |
|||
{{documentation}} |
|||
<!-- |
<!-- Add categories and interwikis to the /doc subpage, please, not here! --> |
||
</noinclude> |
</noinclude> |