Template:Convert: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Drumguy8800
make it easier to edit...
meta>Drumguy8800
add spelling option
Line 2: Line 2:
     |acre=acre{{#ifeq:{{{1}}}|1||{{!}}acres}}
     |acre=acre{{#ifeq:{{{1}}}|1||{{!}}acres}}
     |ft=foot (unit of length){{!}}{{#ifeq:{{{1}}}|1|foot|feet}}
     |ft=foot (unit of length){{!}}{{#ifeq:{{{1}}}|1|foot|feet}}
     |ha=hectare{{#ifeq:{{{1}}}|1||{{!}}hectacres}}
     |ha=hectare{{#ifeq:{{{1}}}|1||{{!}}hectares}}
     |sqft=square foot{{!}}square {{#ifeq:{{{1}}}|1|foot|feet}}
     |sqft=square foot{{!}}square {{#ifeq:{{{1}}}|1|foot|feet}}
     |m=metre{{#ifeq:{{{1}}}|1||{{!}}metres}}
     |m={{#switch: {{{sp|}}}|us=meter|=metre}}{{#ifeq:{{{1}}}|1||{{!}}{{#switch: {{{sp|}}}|us=meters|=metres}}}}
     |km=kilometre{{#ifeq:{{{1}}}|1||{{!}}kilometres}}
     |km={{#switch: {{{sp|}}}|us=kilometer|=kilometre}}{{#ifeq:{{{1}}}|1||{{!}}{{#switch: {{{sp|}}}|us=kilometers|=kilometres}}}}
     |mi=mile{{#ifeq:{{{1}}}|1||{{!}}miles}}
     |mi=mile{{#ifeq:{{{1}}}|1||{{!}}miles}}
     |sqm=square metre{{#ifeq:{{{1}}}|1||{{!}}square metres}}
     |sqm=square {{#switch: {{{sp|}}}|us=meter|=metre}}{{#ifeq:{{{1}}}|1|{{!}}square {{#switch: {{{sp|}}}|us=meters|=metres}}}}
     |sqkm=square kilometre{{#ifeq:{{{1}}}|1||{{!}}square kilometres}}
     |sqkm=square kilometre{{#ifeq:{{{1}}}|1||{{!}}square kilometres}}
     |sqmi=square mile{{#ifeq:{{{1}}}|1||{{!}}square miles}}
     |sqmi=square mile{{#ifeq:{{{1}}}|1||{{!}}square miles}}
Line 75: Line 75:
     |ha=hectare{{!}}ha
     |ha=hectare{{!}}ha
     |sqft=square foot{{!}}ft²
     |sqft=square foot{{!}}ft²
     |m=metre{{!}}m|km=kilometre{{!}}km
     |m={{#switch: {{{sp|}}}|us=meter|=metre}}{{!}}m
     |mi=mile{{!}}mi|sqm=square metre{{!}}m²
    |km={{#switch: {{{sp|}}}|us=kilometer|=kilometre}}{{!}}km
     |sqkm=square kilometre{{!}}km²
     |mi=mile{{!}}mi
    |sqm=square {{#switch: {{{sp|}}}|us=meter|=metre}}{{!}}m²
     |sqkm=square {{#switch: {{{sp|}}}|us=kilometer|=kilometre}}{{!}}km²
     |sqmi=square mile{{!}}mi²
     |sqmi=square mile{{!}}mi²
     }}]])<noinclude>{{esoteric}}<br/>Use in the following matter: <code><nowiki>{{convert|original value|original unit|conversion unit|round to}}</nowiki></code><br/><br/>'''Rounding:''' The number given for rounding rounds off the result to the power of 1/10 the rounding number.  For instance, if the result is 8621 and the round number is '-2', the result will be 8700.  If the result is '234.0283043' and the round number is '0', the result will be 234.</noinclude>
     }}]])<noinclude>{{esoteric}}<br/>Use in the following matter: <code><nowiki>{{convert|original value|original unit|conversion unit|round to}}</nowiki></code><br/><br/>'''Rounding:''' The number given for rounding rounds off the result to the power of 1/10 the rounding number.  For instance, if the result is 8621 and the round number is '-2', the result will be 8700.  If the result is '234.0283043' and the round number is '0', the result will be 234.</noinclude>

Revision as of 08:21, 19 December 2006

{{{1}}} [[]] (Expression error: Unrecognized punctuation character "{". [[]])Template:Esoteric
Use in the following matter: {{convert|original value|original unit|conversion unit|round to}}

Rounding: The number given for rounding rounds off the result to the power of 1/10 the rounding number. For instance, if the result is 8621 and the round number is '-2', the result will be 8700. If the result is '234.0283043' and the round number is '0', the result will be 234.