Template:Convert/list of units
The table below lists units supported by Template:Tlf. More complete lists are linked for each dimension. For a complete list of all dimensions, see full list of units.
Template:Tlf uses unit-codes, which are similar to, but not necessarily exactly the same as, the usual written abbreviation for a given unit. These unit-codes are displayed in column 3 of the following tables. These are accepted as input by Template:Tlf as the second and third unnamed parameters:
- Template:Tlc → 100 kilograms (220 lb)
- Template:Tlc → 100 pounds (45 kg)
The unit-codes should be treated as case-sensitive:
- Template:Tlc → 100 megametres (1.0×1011 mm)
The output of Template:Tlf can display multiple converted units, if further unit-codes are specified after the second unnamed parameter (without the pipe separator). Typical combination output units are listed below in column 7.
- Template:Tlc → 55 nautical miles (102 km; 63 mi)
- Template:Tlc → 1 ounce (0.91 ozt; 28 g; 440 gr)
Some units have alternative unit-codes. These are shown in brackets in column 3, e.g. °F
(F
). Either may be entered for Fahrenheit (but not a lower-case f).
Abridged list of supported units | |||||||
---|---|---|---|---|---|---|---|
Template:Large | |||||||
system | unit | unit- code |
symbol or abbrev. |
notes | sample default conversion |
combination output units | |
the system(s) to which the unit belongs | units listed by name | unit-code to use in template | symbols shown in output | other notes about the units | sample of the default conversion for the unit | output codes for multiple conversions
Template:Convert/list of units/area/short list Template:Convert/list of units/density/short list Template:Convert/list of units/energy/short list Template:Convert/list of units/force/short list Template:Convert/list of units/length/short list Template:Convert/list of units/mass/short list Template:Convert/list of units/speed/short list Template:Convert/list of units/temperature/short list Template:Convert/list of units/torque/short list Template:Convert/list of units/volume/short list | |
Template:Large (Full list) | |||||||
unit | unit- code |
symbol or abbrev. |
sample default conversion |
||||
gigapascal | GPa | GPa | 1.0 GPa (150,000 psi) | ||||
megapascal | MPa | MPa | 1.0 MPa (150 psi) | ||||
kilopascal | kPa | kPa | 1.0 kPa (0.15 psi) | ||||
hectopascal | hPa | hPa | 1.0 hPa (0.015 psi) | ||||
pascal | Pa | Pa | 1.0 Pa (0.00015 psi) | ||||
millipascal | mPa | mPa | 1.0 mPa (1.5×10−7 psi) | ||||
millibar | mbar | mbar | 1.0 mbar (1.0 hPa) | ||||
decibar | dbar | dbar | 1.0 dbar (10 kPa) | ||||
bar | bar | (none) | 1.0 bar (100 kPa) | ||||
kilobarye | kBa | kBa | 1.0 kBa (1.0 hPa) | ||||
barye | Ba | Ba | 1.0 Ba (0.10 Pa) | ||||
standard atmosphere | atm | atm | 1.0 atm (100 kPa) | ||||
torr | Torr | Torr | 1.0 Torr (0.13 kPa) | ||||
millimetre of mercury | mmHg | mmHg | 1.0 mmHg (0.13 kPa) | ||||
inch of mercury | inHg | inHg | 1.0 inHg (3.4 kPa) | ||||
pound per square inch | psi | psi | 1.0 psi (6.9 kPa) | ||||
Template:Large | |||||||
unit | unit- code |
notes | combinations | ||||
kilometres per litre | km/l (km/L) | Use km/L to get "km/L"
|
| ||||
litres per 100 kilometres | l/100 km (L/100 km) | Use L/100 km to get "L/100 km"
|
| ||||
litres per kilometre | l/km (L/km) | Use L/km to get "L/km"
|
| ||||
miles per imperial gallon | mpgimp |
| |||||
miles per US gallon | mpgus (mpgUS, mpgU.S.) | Use mpgUS to get "US"Use |
| ||||
imperial gallons per mile | impgal/mi |
| |||||
US gallons per mile | usgal/mi (USgal/mi, U.S.gal/mi) | As above with the us vs US vs U.S.
|
| ||||
The mpgUS , mpgU.S. , USgal/mi vs U.S.gal/mi , km/L , L/100 km and L/km variants work within combinations also (making 36 combinations in total).
| |||||||
Template:Large | |||||||
unit | unit- code |
notes | combinations | ||||
inhabitants per square kilometre | PD/km2 | PD stands for population density, i.e. humans (inhabitants)
|
| ||||
per square kilometre | /km2 | Used when the word 'inhabitants' would be inappropriate. |
| ||||
inhabitants per hectare | PD/ha |
| |||||
per hectare | /ha |
| |||||
inhabitants per square mile | PD/sqmi | PD stands for population density, i.e. humans (inhabitants)
|
| ||||
per square mile | /sqmi | Used when the word 'inhabitants' would be inappropriate. |
| ||||
inhabitants per acre | PD/acre |
| |||||
per acre | /acre |
| |||||
Template:Large | |||||||
unit | unit- code |
notes | combinations | ||||
dollars per pound | $/lb | "$" can mean US$, HK$, etc. |
| ||||
dollars per kilogram | $/kg |
| |||||
dollars per troy ounce | $/ozt | 12 troy ounces in 1 troy pound |
|