Template:Infobox aircraft occurrence: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
(image size adjustments by User:Skybunny)
(sync with sandbox (puts captions out of ImageInfobox sections) per edit request (testcases section 5))
Line 31: Line 31:
| data10 = {{#if:{{{plane2_type|}}}|{{{total_survivors|}}}|{{{Survivors|{{{plane1_survivors|{{{survivors|}}} }}} }}} }}
| data10 = {{#if:{{{plane2_type|}}}|{{{total_survivors|}}}|{{{Survivors|{{{plane1_survivors|{{{survivors|}}} }}} }}} }}
| header11 = {{#if:{{{plane2_type|}}}|First aircraft}}
| header11 = {{#if:{{{plane2_type|}}}|First aircraft}}
| data12 = {{#if:{{{plane1_image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{plane1_image|}}}|size={{{plane1_image_size|}}}|sizedefault=frameless|upright={{{plane1_image_upright|1}}}|alt={{{plane1_alt|}}}{{#if:{{{plane1_caption|}}}|<br/>{{{plane1_caption}}} }} }} }}
| data12 = {{#if:{{{plane1_image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{plane1_image|}}}|size={{{plane1_image_size|}}}|sizedefault=frameless|upright={{{plane1_image_upright|1}}}|alt={{{plane1_alt|}}} }} {{#if:{{{plane1_caption|}}}|<br/>{{{plane1_caption}}} }} }}
| label13 = {{#if:{{{plane2_type|}}}|Type|Aircraft&nbsp;type}}
| label13 = {{#if:{{{plane2_type|}}}|Type|Aircraft&nbsp;type}}
| data13 = {{{Aircraft Type|{{{aircraft_type|{{{plane1_type|}}}}}}}}}
| data13 = {{{Aircraft Type|{{{aircraft_type|{{{plane1_type|}}}}}}}}}
Line 73: Line 73:
| data34 = {{#if:{{{plane2_type|}}}|{{{plane1_survivors|}}} }}
| data34 = {{#if:{{{plane2_type|}}}|{{{plane1_survivors|}}} }}
| header35 = {{#if:{{{plane2_type|}}}|Second aircraft}}
| header35 = {{#if:{{{plane2_type|}}}|Second aircraft}}
| data36 = {{#if:{{{plane2_image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{plane2_image|}}}|size={{{plane2_image_size|}}}|sizedefault=frameless|upright={{{plane2_image_upright|1}}}|alt={{{plane2_alt|}}}{{#if:{{{plane2_caption|}}}|<br/>{{{plane2_caption}}} }} }} }}
| data36 = {{#if:{{{plane2_image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{plane2_image|}}}|size={{{plane2_image_size|}}}|sizedefault=frameless|upright={{{plane2_image_upright|1}}}|alt={{{plane2_alt|}}} }} {{#if:{{{plane2_caption|}}}|<br/>{{{plane2_caption}}} }} }}
| label37 = Type
| label37 = Type
| data37 = {{{plane2_type|}}}
| data37 = {{{plane2_type|}}}
Line 115: Line 115:
| data58 = {{{plane2_survivors|}}}
| data58 = {{{plane2_survivors|}}}
| header59 = {{#if:{{{plane3_type|}}}|Third aircraft}}
| header59 = {{#if:{{{plane3_type|}}}|Third aircraft}}
| data60 = {{#if:{{{plane3_image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{plane3_image|}}}|size={{{plane3_image_size|}}}|sizedefault=frameless|upright={{{plane3_image_upright|1}}}|alt={{{plane3_alt|}}}{{#if:{{{plane3_caption|}}}|<br/>{{{plane3_caption}}} }} }} }}
| data60 = {{#if:{{{plane3_image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{plane3_image|}}}|size={{{plane3_image_size|}}}|sizedefault=frameless|upright={{{plane3_image_upright|1}}}|alt={{{plane3_alt|}}} }} {{#if:{{{plane3_caption|}}}|<br/>{{{plane3_caption}}} }} }}
| label61 = Type
| label61 = Type
| data61 = {{{plane3_type|}}}
| data61 = {{{plane3_type|}}}

Revision as of 15:32, 6 July 2016