19,498
edits
m (added template call in docs for in->ft conversion) |
m (linked to Temp, the other conversion template) |
||
Line 10: | Line 10: | ||
| {{#expr:{{#ifeq:{{{2|}}}|in|1|0}} and {{#ifeq:{{{3|}}}|ft|1|0}} }} = {{#ifeq:{{{po|}}}|yes||{{{1|}}} in (}}{{#expr:trunc ({{{1|}}} / 12.000) }} ft {{#expr:{{{1|}}} mod 12}} in{{#ifeq:{{{po|}}}|yes||)}} | | {{#expr:{{#ifeq:{{{2|}}}|in|1|0}} and {{#ifeq:{{{3|}}}|ft|1|0}} }} = {{#ifeq:{{{po|}}}|yes||{{{1|}}} in (}}{{#expr:trunc ({{{1|}}} / 12.000) }} ft {{#expr:{{{1|}}} mod 12}} in{{#ifeq:{{{po|}}}|yes||)}} | ||
| #default = '''<span style="color:red">(error from Template:Dist: unsupported conversion)</span>''' | | #default = '''<span style="color:red">(error from Template:Dist: unsupported conversion)</span>''' | ||
}}</includeonly><noinclude>Call this template to convert between metric and imperial units of length. Both the original and converted length will be displayed, with the unit you supplied coming first. | }}</includeonly><noinclude>Call this template to convert between metric and imperial units of length. Both the original and converted length will be displayed, with the unit you supplied coming first. See [[Template:Temp]] for a temperature conversion template. | ||
==Supported conversions== | ==Supported conversions== |