Difference between revisions of "Template:Convert"

From Surfing Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>
<includeonly>
{{{1}}} m ({{#expr:{{{1}}}*3.28084}} ft)
{{#ifeq: {{{2}}} | m |
  {{#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) |
  <!--m to nothing-->}}}}
| <!--not conv. from meters-->}}
</includeonly>
</includeonly>
<noinclude>
<noinclude>
{{convert|2|m|ft}}
{{convert|2|m|ft/km}}
</noinclude>
</noinclude>

Revision as of 21:47, 15 February 2015