Difference between revisions of "Template:Mo"

From Teampedia
Jump to: navigation, search
(Created page with "{{convert/{{#ifeq:{{{4}}}|chain|and/chain|{{{d}}}}}|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|s={{{s|}}}|r={{{r}}}|d={{{d}}} |u=mi |n=mile |o=km |b=1609.344 |j=3.20...")
 
Line 1: Line 1:
{{convert/{{#ifeq:{{{4}}}|chain|and/chain|{{{d}}}}}|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|s={{{s|}}}|r={{{r}}}|d={{{d}}}
+
<includeonly>{{FORMATNUM:{{#if:{{{num|}}}|{{{num}}}|{{{1}}}}}}}&nbsp;{{#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}}}}}}}&nbsp;{{#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>
|u=mi
+
|n=mile
+
|o=km
+
|b=1609.344
+
|j=3.206648885-{{{j|0}}}}}<noinclude>{{pp-template}}
+
[[Category:Subtemplates of Template Convert|{{PAGENAME}}]]
+
</noinclude>
+

Revision as of 12:44, 8 February 2020

[create] Documentation icon 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.