Bysen:Lengþānhād

Fram Wikipǣdian
1 {{{name}}} =
Betwuxþēodlice ānhāda
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 

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

Usage[adiht fruman]

{{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 intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.