VOOZH about

URL: https://en.wikipedia.org/wiki/Template:Miles-chains

⇱ Template:Miles-chains - Wikipedia


Jump to content
From Wikipedia, the free encyclopedia

0 miles 0 chains (0.00 miles, 0.00 km)

πŸ‘ Image
Template documentation
[view] [edit] [history] [purge]

Converts distances measured in miles and chains to kilometres, linking to chain (unit) without linking miles. This is to conform to WP:OVERLINK, which states that common units of length should not be linked. However, chains are not familiar to many readers, and therefore a link is provided.

This template is designed to mimic the function of the {{convert}} template, which is currently unable to make selective links.

If a wiki-link to chains is not required, or it is preferable to link to both miles and chains, {{convert}} can be used instead.

Usage

[edit]
  • {{|4|mi|72|chain|km}} produces 4 miles 72 chains (4.90 miles, 7.89 km)

Note that the parameters mi, chain and km are redundant in this template, but are provided to make conversion to the {{convert}} template easier if selective linking is ever implemented.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Miles1

The number of miles

Example
12
Numberoptional
Chains2

The number of chains

Suggested values
0–79
Example
75
Numberoptional

See also

[edit]