Template:Infobox aircraft occurrence: Difference between revisions

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.
(per edit request on talk page... Left room for expansion up to 9 stopovers each plane.)
(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.)
Line 70:
| data33 = {{#if:{{{plane2_type|}}}|{{{plane1_survivors|}}} }}
| header34 = {{#if:{{{plane2_type|}}}|Second aircraft}}
| data34data35 = {{#if:{{{plane2_image|}}}|[[File:{{{plane2_image}}}|180px|alt={{{plane2_alt|}}}]]{{#if:{{{plane2_caption|}}}|<br/>{{{plane2_caption}}} }} }}
| label35label36 = Type
| data35data36 = {{{plane2_type|}}}
| label36label37 = Name
| data36data37 = {{{plane2_name|}}}
| label37label38 = Operator
| data37data38 = {{{plane2_operator|}}}
| label38label39 = [[Aircraft registration|Registration]]
| data38data39 = {{{plane2_tailnum|}}}
| label39label40 = Flight origin
| data39data40 = {{{plane2_origin|}}}
| label40label41 = Stopover
| data40data41 = {{{plane2_stopover|}}}
| label41label42 = 1st stopover
| data41data42 = {{{plane2_stopover0|}}}
| label42label43 = 2nd stopover
| data42data43 = {{{plane2_stopover1|}}}
| label43label44 = 3rd stopover
| data43data44 = {{{plane2_stopover2|}}}
| label44label45 = 4th stopover
| data44data45 = {{{plane2_stopover3|}}}
| label45label46 = 5th stopover
| data45data46 = {{{plane2_stopover4|}}}
| label46label47 = 6th stopover
| data46data47 = {{{plane2_stopover5|}}}
| label50label51 = Last stopover
| data50data51 = {{{plane2_laststopover|}}}
| label51label52 = Destination
| data51data52 = {{{plane2_destination|}}}
| label52label53 = Passengers
| data52data53 = {{{plane2_passengers|}}}
| label53label54 = Crew
| data53data54 = {{{plane2_crew|}}}
| label54label55 = Injuries (non-fatal)
| data54data55 = {{{plane2_injuries|}}}
| label55label56 = Fatalities
| data55data56 = {{{plane2_fatalities|}}}
| label56label57 = Survivors
| data56data57 = {{{plane2_survivors|}}}
| header57header58 = {{#if:{{{plane3_type|}}}|Third aircraft}}
| data57data59 = {{#if:{{{plane3_image|}}}|[[File:{{{plane3_image}}}|180px|alt={{{plane3_alt|}}}]]{{#if:{{{plane3_caption|}}}|<br/>{{{plane3_caption}}} }} }}
| label58label60 = Type
| data58data60 = {{{plane3_type|}}}
| label59label61 = Name
| data59data61 = {{{plane3_name|}}}
| label60label62 = Operator
| data60data62 = {{{plane3_operator|}}}
| label61label63 = [[Aircraft registration|Registration]]
| data61data63 = {{{plane3_tailnum|}}}
| label62label64 = Flight origin
| data62data64 = {{{plane3_origin|}}}
| label63label65 = Stopover
| data63data65 = {{{plane3_stopover|}}}
| label64label66 = 1st stopover
| data64data66 = {{{plane3_stopover0|}}}
| label65label67 = 2nd stopover
| data65data67 = {{{plane3_stopover1|}}}
| label66label68 = 3rd stopover
| data66data68 = {{{plane3_stopover2|}}}
| label67label69 = 4th stopover
| data67data69 = {{{plane3_stopover3|}}}
| label68label70 = 5th stopover
| data68data70 = {{{plane3_stopover4|}}}
| label69label71 = 6th stopover
| data69data71 = {{{plane3_stopover5|}}}
| label73label76 = Last stopover
| data73data76 = {{{plane3_laststopover|}}}
| label74label77 = Destination
| data74data77 = {{{plane3_destination|}}}
| label75label78 = Passengers
| data75data78 = {{{plane3_passengers|}}}
| label76label79 = Crew
| data76data79 = {{{plane3_crew|}}}
| label77label80 = Injuries (non-fatal)
| data77data80 = {{{plane3_injuries|}}}
| label78label81 = Fatalities
| data78data81 = {{{plane3_fatalities|}}}
| label79label82 = Survivors
| data79data82 = {{{plane3_survivors|}}}
}}<noinclude>
{{Documentation}}