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

From blackwiki
Jump to navigation Jump to search
blackwiki>Trialpears
(fix)
blackwiki>Trialpears
(Fixed {{{1}}} displaying when nothing was provided)
Line 11: Line 11:
 
   }}
 
   }}
 
}}
 
}}
|imp|kts={{{1|}}} {{#if:{{{ft|}}}
+
|imp|kts= {{#if:{{{ft|}}}
   |{{#if:{{{m|}}}
+
   |{{{1|}}}{{#if:{{{m|}}}
 
       |{{{ft}}} ft {{{in|0}}} in ({{{m}}} m) {{{note|}}}
 
       |{{{ft}}} ft {{{in|0}}} in ({{{m}}} m) {{{note|}}}
 
         |{{#if:{{{in|}}}
 
         |{{#if:{{{in|}}}
             |{{{1|}}} {{convert|{{{ft|}}}|ft|{{{in|}}}|in|m|abbr=on}} {{{note|}}}
+
             |{{convert|{{{ft|}}}|ft|{{{in|}}}|in|m|abbr=on}} {{{note|}}}
             |{{{1|}}} {{convert|{{{ft|}}}|ft|m|abbr=on}} {{{note|}}}  
+
             |{{convert|{{{ft|}}}|ft|m|abbr=on}} {{{note|}}}  
 
     }}}}
 
     }}}}
 
   |{{#if:{{{m|}}}
 
   |{{#if:{{{m|}}}

Revision as of 23:11, 9 August 2019

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