Jump to content

Template:Flight level/doc

From Wikipedia, the free encyclopedia

The template takes a three-digit Flight level number and converts it into feet and meters.

Usage

[edit]
  • {{Flight level|10}} → FL010 (1,000 ft; 300 m)
  • {{Flight level|100}} → FL100 (10,000 ft; 3,050 m)
  • {{Flight level|105}} → FL105 (10,500 ft; 3,200 m)
  • {{Flight level|200}} → FL200 (20,000 ft; 6,100 m)
  • {{Flight level|320}} → FL320 (32,000 ft; 9,750 m)
  • {{Flight level|405}} → FL405 (40,500 ft; 12,350 m)


  • {{Flight level|200|comment=Comment}} → FL200 (20,000 ft; 6,100 m) Comment


Options: |prefix=full, full lk, lk
  • {{Flight level|200|prefix=}} → FL200 (20,000 ft; 6,100 m) -- default
  • {{Flight level|200|prefix=lk}}FL200 (20,000 ft; 6,100 m)
  • {{Flight level|200|prefix=full}} → Flight Level 200 (20,000 ft; 6,100 m)
  • {{Flight level|200|prefix=fulllk}}Flight Level 200 (20,000 ft; 6,100 m)
{{Flight level
|1=
|prefix=
|comment=
}}

Todo

[edit]
  • Input number check
Is numerical?
Multiple of 5?
Output roundings
  • Check {{Convert}} for #iserror
  • Formatting options (nowrap, ...)
  • Reverse:
Input in ft or m, output in FL