Template:Kilometer/doc

To show distances in kilometres (and miles) such as:

"the trail is long" and "it's a  trail"

Usage

 *   or    – will show as –
 *   or  {{km|10-15}  – will show as –
 *   or  {{km|2|on}  or  {{km|2|adj}  – will show as –

Parameters

 * First parameter is distance number in kilometer
 * also possible to show range using a dash
 * Second optional parameter set to on or adj to produce the adjective form