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

From blackwiki
Jump to navigation Jump to search
blackwiki>Izno
(per tper)
blackwiki>Johnuniq
(update from Template:Aircraft specs/length/sandbox by User:Trialpears per edit request)
Line 2: Line 2:
 
|met={{#if:{{{m|}}}
 
|met={{#if:{{{m|}}}
 
   |{{{1|}}} {{#if:{{{ft|}}}
 
   |{{{1|}}} {{#if:{{{ft|}}}
     |{{cvt|{{{m}}}|m|m|disp=out}} ({{cvt|{{{ft}}}|ft|{{{in|0}}}|in|ftin|disp=out}})
+
     |{{#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|}}}  
 
     |{{convert|{{{m|}}}|m|ftin|0|abbr=on}}}} {{{note|}}}  
 
   |{{#if:{{{ft|}}}
 
   |{{#if:{{{ft|}}}
Line 13: Line 13:
 
|imp|kts= {{#if:{{{ft|}}}
 
|imp|kts= {{#if:{{{ft|}}}
 
   |{{{1|}}} {{#if:{{{m|}}}
 
   |{{{1|}}} {{#if:{{{m|}}}
       |{{cvt|{{{ft}}}|ft|{{{in|0}}}|in|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 10:19, 26 August 2019

50px Template documentation

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