మూస:Mikm/doc
< మూస:Mikm
This is a documentation subpage for మూస:Mikm. It may contain usage information, categories and other content that is not part of the original మూస page. |
This template is used for creating entries in a sortable table which includes both miles and kilometer lengths, by automatically converting any mile lengths into kilometers.
Usage
[మార్చు]- {{Mikm|miles}}
- {{Mikm|miles|round}}
- {{Mikm|miles|round|reference}}
Options
[మార్చు]- miles is the length in miles
- round is the precision for rounding; the default is 0.
- reference is the source for the mile measurement.
Examples
[మార్చు]The following table
Miles | Kilometers |
---|---|
250.1 | 402 |
365.2 | 587.7 |
2.17828 | 3.506 |
was produced using the following code
{| class="wikitable sortable" ! Miles !! Kilometers {{Mikm|250.1}} |- {{Mikm|365.2|1}} |- {{Mikm|2.17828|3}} |}
See also
[మార్చు]- {{Convert}}