Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

User:Johan G/convert

From FlightGear wiki
< User:Johan G
Revision as of 13:43, 5 August 2018 by Wkitty42 (Talk | contribs) (Undo revision 115776 by Wkitty42 (talk) nope, gotta take round out of the ones i added.)

Jump to: navigation, search

Parameter value missing

The following template description is not displayed when the template is inserted in an article.

Goal

This template can be used to...

Adding this template to a page will automatically add Category:... to that page.

Caution Caution that might help prevent lost work, very complicated debugging etc...

Note Note that might be helpful or lead the reader in the right direction.

Usage

{{convert|value|from-unit|to-unit|decimals|hide-unit}}

The parameters value, from-unit and to-unit are mandatory, and the other optional

value
Value to be converted from one unit to another.
from-unit
Unit to be converted from
to-unit
Unit to be converted to
decimals
Number of decimals. If empty, no decimals will be shown
hide-unit
If not empty the unit will not be shown in the result

Examples

Examples using different options.

Supported units

Conversion between some of these units have been implemented.

Units of length

mm millimeter
in inches
ft feet
m meters
km kilometers
mi statute miles
NM nautical miles

Units of velocity

ft/s feet per second
m/s meters per second
km/h kilometers per hour
mph statute miles per hour
kt knots

Units of time

s seconds
min minutes
h hours
d days

Known issues

Known issues and workarounds if such are known.

Related templates