Difference between revisions of "Template:Aircraft specs/length/sandbox"

From blackwiki
Jump to navigation Jump to search
blackwiki>Trialpears
(And for imp)
blackwiki>Trialpears
m (in not ft)
Line 13: Line 13:
 
|imp|kts= {{#if:{{{ft|}}}
 
|imp|kts= {{#if:{{{ft|}}}
 
   |{{{1|}}} {{#if:{{{m|}}}
 
   |{{{1|}}} {{#if:{{{m|}}}
       |{{#if:{{{ft|}}}|{{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|}}}|{{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|}}}
 
         |{{#if:{{{in|}}}
 
             |{{convert|{{{ft|}}}|ft|{{{in|}}}|in|m|abbr=on}} {{{note|}}}
 
             |{{convert|{{{ft|}}}|ft|{{{in|}}}|in|m|abbr=on}} {{{note|}}}

Revision as of 09:46, 26 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