Template:Lengþānhād

Fram Wikipedian

1 {{{name}}} =
Betwuxþēodlice ānhāda
1 m 1×10−3 km
1000 mm 10×109 Å
6.685×10−12 AU 105.7×10−18 lg
US gemǣne / Rīcelice ānhāda
39.37 yn 3.281 ft
1.094 gd 621.371×10−6 mī

The template will convert a length in metres to any of the lengths to the right. It uses the {{#expr:}} parser to convert.

[ādihtan] Usage

{{Lengþānhād
|name= 
|m= 
|accuracy=
|nocat=
}}

name=unit name
m=distance of unit in metres
accuracy=number of decimal places (optional, default = 3)
nocat=to not add the page to Category:Units of length type " nocat= "

The resulting conversion will occur from the metre representation only. Any number larger than 10000 or smaller than 0.1 will be represented in Engineering notation, i.e. ×10 raised to a multiple of 3.

This template employs some extremely complicated and/or esoteric features of template syntax.

Please do not attempt to alter it unless you are certain that you understand the setup and are prepared to repair/revert any consequent collateral damage if the results are unexpected. Any experiments should be conducted in the template sandbox or your user space.