Difference between revisions of "Template:Flight level/doc"
Jump to navigation
Jump to search
imported>DePiep |
imported>DePiep |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | + | The template takes a ''three-digit [[Flight level]] number'' and converts it into feet and meters. | |
| + | |||
== Usage == | == Usage == | ||
* <code><nowiki>{{Flight level|10}}</nowiki></code> → {{Flight level|10}} | * <code><nowiki>{{Flight level|10}}</nowiki></code> → {{Flight level|10}} | ||
Revision as of 19:27, 29 August 2017
| 40px | This is a documentation subpage for Template:Flight level. It contains usage information, categories and other content that is not part of the original template page. |
The template takes a three-digit Flight level number and converts it into feet and meters.
Usage
{{Flight level|10}}→ FL10 (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
- 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