Changes

Template:Convert/mi

620 bytes added, 00:45, 11 April 2020
no edit summary
<includeonly>{{FORMATNUM:{{#switchif:{{{2num|}}} | adj {{{num}}}| on = {{convert{1}}}}}}}&nbsp;{{#ifexpr:({{#ifeq:{{LC:{{{abbr|mos}}}}}|mos|1|0}} OR {{#ifeq:{{LC:{{{abbr|mos}}}}}|no|1|500}})|{{#ifeq:{{LC:{{{wiki|no}}}}}|miyes|km{{w|adjnocat=on1|mile|miles}} | off miles}}| {{#ifeq:{{LC:{{{wiki|no}}}}}|yes|{{w|nocat=1|mile|mi}}|mi}}}} ({{FORMATNUM:{{#expr:{{#if:{{{num|}}}|{{{num}}}|{{{1}}}}}*1.609344 round {{{precision|0}}}}}}}&nbsp;{{#ifeq:{{LC:{{{abbr | mos}}}}}|no|{{#default = ifeq:{{LC:{{{convertspell|american}}}}}|commonwealth|{{#ifeq:{{LC:{{{wiki|no}}}}}|no|kilometres|{{w|nocat=1|50kilometre|kilometres}}}}|mi{{#ifeq:{{LC:{{{wiki|no}}}}}|no|kilometers|{{w|nocat=1|kilometre|kilometers}}}}}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|no|km|abbr{{w|nocat=on1|kilometre|km}}}}}})</includeonly><noinclude>{{documentation}} [[Category:Conversion templates|{{PAGENAME}}]]</noinclude>