Template:Infobox aircraft occurrence: Difference between revisions

Copied over the sandbox version, per an edit request
(this appears to fix the missing plane 2 image... Really odd... Based on the logic though, also did some renumbering to fix the plane three image which should have otherwise been broken as well.)
(Copied over the sandbox version, per an edit request)
Line 27:
| label8 = {{#if:{{{plane2_type|}}}|Total fatalities |Fatalities}}
| data8 = {{#if:{{{plane2_type|}}}|{{{total_fatalities|}}}|{{{Fatalities|{{{plane1_fatalities|{{{fatalities|}}} }}} }}} }}
| label9 = {{#if:{{{plane2_type|}}}|Total survivorsmissing |SurvivorsMissing}}
| data9 = {{#if:{{{plane2_type|}}}|{{{total_survivorstotal_missing|}}}|{{{SurvivorsMissing|{{{plane1_survivorsplane1_missing|{{{survivorsmissing|}}} }}} }}} }}
| header10label10 = {{#if:{{{plane2_type|}}}|FirstTotal aircraftsurvivors |Survivors}}
| data11data10 = {{#if:{{{plane1_imageplane2_type|}}}|[[File:{{{plane1_imagetotal_survivors|}}}|180px|alt={{{plane1_altSurvivors|}}}]]{{#if:{plane1_survivors|{{plane1_caption{survivors|}}}|<br/>{{{plane1_caption }}} }}} }}
| label12 header11 = {{#if:{{{plane2_type|}}}|Type|Aircraft&nbsp;typeFirst aircraft}}
| data12 = {{#if:{Aircraft Type{{plane1_image|}}}|[[File:{{{aircraft_typeplane1_image}}}|180px|alt={{{plane1_typeplane1_alt|}}}]]{{#if:{{{plane1_caption|}}}|<br/>{{{plane1_caption}}} }} }}
| label13 = {{#if:{{{plane2_type|}}}|NameType|Aircraft&nbsp;nametype}}
| data13 = {{{ShipAircraft nameType|{{{aircraft_nameaircraft_type|{{{plane1_nameplane1_type|}}}}}}}}}
| label14 = Operator{{#if:{{{plane2_type|}}}|Name|Aircraft&nbsp;name}}
| data14 = {{{OperatorShip name|{{{operatoraircraft_name|{{{plane1_operatorplane1_name|}}}}}}}}}
| label15 = [[Aircraft registration|Registration]]Operator
| data15 = {{{Tail NumberOperator|{{{tail_numberoperator|{{{plane1_tailnumplane1_operator|}}}}}}}}}
| label16 = Flight[[Aircraft originregistration|Registration]]
| data16 = {{{OriginTail Number|{{{origintail_number|{{{plane1_originplane1_tailnum|}}}}}}}}}
| label17 = StopoverFlight origin
| data17 = {{{StopoverOrigin|{{{stopoverorigin|{{{plane1_stopoverplane1_origin|}}}}}}}}}
| label18 = 1st stopoverStopover
| data18 = {{{Stopover0Stopover|{{{stopover0stopover|{{{plane1_stopover0plane1_stopover|}}}}}}}}}
| label19 = 2nd1st stopover
| data19 = {{{Stopover1Stopover0|{{{stopover1stopover0|{{{plane1_stopover1plane1_stopover0|}}}}}}}}}
| label20 = 3rd2nd stopover
| data20 = {{{Stopover2Stopover1|{{{stopover2stopover1|{{{plane1_stopover2plane1_stopover1|}}}}}}}}}
| label21 = 4th3rd stopover
| data21 = {{{Stopover3Stopover2|{{{stopover3stopover2|{{{plane1_stopover3plane1_stopover2|}}}}}}}}}
| label22 = 5th4th stopover
| data22 = {{{Stopover4Stopover3|{{{stopover4stopover3|{{{plane1_stopover4plane1_stopover3|}}}}}}}}}
| label23 = 6th5th stopover
| data23 = {{{Stopover5Stopover4|{{{stopover5stopover4|{{{plane1_stopover5plane1_stopover4|}}}}}}}}}
| label24 = 6th stopover
| data24 = {{{Stopover5|{{{stopover5|{{{plane1_stopover5|}}}}}}}}}
| label27 = Last stopover
| data27 = {{{Last stopover|{{{last_stopover|{{{plane1_laststopover|}}}}}}}}}
Line 67 ⟶ 69:
| label32 = Fatalities
| data32 = {{#if:{{{plane2_type|}}}|{{{plane1_fatalities|}}} }}
| label33 = SurvivorsMissing
| data33 = {{#if:{{{plane2_type|}}}|{{{plane1_survivorsplane1_missing|}}} }}
| label34 = Survivors
| header34 = {{#if:{{{plane2_type|}}}|Second aircraft}}
| data35data34 = {{#if:{{{plane2_imageplane2_type|}}}|[[File:{{{plane2_image}}}|180px|alt={{{plane2_altplane1_survivors|}}}]]{{#if:{{{plane2_caption|}}}|<br/>{{{plane2_caption}}} }} }}
| header34header35 = {{#if:{{{plane2_type|}}}|Second aircraft}}
| label36 = Type
| data59data36 = {{#if:{{{plane3_imageplane2_image|}}}|[[File:{{{plane3_imageplane2_image}}}|180px|alt={{{plane3_altplane2_alt|}}}]]{{#if:{{{plane3_captionplane2_caption|}}}|<br/>{{{plane3_captionplane2_caption}}} }} }}
| data36 = {{{plane2_type|}}}
| label37 = NameType
| data37 = {{{plane2_nameplane2_type|}}}
| label38 = OperatorName
| data38 = {{{plane2_operatorplane2_name|}}}
| label39 = [[Aircraft registration|Registration]]Operator
| data39 = {{{plane2_tailnumplane2_operator|}}}
| label40 = Flight[[Aircraft originregistration|Registration]]
| data40 = {{{plane2_originplane2_tailnum|}}}
| label41 = StopoverFlight origin
| data41 = {{{plane2_stopoverplane2_origin|}}}
| label42 = 1st stopoverStopover
| data42 = {{{plane2_stopover0plane2_stopover|}}}
| label43 = 2nd1st stopover
| data43 = {{{plane2_stopover1plane2_stopover0|}}}
| label44 = 3rd2nd stopover
| data44 = {{{plane2_stopover2plane2_stopover1|}}}
| label45 = 4th3rd stopover
| data45 = {{{plane2_stopover3plane2_stopover2|}}}
| label46 = 5th4th stopover
| data46 = {{{plane2_stopover4plane2_stopover3|}}}
| label47 = 6th5th stopover
| data47 = {{{plane2_stopover5plane2_stopover4|}}}
| label48 = 6th stopover
| data36data48 = {{{plane2_typeplane2_stopover5|}}}
| label51 = Last stopover
| data51 = {{{plane2_laststopover|}}}
Line 107 ⟶ 111:
| label56 = Fatalities
| data56 = {{{plane2_fatalities|}}}
| label57 = SurvivorsMissing
| data57 = {{#if:{plane2_survivors{{plane2_type|}}}|{{{plane2_missing|}}} }}
| label58 = Survivors
| header58 = {{#if:{{{plane3_type|}}}|Third aircraft}}
| data60data58 = {{{plane3_typeplane2_survivors|}}}
| data59 = {{#if:{{{plane3_image|}}}|[[File:{{{plane3_image}}}|180px|alt={{{plane3_alt|}}}]]{{#if:{{{plane3_caption|}}}|<br/>{{{plane3_caption}}} }} }}
| header58header59 = {{#if:{{{plane3_type|}}}|Third aircraft}}
| label60 = Type
| data60 = {{#if:{{{plane3_image|}}}|[[File:{{{plane3_image}}}|180px|alt={{{plane3_alt|}}}]]{{#if:{{{plane3_caption|}}}|<br/>{{{plane3_caption}}} }} }}
| data60 = {{{plane3_type|}}}
| label61 = NameType
| data61 = {{{plane3_nameplane3_type|}}}
| label62 = OperatorName
| data62 = {{{plane3_operatorplane3_name|}}}
| label63 = [[Aircraft registration|Registration]]Operator
| data63 = {{{plane3_tailnumplane3_operator|}}}
| label64 = Flight[[Aircraft originregistration|Registration]]
| data64 = {{{plane3_originplane3_tailnum|}}}
| label65 = StopoverFlight origin
| data65 = {{{plane3_stopoverplane3_origin|}}}
| label66 = 1st stopoverStopover
| data66 = {{{plane3_stopover0plane3_stopover|}}}
| label67 = 2nd1st stopover
| data67 = {{{plane3_stopover1plane3_stopover0|}}}
| label68 = 3rd2nd stopover
| data68 = {{{plane3_stopover2plane3_stopover1|}}}
| label69 = 4th3rd stopover
| data69 = {{{plane3_stopover3plane3_stopover2|}}}
| label70 = 5th4th stopover
| data70 = {{{plane3_stopover4plane3_stopover3|}}}
| label71 = 6th5th stopover
| data71 = {{{plane3_stopover5plane3_stopover4|}}}
| label72 = 6th stopover
| data72 = {{{plane3_stopover5|}}}
| label76 = Last stopover
| data76 = {{{plane3_laststopover|}}}
Line 147 ⟶ 153:
| label81 = Fatalities
| data81 = {{{plane3_fatalities|}}}
| label82 = SurvivorsMissing
| data82 = {{#if:{plane3_survivors{{plane3_type|}}}|{{{plane3_missing|}}} }}
| label83 = Survivors
| data83 = {{{plane3_survivors|}}}
}}<noinclude>
{{Documentation}}
Anonymous user