Difference between revisions of "Template:Convert/mi"
From Teampedia
(Zacharycook505-104668625857976836193 moved page Template:Convert/mi to Template:Convert/mi to km) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | # | + | <includeonly>{{FORMATNUM:{{#if:{{{num|}}}|{{{num}}}|{{{1}}}}}}} {{#ifexpr:({{#ifeq:{{LC:{{{abbr|mos}}}}}|mos|1|0}} OR {{#ifeq:{{LC:{{{abbr|mos}}}}}|no|1|0}})|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|{{w|nocat=1|mile|miles}}|miles}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|{{w|nocat=1|mile|mi}}|mi}}}} ({{FORMATNUM:{{#expr:{{#if:{{{num|}}}|{{{num}}}|{{{1}}}}}*1.609344 round {{{precision|0}}}}}}} {{#ifeq:{{LC:{{{abbr|mos}}}}}|no|{{#ifeq:{{LC:{{{spell|american}}}}}|commonwealth|{{#ifeq:{{LC:{{{wiki|no}}}}}|no|kilometres|{{w|nocat=1|kilometre|kilometres}}}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|no|kilometers|{{w|nocat=1|kilometre|kilometers}}}}}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|no|km|{{w|nocat=1|kilometre|km}}}}}})</includeonly><noinclude>{{documentation}}[[Category:Conversion templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 01:45, 11 April 2020
[create] Template documentation
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.
Please add categories and interwikis to the /doc subpage. Subpages of this template.