Template:Unit of length/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Unit of length (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

The template will convert a length in metres to various other units. It uses the {{#expr:}} parser to convert.

[edit] Usage

{{Unit of length
|name= 
|m= 
|accuracy=
|nocat=
}}

name=unit name (optional, defaulting to the article's page name)
m=distance of unit in metres
accuracy=number of significant figures (optional, default = 5)
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.