Wikipedia:WikiProject Aircraft/Units
Main | Participants | Page content | Templates | Categories | New articles | AfD record | Notability | Naming | Units | Engines |
Aviation WikiProject |
---|
General information |
|
The wikipedia template, {{Convert}} converts units between metric and imperial.
The basic format is: {{convert|original_value|original_unit}}.
Units in specification tables and main article text should follow those used by the original manufacturer. Display order defaults to the entered data being displayed first, but this can be changed with "|order=flip" when that isn't appropriate, so that |10|in, which would normally produce 10 in (250 mm) displays as 250 mm (10 in).
If the original source does include multiple units, the original numbers should be used to avoid adding rounding errors.
By default, the template will convert knots and nautical miles into both metric and imperial units. Editors should include both conversions and should not use the template to intentionally exclude metric or imperial units.
Commas and spaces in the input are ignored. Multiple input values may be entered, separated with |-|, |or|, |and|, |, and|, |by|, |x| or |±|, as needed, so that |7|x|14|cm displays as 7 cm × 14 cm (2.8 in × 5.5 in), and imperial measurements with two units can be entered as |9|ft|7|in|, which displays as 9 ft 7 in (2.92 m). Fractions like |2+7/8|in| display as 2+7⁄8 inches (73 mm). Output does not otherwise have to be specified as the defaults usually work well.
Output precision is adjusted following the conversion units. For more or less precision, add a negative number to reduce precision or a positive number to increase it. The default usually works well except with weapon and engine dimensions, as different levels of precison are common between imperial and metric, or where the result is too precise for the quality of the original data, which may have already been subject to conversions between imperial and metric, or be approximate.
- {{convert|180.22|knots}} produces 180.22 knots (333.77 km/h; 207.39 mph).
- {{convert|180.22|knots|0}} produces 180.22 knots (334 km/h; 207 mph).
- {{convert|180.22|knots|-1}} produces 180.22 knots (330 km/h; 210 mph).
- {{convert|180.22|knots|4}} produces 180.22 knots (333.7674 km/h; 207.3935 mph).
Units can be displayed in several formats, with the default being spelled out, but in most cases, the abbreviation is preferable, which is displayed by adding "|abbr=on" as an argument. There is also a short form, {{cvt}} which takes the same arguments as convert, but doesn't require the use of an abbr field.
Some commonly used unit abbreviations include:
Type | Metric | Imperial |
---|---|---|
Speed | km/h, m/s | mph, knots, ft/s |
Altitude & Distance | km, m | nmi, mi, yd, ft |
Dimensions | m, cm, mm | ft, in |
Volume | l, m3 | impgal usgal/gal, cuft, cuin |
Weight | kt, kg, tonne, MT | lb, oz, t, LT ST |
Area | m2, cm2 | sqft, sqin |
Power | kW | hp |
Temperature | C, C-change | F, F-change |
Thrust-to-weight ratio
- thrust to weight calculations are based on loaded weight.
- Non-metric: Thrust and weight are both in pounds. The result is expressed without units.
- Metric: Thrust may be Newtons (N, kN, MN etc) and weight in kg. The result is in kN/kg.