Difference between revisions of "Template:Aircraft specs/length"
Jump to navigation
Jump to search
Template documentation
blackwiki>Frietjes |
m (9 revisions imported) |
||
| (5 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{# | + | {{#switch:{{{prime units?|met}}} |
| − | |{{#if:{{{m|}}} | + | |met={{#if:{{{m|}}} |
| − | |{{{1|}}} {{convert|{{{m|}}}|m|ftin|0|abbr=on}} {{{note|}}} | + | |{{{1|}}} {{#if:{{{ft|}}} |
| + | |{{#if:{{{in|}}}|{{cvt|{{{m}}}|m|m|disp=out}} ({{cvt|{{{ft}}}|ft|{{{in}}}|in|ftin|disp=out}})|{{cvt|{{{m}}}|m|m|disp=out}} ({{cvt|{{{ft}}}|ft|ftin|disp=out}})}} | ||
| + | |{{convert|{{{m|}}}|m|ftin|0|abbr=on}}}} {{{note|}}} | ||
|{{#if:{{{ft|}}} | |{{#if:{{{ft|}}} | ||
|{{#if:{{{in|}}} | |{{#if:{{{in|}}} | ||
| Line 9: | Line 11: | ||
}} | }} | ||
}} | }} | ||
| − | |{{#if:{{{ft|}}} | + | |imp|kts= {{#if:{{{ft|}}} |
| − | |{{#if:{{{ | + | |{{{1|}}} {{#if:{{{m|}}} |
| − | |{{{ | + | |{{#if:{{{in|}}}|{{cvt|{{{ft}}}|ft|{{{in|0}}}|in|ftin|disp=out}} ({{cvt|{{{m}}}|m|m|disp=out}})|{{cvt|{{{ft}}}|ft|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|}}} | ||
| Line 23: | Line 27: | ||
== Metric tests == | == Metric tests == | ||
| − | {{aircraft specs/length| | + | {{aircraft specs/length|prime units?=met|* '''Length:'''|m=5|ft=|in=|note=with a note}} |
| − | {{aircraft specs/length| | + | {{aircraft specs/length|prime units?=met|* '''Length:'''|m=5.49|ft=|in=|note=with a note}} |
| − | {{aircraft specs/length| | + | {{aircraft specs/length|prime units?=met|* '''Length:'''|m=|ft=16|in=5|note=with a note}} |
| − | {{aircraft specs/length| | + | {{aircraft specs/length|prime units?=met|* '''Length:'''|m=|ft=18|in=0|note=with a note}} |
| − | {{aircraft specs/length| | + | {{aircraft specs/length|prime units?=met|* '''Length:'''|m=|ft=18|in=|note=with a note}} |
| − | {{aircraft specs/length| | + | {{aircraft specs/length|prime units?=met|* '''Length:'''|m=|ft=|in=5|note=with a note}} |
== Imperial tests == | == Imperial tests == | ||
| − | {{aircraft specs/length| | + | {{aircraft specs/length|prime units?=imp|* '''Length:'''|m=5|ft=|in=|note=with a note}} |
| − | {{aircraft specs/length| | + | {{aircraft specs/length|prime units?=imp|* '''Length:'''|m=5.49|ft=|in=|note=with a note}} |
| − | {{aircraft specs/length| | + | {{aircraft specs/length|prime units?=imp|* '''Length:'''|m=|ft=16|in=5|note=with a note}} |
| − | {{aircraft specs/length| | + | {{aircraft specs/length|prime units?=imp|* '''Length:'''|m=|ft=18|in=0|note=with a note}} |
| − | {{aircraft specs/length| | + | {{aircraft specs/length|prime units?=imp|* '''Length:'''|m=|ft=18|in=|note=with a note}} |
| − | {{aircraft specs/length| | + | {{aircraft specs/length|prime units?=imp|* '''Length:'''|m=|ft=|in=5|note=with a note}} |
}}</noinclude> | }}</noinclude> | ||
Latest revision as of 13:52, 18 October 2020
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. |