Template:Infobox aircraft occurrence: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
(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: Line 27:
| label8 = {{#if:{{{plane2_type|}}}|Total fatalities |Fatalities}}
| label8 = {{#if:{{{plane2_type|}}}|Total fatalities |Fatalities}}
| data8 = {{#if:{{{plane2_type|}}}|{{{total_fatalities|}}}|{{{Fatalities|{{{plane1_fatalities|{{{fatalities|}}} }}} }}} }}
| data8 = {{#if:{{{plane2_type|}}}|{{{total_fatalities|}}}|{{{Fatalities|{{{plane1_fatalities|{{{fatalities|}}} }}} }}} }}
| label9 = {{#if:{{{plane2_type|}}}|Total survivors |Survivors}}
| label9 = {{#if:{{{plane2_type|}}}|Total missing |Missing}}
| data9 = {{#if:{{{plane2_type|}}}|{{{total_survivors|}}}|{{{Survivors|{{{plane1_survivors|{{{survivors|}}} }}} }}} }}
| data9 = {{#if:{{{plane2_type|}}}|{{{total_missing|}}}|{{{Missing|{{{plane1_missing|{{{missing|}}} }}} }}} }}
| header10 = {{#if:{{{plane2_type|}}}|First aircraft}}
| label10 = {{#if:{{{plane2_type|}}}|Total survivors |Survivors}}
| data11 = {{#if:{{{plane1_image|}}}|[[File:{{{plane1_image}}}|180px|alt={{{plane1_alt|}}}]]{{#if:{{{plane1_caption|}}}|<br/>{{{plane1_caption}}} }} }}
| data10 = {{#if:{{{plane2_type|}}}|{{{total_survivors|}}}|{{{Survivors|{{{plane1_survivors|{{{survivors|}}} }}} }}} }}
| label12 = {{#if:{{{plane2_type|}}}|Type|Aircraft&nbsp;type}}
| header11 = {{#if:{{{plane2_type|}}}|First aircraft}}
| data12 = {{{Aircraft Type|{{{aircraft_type|{{{plane1_type|}}}}}}}}}
| data12 = {{#if:{{{plane1_image|}}}|[[File:{{{plane1_image}}}|180px|alt={{{plane1_alt|}}}]]{{#if:{{{plane1_caption|}}}|<br/>{{{plane1_caption}}} }} }}
| label13 = {{#if:{{{plane2_type|}}}|Name|Aircraft&nbsp;name}}
| label13 = {{#if:{{{plane2_type|}}}|Type|Aircraft&nbsp;type}}
| data13 = {{{Ship name|{{{aircraft_name|{{{plane1_name|}}}}}}}}}
| data13 = {{{Aircraft Type|{{{aircraft_type|{{{plane1_type|}}}}}}}}}
| label14 = Operator
| label14 = {{#if:{{{plane2_type|}}}|Name|Aircraft&nbsp;name}}
| data14 = {{{Operator|{{{operator|{{{plane1_operator|}}}}}}}}}
| data14 = {{{Ship name|{{{aircraft_name|{{{plane1_name|}}}}}}}}}
| label15 = [[Aircraft registration|Registration]]
| label15 = Operator
| data15 = {{{Tail Number|{{{tail_number|{{{plane1_tailnum|}}}}}}}}}
| data15 = {{{Operator|{{{operator|{{{plane1_operator|}}}}}}}}}
| label16 = Flight origin
| label16 = [[Aircraft registration|Registration]]
| data16 = {{{Origin|{{{origin|{{{plane1_origin|}}}}}}}}}
| data16 = {{{Tail Number|{{{tail_number|{{{plane1_tailnum|}}}}}}}}}
| label17 = Stopover
| label17 = Flight origin
| data17 = {{{Stopover|{{{stopover|{{{plane1_stopover|}}}}}}}}}
| data17 = {{{Origin|{{{origin|{{{plane1_origin|}}}}}}}}}
| label18 = 1st stopover
| label18 = Stopover
| data18 = {{{Stopover0|{{{stopover0|{{{plane1_stopover0|}}}}}}}}}
| data18 = {{{Stopover|{{{stopover|{{{plane1_stopover|}}}}}}}}}
| label19 = 2nd stopover
| label19 = 1st stopover
| data19 = {{{Stopover1|{{{stopover1|{{{plane1_stopover1|}}}}}}}}}
| data19 = {{{Stopover0|{{{stopover0|{{{plane1_stopover0|}}}}}}}}}
| label20 = 3rd stopover
| label20 = 2nd stopover
| data20 = {{{Stopover2|{{{stopover2|{{{plane1_stopover2|}}}}}}}}}
| data20 = {{{Stopover1|{{{stopover1|{{{plane1_stopover1|}}}}}}}}}
| label21 = 4th stopover
| label21 = 3rd stopover
| data21 = {{{Stopover3|{{{stopover3|{{{plane1_stopover3|}}}}}}}}}
| data21 = {{{Stopover2|{{{stopover2|{{{plane1_stopover2|}}}}}}}}}
| label22 = 5th stopover
| label22 = 4th stopover
| data22 = {{{Stopover4|{{{stopover4|{{{plane1_stopover4|}}}}}}}}}
| data22 = {{{Stopover3|{{{stopover3|{{{plane1_stopover3|}}}}}}}}}
| label23 = 6th stopover
| label23 = 5th stopover
| data23 = {{{Stopover5|{{{stopover5|{{{plane1_stopover5|}}}}}}}}}
| data23 = {{{Stopover4|{{{stopover4|{{{plane1_stopover4|}}}}}}}}}
| label24 = 6th stopover
| data24 = {{{Stopover5|{{{stopover5|{{{plane1_stopover5|}}}}}}}}}
| label27 = Last stopover
| label27 = Last stopover
| data27 = {{{Last stopover|{{{last_stopover|{{{plane1_laststopover|}}}}}}}}}
| data27 = {{{Last stopover|{{{last_stopover|{{{plane1_laststopover|}}}}}}}}}
Line 67: Line 69:
| label32 = Fatalities
| label32 = Fatalities
| data32 = {{#if:{{{plane2_type|}}}|{{{plane1_fatalities|}}} }}
| data32 = {{#if:{{{plane2_type|}}}|{{{plane1_fatalities|}}} }}
| label33 = Survivors
| label33 = Missing
| data33 = {{#if:{{{plane2_type|}}}|{{{plane1_survivors|}}} }}
| data33 = {{#if:{{{plane2_type|}}}|{{{plane1_missing|}}} }}
| label34 = Survivors
| header34 = {{#if:{{{plane2_type|}}}|Second aircraft}}
| data35 = {{#if:{{{plane2_image|}}}|[[File:{{{plane2_image}}}|180px|alt={{{plane2_alt|}}}]]{{#if:{{{plane2_caption|}}}|<br/>{{{plane2_caption}}} }} }}
| data34 = {{#if:{{{plane2_type|}}}|{{{plane1_survivors|}}} }}
| header35 = {{#if:{{{plane2_type|}}}|Second aircraft}}
| label36 = Type
| data36 = {{#if:{{{plane2_image|}}}|[[File:{{{plane2_image}}}|180px|alt={{{plane2_alt|}}}]]{{#if:{{{plane2_caption|}}}|<br/>{{{plane2_caption}}} }} }}
| data36 = {{{plane2_type|}}}
| label37 = Name
| label37 = Type
| data37 = {{{plane2_name|}}}
| data37 = {{{plane2_type|}}}
| label38 = Operator
| label38 = Name
| data38 = {{{plane2_operator|}}}
| data38 = {{{plane2_name|}}}
| label39 = [[Aircraft registration|Registration]]
| label39 = Operator
| data39 = {{{plane2_tailnum|}}}
| data39 = {{{plane2_operator|}}}
| label40 = Flight origin
| label40 = [[Aircraft registration|Registration]]
| data40 = {{{plane2_origin|}}}
| data40 = {{{plane2_tailnum|}}}
| label41 = Stopover
| label41 = Flight origin
| data41 = {{{plane2_stopover|}}}
| data41 = {{{plane2_origin|}}}
| label42 = 1st stopover
| label42 = Stopover
| data42 = {{{plane2_stopover0|}}}
| data42 = {{{plane2_stopover|}}}
| label43 = 2nd stopover
| label43 = 1st stopover
| data43 = {{{plane2_stopover1|}}}
| data43 = {{{plane2_stopover0|}}}
| label44 = 3rd stopover
| label44 = 2nd stopover
| data44 = {{{plane2_stopover2|}}}
| data44 = {{{plane2_stopover1|}}}
| label45 = 4th stopover
| label45 = 3rd stopover
| data45 = {{{plane2_stopover3|}}}
| data45 = {{{plane2_stopover2|}}}
| label46 = 5th stopover
| label46 = 4th stopover
| data46 = {{{plane2_stopover4|}}}
| data46 = {{{plane2_stopover3|}}}
| label47 = 6th stopover
| label47 = 5th stopover
| data47 = {{{plane2_stopover5|}}}
| data47 = {{{plane2_stopover4|}}}
| label48 = 6th stopover
| data48 = {{{plane2_stopover5|}}}
| label51 = Last stopover
| label51 = Last stopover
| data51 = {{{plane2_laststopover|}}}
| data51 = {{{plane2_laststopover|}}}
Line 107: Line 111:
| label56 = Fatalities
| label56 = Fatalities
| data56 = {{{plane2_fatalities|}}}
| data56 = {{{plane2_fatalities|}}}
| label57 = Survivors
| label57 = Missing
| data57 = {{{plane2_survivors|}}}
| data57 = {{#if:{{{plane2_type|}}}|{{{plane2_missing|}}} }}
| label58 = Survivors
| header58 = {{#if:{{{plane3_type|}}}|Third aircraft}}
| data58 = {{{plane2_survivors|}}}
| data59 = {{#if:{{{plane3_image|}}}|[[File:{{{plane3_image}}}|180px|alt={{{plane3_alt|}}}]]{{#if:{{{plane3_caption|}}}|<br/>{{{plane3_caption}}} }} }}
| header59 = {{#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 = Name
| label61 = Type
| data61 = {{{plane3_name|}}}
| data61 = {{{plane3_type|}}}
| label62 = Operator
| label62 = Name
| data62 = {{{plane3_operator|}}}
| data62 = {{{plane3_name|}}}
| label63 = [[Aircraft registration|Registration]]
| label63 = Operator
| data63 = {{{plane3_tailnum|}}}
| data63 = {{{plane3_operator|}}}
| label64 = Flight origin
| label64 = [[Aircraft registration|Registration]]
| data64 = {{{plane3_origin|}}}
| data64 = {{{plane3_tailnum|}}}
| label65 = Stopover
| label65 = Flight origin
| data65 = {{{plane3_stopover|}}}
| data65 = {{{plane3_origin|}}}
| label66 = 1st stopover
| label66 = Stopover
| data66 = {{{plane3_stopover0|}}}
| data66 = {{{plane3_stopover|}}}
| label67 = 2nd stopover
| label67 = 1st stopover
| data67 = {{{plane3_stopover1|}}}
| data67 = {{{plane3_stopover0|}}}
| label68 = 3rd stopover
| label68 = 2nd stopover
| data68 = {{{plane3_stopover2|}}}
| data68 = {{{plane3_stopover1|}}}
| label69 = 4th stopover
| label69 = 3rd stopover
| data69 = {{{plane3_stopover3|}}}
| data69 = {{{plane3_stopover2|}}}
| label70 = 5th stopover
| label70 = 4th stopover
| data70 = {{{plane3_stopover4|}}}
| data70 = {{{plane3_stopover3|}}}
| label71 = 6th stopover
| label71 = 5th stopover
| data71 = {{{plane3_stopover5|}}}
| data71 = {{{plane3_stopover4|}}}
| label72 = 6th stopover
| data72 = {{{plane3_stopover5|}}}
| label76 = Last stopover
| label76 = Last stopover
| data76 = {{{plane3_laststopover|}}}
| data76 = {{{plane3_laststopover|}}}
Line 147: Line 153:
| label81 = Fatalities
| label81 = Fatalities
| data81 = {{{plane3_fatalities|}}}
| data81 = {{{plane3_fatalities|}}}
| label82 = Survivors
| label82 = Missing
| data82 = {{{plane3_survivors|}}}
| data82 = {{#if:{{{plane3_type|}}}|{{{plane3_missing|}}} }}
| label83 = Survivors
| data83 = {{{plane3_survivors|}}}
}}<noinclude>
}}<noinclude>
{{Documentation}}
{{Documentation}}

Revision as of 21:11, 11 August 2014