Difference between revisions of "Template:Aircraft specs/eng/sandbox"

From blackwiki
Jump to navigation Jump to search
blackwiki>Trialpears
(Wrapped raw values with convert to ensure consistent formatting)
blackwiki>Trialpears
(Fixed brackets)
Line 32: Line 32:
 
                 |* '''Powerplant:''' {{{number|}}} × {{{name|}}} {{{type|}}}, {{#if:{{{hp|}}}|{{cvt|{{{hp|}}}|hp|hp|disp=out}} ({{cvt|{{{kw|}}}|kW|kW|disp=out}})|{{convert|{{{kw|}}}|kW|hp|abbr=on|order=flip}}}}{{{power original|}}} {{#if:{{{number}}}|{{#ifexpr: {{{number|}}} > 1 | each }}}} {{{note|}}}
 
                 |* '''Powerplant:''' {{{number|}}} × {{{name|}}} {{{type|}}}, {{#if:{{{hp|}}}|{{cvt|{{{hp|}}}|hp|hp|disp=out}} ({{cvt|{{{kw|}}}|kW|kW|disp=out}})|{{convert|{{{kw|}}}|kW|hp|abbr=on|order=flip}}}}{{{power original|}}} {{#if:{{{number}}}|{{#ifexpr: {{{number|}}} > 1 | each }}}} {{{note|}}}
 
                 |{{#if:{{{kn|}}}
 
                 |{{#if:{{{kn|}}}
                     |* '''Powerplant:''' {{{number|}}} × {{{name|}}} {{{type|}}}, {{#if:{{{lbf|}}}|{{cvt|{{{lbf|}}}|lbf|lbf|disp=out 00 ({{cvt|{{{kn|}}}|kN|kN|disp=out}})|{{convert|{{{kn|}}}|kN|lbf|abbr=on|order=flip}}}} thrust{{{thrust original|}}} {{#if:{{{number}}}|{{#ifexpr: {{{number|}}} > 1 | each }}}} {{{note|}}}
+
                     |* '''Powerplant:''' {{{number|}}} × {{{name|}}} {{{type|}}}, {{#if:{{{lbf|}}}|{{cvt|{{{lbf|}}}|lbf|lbf|disp=out}} ({{cvt|{{{kn|}}}|kN|kN|disp=out}})|{{convert|{{{kn|}}}|kN|lbf|abbr=on|order=flip}}}} thrust{{{thrust original|}}} {{#if:{{{number}}}|{{#ifexpr: {{{number|}}} > 1 | each }}}} {{{note|}}}
 
                     |{{#if:{{{shp|}}}
 
                     |{{#if:{{{shp|}}}
 
                         |* '''Powerplant:''' {{{number|}}} × {{{name|}}} {{{type|}}}, {{#if:{{{shp|}}}|{{cvt|{{{shp|}}}|shp|shp|disp=out}} ({{cvt|{{{kw}}}|kW|kW|disp=out}})|{{convert|{{{shp|}}}|shp|kW|abbr=on}}}} {{{power original|}}} {{#if:{{{number}}}|{{#ifexpr: {{{number|}}} > 1 | each }}}} {{{note|}}}
 
                         |* '''Powerplant:''' {{{number|}}} × {{{name|}}} {{{type|}}}, {{#if:{{{shp|}}}|{{cvt|{{{shp|}}}|shp|shp|disp=out}} ({{cvt|{{{kw}}}|kW|kW|disp=out}})|{{convert|{{{shp|}}}|shp|kW|abbr=on}}}} {{{power original|}}} {{#if:{{{number}}}|{{#ifexpr: {{{number|}}} > 1 | each }}}} {{{note|}}}

Revision as of 00:31, 10 August 2019

Template documentation

This subtemplate is used to simplify the code in {{aircraft specs}}. It should not be used directly.