Difference between revisions of "Template:Aircraft specs/length"
Jump to navigation
Jump to search
Template documentation
blackwiki>Frietjes |
blackwiki>Frietjes (syntax update) |
||
| Line 1: | Line 1: | ||
| − | {{# | + | {{#switch:{{{prime units?|met}}} |
| − | |{{#if:{{{m|}}} | + | |met={{#if:{{{m|}}} |
|{{{1|}}} {{convert|{{{m|}}}|m|ftin|0|abbr=on}} {{{note|}}} | |{{{1|}}} {{convert|{{{m|}}}|m|ftin|0|abbr=on}} {{{note|}}} | ||
|{{#if:{{{ft|}}} | |{{#if:{{{ft|}}} | ||
| Line 9: | Line 9: | ||
}} | }} | ||
}} | }} | ||
| − | |{{#if:{{{ft|}}} | + | |imp|kts={{#if:{{{ft|}}} |
|{{#if:{{{in|}}} | |{{#if:{{{in|}}} | ||
|{{{1|}}} {{convert|{{{ft|}}}|ft|{{{in|}}}|in|m|abbr=on}} {{{note|}}} | |{{{1|}}} {{convert|{{{ft|}}}|ft|{{{in|}}}|in|m|abbr=on}} {{{note|}}} | ||
| Line 23: | Line 23: | ||
== 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> | ||
Revision as of 01:09, 23 February 2017
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. |