Difference between revisions of "Template:Convert"
Jump to navigation
Jump to search
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#ifeq: {{{2}}} | m | | ||
{{#ifeq: {{{2}}} | m | | |||
{{#ifeq: {{{3}}} | km | <!--m to km--> {{{1}}} m ({{#expr:{{{1}}}*0.001}} km) | | {{#ifeq: {{{3}}} | km | <!--m to km--> {{{1}}} m ({{#expr:{{{1}}}*0.001}} km) | | ||
{{#ifeq: {{{3}}} | ft | <!--m to ft--> {{{1}}} m ({{#expr:{{{1}}}*3.28084}} ft) | | {{#ifeq: {{{3}}} | ft | <!--m to ft--> {{{1}}} m ({{#expr:{{{1}}}*3.28084}} ft) | | ||
<!--m to nothing-->}}}} | <!--m to nothing-->}}}} | ||
| <!--not conv. from meters-->}} | | <!--not conv. from meters-->}}</includeonly><noinclude> | ||
</includeonly><noinclude> | ==Usage:== | ||
* Everything is optional. | |||
<pre> | |||
{{convert|2|m|ft/km}} | {{convert|2|m|ft/km}} | ||
</pre> | |||
</noinclude> | </noinclude> |
Latest revision as of 21:55, 15 February 2015
Usage:
- Everything is optional.
{{convert|2|m|ft/km}}