Difference between revisions of "Template:Aircraft specifications/switch"
Jump to navigation
Jump to search
blackwiki>Cydebot m (Robot - Removing category Templates using ParserFunctions per CFD at Wikipedia:Categories for discussion/Log/2008 August 21.) |
blackwiki>Fnlayson (Update with code from Template:Aircraft specifications. switched alt and main code) |
||
| Line 1: | Line 1: | ||
| − | + | {{ | |
| − | + | #if: {{{ref|}}} | |
| − | + | |<p style="font-size: 90%; margin:0; padding: .2em">''Data from'' {{{ref}}}</p> | |
| − | + | }}<big>'''General characteristics'''</big>{{ | |
| − | + | #if: {{{crew|}}} | |
| − | * '''Crew:''' {{{crew | + | |* '''Crew:''' {{{crew}}} |
| − | #if:{{{capacity|}}} | + | }}{{ |
| + | #if: {{{capacity|}}} | ||
|* '''Capacity:''' {{{capacity}}} | |* '''Capacity:''' {{{capacity}}} | ||
| − | + | }}{{ | |
| − | #if:{{{payload | + | #if: {{{payload alt|}}} |
| − | |* '''Payload:''' {{{payload alt | + | |* '''[[Payload (air and space craft)|Payload]]:''' {{{payload alt}}} ({{{payload main|}}}) {{{payload more|}}} |
| − | + | }} | |
| − | * '''Length:''' {{{length alt|}}} ({{{length main|}}}){{ | + | * '''Length:''' {{{length alt|}}} ({{{length main|}}}) |
| − | #ifeq:{{{plane or copter?}}}|copter | + | * '''{{#ifeq: {{{plane or copter?}}} | copter |
| − | | | + | |Rotor diameter |
| − | | | + | |[[Wingspan]] |
| − | + | }}:''' {{{span alt|}}} ({{{span main|}}}) | |
* '''Height:''' {{{height alt|}}} ({{{height main|}}}){{ | * '''Height:''' {{{height alt|}}} ({{{height main|}}}){{ | ||
| − | # | + | #if:{{{area main|}}} |
| − | |* ''' | + | |* '''{{ |
| − | + | #ifeq: {{{plane or copter?}}} | copter | |
| − | + | |Disc | |
| − | #if:{{{airfoil|}}} | + | |Wing |
| − | |* '''[[Airfoil]]:''' {{{airfoil}}} | + | }} area:''' {{{area alt}}} ({{{area main|}}}) |
| − | }} | + | }}{{ |
| − | * '''Empty weight:''' {{{empty weight alt|}}} ({{{empty weight main|}}}){{ | + | #if: {{{airfoil|}}} |
| − | #if:{{{loaded weight | + | |* '''[[Airfoil]]:''' {{{airfoil}}} |
| + | }}{{ | ||
| + | #if: {{{empty weight alt|}}} | ||
| + | |* '''Empty weight:''' {{{empty weight alt|}}} ({{{empty weight main|}}}) | ||
| + | }}{{ | ||
| + | #if: {{{loaded weight alt|}}} | ||
|* '''Loaded weight:''' {{{loaded weight alt|}}} ({{{loaded weight main|}}}) | |* '''Loaded weight:''' {{{loaded weight alt|}}} ({{{loaded weight main|}}}) | ||
| − | + | }}{{ | |
| − | #if:{{{useful load | + | #if: {{{useful load alt|}}} |
|* '''Useful load:''' {{{useful load alt|}}} ({{{useful load main|}}}) | |* '''Useful load:''' {{{useful load alt|}}} ({{{useful load main|}}}) | ||
| + | }}{{ | ||
| + | #if: {{{max takeoff weight alt|}}} | ||
| + | |* '''[[Maximum Takeoff Weight|Max takeoff weight]]:''' {{{max takeoff weight alt}}} ({{{max takeoff weight main|}}}) {{{max takeoff weight more|}}} | ||
| + | }}{{ | ||
| + | #switch: {{{jet or prop?}}} | ||
| + | |prop =* '''Powerplant:''' {{{number of props|}}}× {{{engine (prop)|}}}{{#if: {{{type of prop|}}} | {{{type of prop}}} }}, {{{power alt|}}} ({{{power main|}}}){{{power original|}}} {{{power more|}}} {{ | ||
| + | #ifeq: {{{number of props}}} |1 | | ||
| + | |each | ||
}}{{ | }}{{ | ||
| − | #if:{{{ | + | #if: {{{propellers|}}} |
| − | + | |* '''Propellers:''' {{{propellers}}} {{{propeller or rotor?|}}}{{ | |
| + | #if: {{{number of propellers per engine|}}} | ||
| + | |, {{{number of propellers per engine}}} per engine | ||
| + | }} | ||
}}{{ | }}{{ | ||
| − | # | + | #if:{{{propeller diameter alt|}}} |
| − | + | |{{ #if: {{{propellers|}}} |**|*}} '''Propeller diameter:''' {{{propeller diameter alt}}} ({{{propeller diameter main|}}}) | |
| − | + | }} | |
| − | + | | jet =* '''Powerplant:''' {{{number of jets|}}}× {{{engine (jet)|}}} {{{type of jet|}}}{{ | |
| − | + | #if: {{{thrust alt|}}} | |
| − | |jet=* '''Powerplant:''' {{{number of jets|}}}× {{{engine (jet)|}}} {{{type of jet|}}}{{#if:{{{afterburning thrust | + | |{{ |
| − | + | #if: {{{afterburning thrust alt|}}} | |
| − | + | |** '''Dry thrust:''' {{{thrust alt}}} ({{{thrust main|}}}){{{thrust original|}}} {{ | |
| − | + | #ifeq: {{{number of jets}}} |1 | |
| − | + | | | |
| − | ** '''Thrust with [[afterburner]]:''' {{{afterburning thrust alt | + | |each |
| − | + | }} | |
| − | + | ** '''Thrust with [[afterburner]]:''' {{{afterburning thrust alt}}} ({{{afterburning thrust main|}}}) {{{afterburning thrust original|}}} <!-- | |
| − | + | ||
| − | |, {{{thrust alt | + | follows ELSE branch of if [NOT] afterburning |
| − | + | ||
| − | + | --> | |
| − | + | |, {{{thrust alt}}} ({{{thrust main|}}}){{{thrust original|}}} {{{thrust alt|}}} | |
| − | + | }}<!--endif afterburning thrust; now show # of jets whether for afterburner or main --> {{ | |
| + | #ifeq: {{{number of jets}}} | 1 | | ||
| + | |each }} | ||
| + | }} | ||
|both=* '''Powerplant:''' | |both=* '''Powerplant:''' | ||
| − | ** {{{number of jets|}}}× {{{engine (jet)|}}} {{{type of jet|}}}, {{{thrust alt|}}} ({{{thrust main|}}}){{{thrust original|}}} {{{thrust more|}}} {{#ifeq:{{{number of jets}}}|1 | + | ** {{{number of jets|}}}× {{{engine (jet)|}}}{{#if: {{{type of jet|}}} | {{{type of jet}}} }}, {{{thrust alt|}}} ({{{thrust main|}}}){{{thrust original|}}} {{{thrust more|}}} {{ |
| + | #ifeq:{{{number of jets}}}|1 | ||
| | | | ||
|each | |each | ||
| − | + | }} | |
| − | ** {{{number of props|}}}× {{{engine (prop)|}}} {{{type of prop|}}}, {{{power | + | ** {{{number of props|}}}× {{{engine (prop)|}}}{{#if: {{{type of prop|}}} | {{{type of prop}}} }}, {{{power main|}}} ({{{power alt|}}}){{{power original|}}} {{{power more|}}} {{ |
| + | #ifeq:{{{number of props}}}|1 | ||
| | | | ||
|each | |each | ||
| + | }}{{ | ||
| + | #if: {{{propellers|}}} | ||
| + | |*** '''Propellers:''' {{{propellers}}} {{{propeller or rotor?|}}}{{ | ||
| + | #if:{{{number of propellers per engine|}}} | ||
| + | |, {{{number of propellers per engine}}} per engine | ||
| + | }}{{ | ||
| + | #if: {{{propeller diameter alt|}}} | ||
| + | |** '''Propeller diameter:''' {{{propeller diameter alt}}} ({{{propeller diameter main|}}}) | ||
}} | }} | ||
}}{{ | }}{{ | ||
| − | #if:{{{more general|}}}|{{{more general | + | #if:{{{propeller diameter alt|}}} |
| − | < | + | |{{ |
| + | #if: {{{propellers|}}} | ||
| + | | | ||
| + | |* '''Propeller diameter:''' {{{propeller diameter alt}}} ({{{propeller diameter main|}}}) | ||
| + | }} | ||
| + | }} | ||
| + | }}{{ | ||
| + | #if: {{{more general|}}} | ||
| + | |* {{{more general}}} | ||
| + | }} | ||
| + | <big> {{{performance header|'''Performance'''}}} </big> | ||
{{ | {{ | ||
| − | #if:{{{never exceed speed | + | #if: {{{never exceed speed alt|}}} |
| − | |* '''[[Vne|Never exceed speed]]:''' | + | |* '''[[V speeds#Vne|Never exceed speed]]:''' {{{never exceed speed alt}}} {{#if:{{{never exceed speed alt|}}} |
| − | + | |({{{never exceed speed main}}}) {{{never exceed speed more|}}} | |
| − | + | }} | |
| − | + | }}{{ | |
| − | + | #if:{{{max speed alt|}}} | |
| − | #if:{{{max speed | + | |* '''[[V speeds#Vno|Maximum speed]]:''' {{{max speed alt}}} {{ |
| − | |* '''[[Vno|Maximum speed]]:''' {{{max speed alt|}}} ({{{max speed main | + | #if:{{{max speed main|}}} |
| − | }}{{ | + | |({{{max speed main}}}) {{{max speed more|}}} |
| − | #if:{{{cruise speed | + | }} |
| − | |* '''[[V speeds|Cruise speed]]:''' {{{cruise speed alt|}}} ({{{cruise speed main|}}}) {{{cruise speed more|}}} | + | }}{{ |
| − | }}{{ | + | #if:{{{cruise speed alt|}}} |
| − | #if:{{{stall speed main|}}} | + | |* '''[[V speeds#Vc|Cruise speed]]:''' {{{cruise speed alt|}}} {{ |
| − | |* '''[[Stall speed]]:''' {{{stall speed alt | + | #if:{{{cruise speed main|}}} |
| − | }}{{ | + | |({{{cruise speed main|}}}) {{{cruise speed more|}}} |
| + | }} | ||
| + | }}{{ | ||
| + | #if: {{{stall speed main|}}} | ||
| + | |* '''[[Stall speed]]:''' {{{stall speed alt}}} ({{{stall speed main|}}}) {{{stall speed more|}}} | ||
| + | }}{{ | ||
| + | #if: {{{minimum control speed main|}}} | ||
| + | |* '''[[V speeds#Vmc|Minimum controllable speed]]:''' {{{minimum control speed alt}}} ({{{minimum control speed main|}}}) {{{minimum control speed more|}}} | ||
| + | }}{{ | ||
| + | #if:{{{range main|}}} | ||
| + | |* '''[[Range (aircraft)|Range]]:''' {{{range alt}}} ({{{range main|}}}) {{{range more|}}} | ||
| + | }}{{ | ||
#if:{{{combat radius main|}}} | #if:{{{combat radius main|}}} | ||
| − | + | |* '''Combat radius:''' {{{combat radius alt}}} ({{{combat radius main|}}}) {{{combat radius more|}}} | |
| − | }}{{ | + | }}{{ |
| + | #if:{{{combat range main|}}} | ||
| + | |*'''Combat range:''' {{{combat range alt}}} ({{{combat range main|}}}) {{{combat range more|}}} | ||
| + | }}{{ | ||
#if:{{{ferry range main|}}} | #if:{{{ferry range main|}}} | ||
| − | + | |* '''[[Ferry range]]:''' {{{ferry range alt}}} ({{{ferry range main|}}}) {{{ferry range more|}}} | |
| − | + | }}{{ | |
| − | #if:{{{ | + | #if: {{{ceiling main|}}} |
| − | + | |* '''[[Ceiling (aeronautics)|Service ceiling]]:''' {{{ceiling alt}}} ({{{ceiling main|}}}) {{{ceiling more|}}} | |
| − | + | }}{{ | |
| − | #if:{{{ | + | #if: {{{climb rate main|}}} |
| − | |* '''[[ | + | |* '''[[Rate of climb]]:''' {{{climb rate alt}}} ({{{climb rate main|}}}) {{{climb rate more|}}} |
| − | + | }}{{ | |
| − | #if:{{{ | + | #if: {{{loading main|}}} |
| − | |* '''[[ | + | |* '''{{#ifeq: {{{plane or copter?}}} |copter |
| − | + | |Disc loading | |
| − | # | + | |[[Wing loading]] |
| − | + | }}:''' {{{loading alt}}} ({{{loading main|}}}) | |
| − | + | }}{{ | |
| − | + | #if:{{{lift to drag|}}} | |
| − | #switch:{{{jet or prop?}}} | + | |* '''[[Lift-to-drag ratio|lift-to-drag]]:''' {{{lift to drag}}} |
| − | |jet={{#if:{{{afterburning thrust/weight|}}} | + | }}{{ |
| − | |* '''[[Thrust-to-weight ratio|Thrust/weight]]:''' | + | #if:{{{fuel consumption|}}} |
| − | + | |* '''[[Fuel consumption]]:''' {{{fuel consumption}}} | |
| − | + | }}{{ | |
| − | + | #switch: {{{jet or prop?}}} | |
| − | |* ''' | + | |jet={{ #if: {{{afterburning thrust/weight|}}} |
| − | + | |* '''[[Thrust-to-weight ratio|Thrust/weight]]:'''{{ | |
| + | #if:{{{thrust/weight|}}} | ||
| + | |** '''Dry:''' {{{thrust/weight}}} | ||
}} | }} | ||
| − | + | ** '''With afterburner:''' {{{afterburning thrust/weight}}} | |
| − | + | |{{ | |
| + | #if:{{{thrust/weight|}}} | ||
| + | |* '''[[Thrust-to-weight ratio|Thrust/weight]]:''' {{{thrust/weight}}} | ||
}} | }} | ||
| − | | | + | }} |
| − | |* '''[[Power-to-weight ratio|Power/mass]] | + | |prop={{ |
| − | + | #if:{{{power/mass main|}}} | |
| − | |* '''[[ | + | |* '''[[Power-to-weight ratio|Power/mass]]:''' {{{power/mass alt}}} ({{{power/mass main|}}}) |
| − | + | }} | |
| − | + | |both={{ | |
| − | + | #if:{{{power/mass main|}}} | |
| − | + | |* '''[[Power-to-weight ratio|Power/mass]] (prop):''' {{{power/mass alt}}} ({{{power/mass main|}}}) | |
| − | |||
| − | |||
}}{{ | }}{{ | ||
| + | #if:{{{thrust/weight|}}} | ||
| + | |* '''[[Thrust-to-weight ratio|Thrust/weight]] (jet):''' {{{thrust/weight}}} | ||
| + | }} | ||
| + | }}{{ | ||
| + | #if: {{{max loading main|}}} | ||
| + | |* '''Max {{#ifeq: {{{plane or copter?}}} |copter | ||
| + | | disc loading | ||
| + | | [[wing loading]] | ||
| + | }}:''' {{{max loading alt}}} ({{{max loading main|}}}) | ||
| + | }}{{ | ||
#switch:{{{jet or prop?}}} | #switch:{{{jet or prop?}}} | ||
|jet={{#if:{{{max afterburning thrust/weight|}}} | |jet={{#if:{{{max afterburning thrust/weight|}}} | ||
| − | |* ''' | + | |* '''Minimum [[Thrust-to-weight ratio|thrust/weight]]:'''{{ |
| − | ** '''Dry:''' {{{max thrust/weight|}}} | + | #if:{{{max thrust/weight|}}} |
| + | |** '''Dry:''' {{{max thrust/weight|}}} | ||
| + | }} | ||
** '''With afterburner:''' {{{max afterburning thrust/weight|}}} | ** '''With afterburner:''' {{{max afterburning thrust/weight|}}} | ||
| − | |{{ | + | |{{ |
| − | + | #if:{{{max thrust/weight|}}} | |
| − | + | |* '''Minimum [[Thrust-to-weight ratio|thrust/weight]]:''' {{{max thrust/weight}}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
| − | |||
}} | }} | ||
| − | + | |prop={{ | |
| − | + | #if:{{{max power/mass main|}}} | |
| − | + | |* '''Minimum [[Power-to-weight ratio|power/mass]]:''' {{{max power/mass alt}}} ({{{max power/mass main|}}}) | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
| − | {{#if:{{{ | + | |both={{ |
| − | | | + | #if:{{{max power/mass main|}}} |
| − | {{{ | + | |* '''Minimum [[Power-to-weight ratio|power/mass]] (prop):''' {{{max power/mass alt}}} ({{{max power/mass main|}}}) |
| + | }}{{ | ||
| + | #if:{{{max thrust/weight|}}} | ||
| + | |* '''Minimum [[Thrust-to-weight ratio|thrust/weight]] (jet):''' {{{max thrust/weight}}} | ||
}} | }} | ||
| + | | | ||
| + | }} | ||
| + | {{{more performance|}}}{{ | ||
| + | #if: {{{armament|}}}{{{guns|}}}{{{bombs|}}}{{{missiles|}}}{{{rockets|}}}{{{hardpoints|}}} | ||
| + | |{{ | ||
| + | #if: {{{more performance|}}} | ||
| + | |</ul> | ||
| + | }}<big>{{{armament header|</ul>'''Armament'''}}}</big><br/> | ||
| + | {{{armament|{{ | ||
| + | #if:{{{guns|}}} | ||
| + | |* '''Guns:''' {{{guns}}} | ||
| + | }}{{ | ||
| + | #if:{{{hardpoints|}}} | ||
| + | |* '''Hardpoints:''' {{{hardpoints}}} {{#if:{{{hardpoint capacity|}}} | ||
| + | |with a capacity of {{{hardpoint capacity}}}, | ||
| + | }}{{ | ||
| + | #if:{{{hardpoint rockets|}}}{{{hardpoint missiles|}}}{{{hardpoint bombs|}}}{{{hardpoint other|}}} | ||
| + | |with provisions to carry combinations of: | ||
| + | }}{{ | ||
| + | #if:{{{hardpoint rockets|}}} | ||
| + | |** '''Rockets:''' {{{hardpoint rockets}}} | ||
| + | }}{{ | ||
| + | #if:{{{hardpoint missiles|}}} | ||
| + | |** '''Missiles:''' {{{hardpoint missiles}}} | ||
| + | }}{{ | ||
| + | #if:{{{hardpoint bombs|}}} | ||
| + | |** '''Bombs:''' {{{hardpoint bombs}}} | ||
| + | }}{{{hardpoint other|}}} | ||
| + | }}{{ | ||
| + | #if:{{{rockets|}}} | ||
| + | |* '''Rockets:''' {{{rockets}}} | ||
| + | }}{{ | ||
| + | #if:{{{missiles|}}} | ||
| + | |* '''Missiles:''' {{{missiles}}} | ||
| + | }}{{ | ||
| + | #if:{{{bombs|}}} | ||
| + | |* '''Bombs:''' {{{bombs}}} | ||
| + | }}{{{other armament|}}} | ||
| + | </ul> | ||
| + | }}} | ||
| + | }}{{ | ||
| + | #if: {{{avionics|}}} | ||
| + | |{{ | ||
| + | #if: {{{more performance|}}} | ||
| + | |</ul> | ||
| + | }}</ul> | ||
| + | <big>{{{avionics header|'''Avionics'''}}}</big><br/> | ||
| + | {{{avionics}}} | ||
| + | }}<noinclude> | ||
| + | {{template doc}} | ||
| + | </noinclude> | ||