Difference between revisions of "Template:Kilometer"

From Teampedia
Jump to: navigation, search
Line 1: Line 1:
<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:{{{spell|american}}}}}|american|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[w:kilometre|kilometers]]|kilometers}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[w:kilometre|kilometres]]|kilometres}}}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[w:kilometre|km]]|km}}}} ({{FORMATNUM:{{#expr:{{#if:{{{num|}}}|{{{num}}}|{{{1}}}}}/1.609344 round {{{precision|0}}}}}}}&nbsp;{{#ifeq:{{LC:{{{abbr|mos}}}}}|no|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[w:mile|miles]]|miles}}|{{#ifeq:{{LC:{{{wiki|no}}}}}|yes|[[w:mile|mi]]|mi}}}})</includeonly><noinclude>{{documentation}}[[Category:Conversion templates|{{PAGENAME}}]]</noinclude>
+
{{convert/{{{d}}}|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}
 +
|lk={{{lk}}}|abbr={{{abbr}}}|adj={{{adj}}}
 +
|s={{{s|}}}|r={{{r}}}|Δ={{{D|}}}
 +
|D=2
 +
|u=km
 +
|n=kilomet{{{r}}}
 +
|t=kilometre
 +
|o=mi
 +
|b=1000
 +
|j=3-{{{j|0}}}}}<noinclude>
 +
{{pp-template|small=yes}}
 +
[[Category:Subtemplates of Template Convert]]
 +
</noinclude>

Revision as of 00:07, 1 March 2020

{{convert/{{{d}}}|{{{1}}}||||||||| |lk={{{lk}}}|abbr={{{abbr}}}|adj={{{adj}}} |s=|r={{{r}}}|Δ= |D=2 |u=km |n=kilomet{{{r}}} |t=kilometre |o=mi |b=1000 |j=3-0}} Template:Pp-template