Anonymous user
Template:Infobox aircraft occurrence: Difference between revisions
Template:Infobox aircraft occurrence (view source)
Revision as of 13:41, 23 July 2011
, 12 years agoadded some headings to code
(fix wrong caption placement) |
(added some headings to code) |
||
Line 1:
{{Infobox
|
<!----- Title ----->
|titleclass = fn org summary
|titlestyle = padding-bottom:0.3em;
|
<!----- Image ----->
|image = {{#if:{{{image|}}}{{{Crash image|}}}|[[Image:{{{image|{{{Crash image}}}}}}|{{{image_size|260}}}px|alt={{{alt|}}}]]}}
|image_size = {{#if:{{{image_size<includeonly>|</includeonly>}}}{{{size|260}}}}}
|
|caption = {{{caption|{{{Image caption|}}} }}}
<!----- Styles ----->
|headerstyle = background:#082567;color:white;
|labelstyle = line-height:1.3em;padding-right:1.0em;white-space:nowrap;
|datastyle = line-height:1.3em;
<!----- Summary ----->
|header1 = <includeonly>{{{occurrence_type|Occurrence}}} summary</includeonly>
|label2 = Date
|data2 = {{{Date|{{{date|}}} }}}
|label3 = Type
|
|label4 = Site
|class4 = flabel location
|
|label5 = Passengers
|
|label6 = Crew
|
|
|
|
|data8 = {{#if:{{{plane2_type|}}}|{{{total_fatalities|}}}|{{{Fatalities|{{{plane1_fatalities|{{{fatalities|}}} }}} }}} }}
|label9 = {{#if:{{{plane2_type|}}}|Total survivors |Survivors}}
|
<!----- First aircraft ----->
|header10 = {{#if:{{{plane2_type|}}}|First aircraft}}
|data11 = {{#if:{{{plane1_image|}}}|[[Image:{{{plane1_image}}}|180px|alt={{{plane1_alt|}}}]]{{#if:{{{plane1_caption|}}}|<br/>{{{plane1_caption}}} }} }}
|label12 = {{#if:{{{plane2_type|}}}|Type|Aircraft type}}
|
|label13 = {{#if:{{{plane2_type|}}}|Name|Aircraft name}}
|
|label14 = Operator
|
|label15 = [[Aircraft registration|Tail number]]
|
|label16 = Flight origin
|
|label17 = Stopover
|
|label18 = 1st stopover
|
|label19 = 2nd stopover
|
|label20 = 3rd stopover
|
|label21 = 4th stopover
|
|label22 = Last stopover
|
|label23 = Destination
|
|label24 = Passengers
|data24 = {{#if:{{{plane2_type|}}}|{{{plane1_passengers|}}} }}
|label25 = 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|}}} }}
<!----- Second aircraft ----->
|header29 = {{#if:{{{plane2_type|}}}|Second aircraft}}
|data30 = {{#if:{{{plane2_image|}}}|[[Image:{{{plane2_image}}}|180px|alt={{{plane2_alt|}}}]]{{#if:{{{plane2_caption|}}}|<br/>{{{plane2_caption}}} }} }}
|label31 = Type
|
|label32 = Name
|
|label33 = Operator
|
|label34 = [[Aircraft registration|Tail number]]
|
|label35 = Flight origin
|
|label36 = Stopover
|
|label37 = 1st stopover
|
|label38 = 2nd stopover
|
|label39 = 3rd stopover
|
|label40 = 4th stopover
|
|label41 = Last stopover
|
|label42 = Destination
|data42 = {{{plane2_destination|}}}
|label43 = Passengers
|
|label44 = Crew
|
|label45 = Injuries
|
|label46 = Fatalities
|
|label47 = Survivors
|
<!----- Third aircraft ----->
|header48 = {{#if:{{{plane3_type|}}}|Third aircraft}}
|data49 = {{#if:{{{plane3_image|}}}|[[Image:{{{plane3_image}}}|180px|alt={{{plane3_alt|}}}]]{{#if:{{{plane3_caption|}}}|<br/>{{{plane3_caption}}} }} }}
|label50 = Type
|
|label51 = Name
|
|label52 = Operator
|
|label53 = [[Aircraft registration|Tail number]]
|
|label54 = Flight origin
|
|label55 = Stopover
|
|label56 = 1st stopover
|
|label57 = 2nd stopover
|
|label58 = 3rd stopover
|
|label59 = 4th stopover
|
|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}}
|