Difference between revisions of "Template:Aircraft specs/speed"
Jump to navigation
Jump to search
Template documentation
blackwiki>Primefac m (Changed protection level for "Template:Aircraft specs/speed": high-risk template with 4000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))) |
blackwiki>Izno (per tper) |
||
| Line 1: | Line 1: | ||
{{#switch:{{{prime units?|met}}} | {{#switch:{{{prime units?|met}}} | ||
| − | |met={{#if:{{{kmh|}}} | + | |met={{#if:{{{kmh|}}}|{{{1|}}} {{cvt|{{{kmh|}}}|km|km|disp=out}}|{{#if:{{{mph|}}}|{{{1|}}} {{cvt|{{{mph|}}}|mph|km/h|disp=out}}|{{#if:{{{kts|}}}|{{{1|}}} {{cvt|{{{kts|}}}|kn|km/h|disp=out}} }} }} }} {{#if:{{{mph|}}}|({{cvt|{{{mph|}}}|mph|mph|disp=out}},|{{#if:{{{kmh|}}}|({{cvt|{{{kmh|}}}|km/h|mph|disp=out}},|{{#if:{{{kts|}}}|({{cvt|{{{kts|}}}|kn|mph|disp=out}},}}}}}} {{#if:{{{kts|}}}|{{cvt|{{{kts|}}}|kn|kn|disp=out}})|{{#if:{{{mph|}}}|{{cvt|{{{mph|}}}|mph|kn|disp=out}})|{{#if:{{{kmh|}}}|{{cvt|{{{kmh|}}}|km/h|kn|disp=out}})}}}}}} {{{note|}}} |
| − | + | |imp={{#if:{{{mph|}}}|{{{1|}}} {{cvt|{{{mph|}}}|mph|mph|disp=out}}|{{#if:{{{kmh|}}}|{{{1|}}} {{cvt|{{{kmh|}}}|km/h|mph|disp=out}}|{{#if:{{{kts|}}}|{{{1|}}} {{cvt|{{{kts|}}}|kn|mph|disp=out}} }} }} }} {{#if:{{{kmh|}}}|({{cvt|{{{kmh|}}}|km/h|km/h|disp=out}},|{{#if:{{{mph|}}}|({{cvt|{{{mph|}}}|mph|km/h|disp=out}},|{{#if:{{{kts|}}}|({{cvt|{{{kts|}}}|kn|km/h|disp=out}},}}}}}} {{#if:{{{kts|}}}|{{cvt|{{{kts|}}}|kn|kn|disp=out}})|{{#if:{{{mph|}}}|{{cvt|{{{mph|}}}|mph|kn|disp=out}})|{{#if:{{{kmh|}}}|{{cvt|{{{kmh|}}}|km/h|kn|disp=out}})}}}}}} {{{note|}}} | |
| − | + | |kts={{#if:{{{kts|}}}|{{{1|}}} {{cvt|{{{kts|}}}|kn|kn|disp=out}}|{{#if:{{{mph|}}}|{{{1|}}} {{cvt|{{{mph|}}}|mph|kn|disp=out}}|{{#if:{{{kmh|}}}|{{{1|}}} {{cvt|{{{kmh|}}}|km/h|kn|disp=out}} }} }} }} {{#if:{{{mph|}}}|({{cvt|{{{mph|}}}|mph|mph|disp=out}},|{{#if:{{{kmh|}}}|({{cvt|{{{kmh|}}}|km/h|mph|disp=out}},|{{#if:{{{kts|}}}|({{cvt|{{{kts|}}}|kn|mph|disp=out}},}}}}}} {{#if:{{{kmh|}}}|{{cvt|{{{kmh|}}}|km/h|km/h|disp=out}})|{{#if:{{{mph|}}}|{{cvt|{{{mph|}}}|mph|km/h|disp=out}})|{{#if:{{{kts|}}}|{{cvt|{{{kts|}}}|kn|km/h|disp=out}})}}}}}} {{{note|}}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}}<noinclude> | }}<noinclude> | ||
{{documentation|content= | {{documentation|content= | ||
Revision as of 22:33, 25 August 2019
This subtemplate is used to simplify the code in {{aircraft specs}}. It should not be used directly.
Metric tests
- Speed: 50 km (31 mph, 27 kn) with a note
- Speed: 50 km/h (31 mph, 27 kn) with a note
- Speed: 50 km/h (31 mph, 27 kn) with a note
Imperial tests
- Speed: 31 mph (50 km/h, 27 kn) with a note
- Speed: 31 mph (50 km/h, 27 kn) with a note
- Speed: 31 mph (50 km/h, 27 kn) with a note
Kts tests
- Speed: 27 kn (31 mph, 50 km/h) with a note
- Speed: 27 kn (31 mph, 50 km/h) with a note
- Speed: 27 kn (31 mph, 50 km/h) with a note
| Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Subpages of this template. |