Difference between revisions of "Template:Aircraft specs/length"
Jump to navigation
Jump to search
Template documentation
blackwiki>Primefac m (Changed protection level for "Template:Aircraft specs/length": 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:{{{m|}}} | |met={{#if:{{{m|}}} | ||
| − | |{{{1|}}} {{convert|{{{m|}}}|m|ftin|0|abbr=on}} {{{note|}}} | + | |{{{1|}}} {{#if:{{{ft|}}} |
| + | |{{cvt|{{{m}}}|m|m|disp=out}} ({{cvt|{{{ft}}}|ft|{{{in|0}}}|in|ftin|disp=out}}) | ||
| + | |{{convert|{{{m|}}}|m|ftin|0|abbr=on}}}} {{{note|}}} | ||
|{{#if:{{{ft|}}} | |{{#if:{{{ft|}}} | ||
|{{#if:{{{in|}}} | |{{#if:{{{in|}}} | ||
| Line 9: | Line 11: | ||
}} | }} | ||
}} | }} | ||
| − | |imp|kts={{#if:{{{ft|}}} | + | |imp|kts= {{#if:{{{ft|}}} |
| − | |{{#if:{{{in|}}} | + | |{{{1|}}} {{#if:{{{m|}}} |
| − | + | |{{cvt|{{{ft}}}|ft|{{{in|0}}}|in|ftin|disp=out}} ({{cvt|{{{m}}}|m|m|disp=out}}) {{{note|}}} | |
| − | + | |{{#if:{{{in|}}} | |
| − | }} | + | |{{convert|{{{ft|}}}|ft|{{{in|}}}|in|m|abbr=on}} {{{note|}}} |
| + | |{{convert|{{{ft|}}}|ft|m|abbr=on}} {{{note|}}} | ||
| + | }}}} | ||
|{{#if:{{{m|}}} | |{{#if:{{{m|}}} | ||
|{{{1|}}} {{convert|{{{m|}}}|m|ftin|abbr=on|order=flip}} {{{note|}}} | |{{{1|}}} {{convert|{{{m|}}}|m|ftin|abbr=on|order=flip}} {{{note|}}} | ||
Revision as of 22:31, 25 August 2019
This subtemplate is used to simplify the code in {{aircraft specs}}. It should not be used directly.
Metric tests
- Length: 5 m (16 ft 5 in) with a note
- Length: 5.49 m (18 ft 0 in) with a note
- Length: 5.00 m (16 ft 5 in) with a note
- Length: 5.49 m (18 ft 0 in) with a note
- Length: 5.5 m (18 ft) with a note
Imperial tests
- Length: 16 ft 5 in (5 m) with a note
- Length: 18 ft 0 in (5.49 m) with a note
- Length: 16 ft 5 in (5.00 m) with a note
- Length: 18 ft 0 in (5.49 m) with a note
- Length: 18 ft (5.5 m) with a note
| Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Subpages of this template. |