Template:Convert: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Drumguy8800
add spelling option
meta>Drumguy8800
instructions for spelling
Line 81: Line 81:
     |sqkm=square {{#switch: {{{sp|}}}|us=kilometer|=kilometre}}{{!}}km²
     |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/>[[Image:Flag of the United States.svg|20px]] '''U.S. USERS''': If you prefer '''meter''' over '''metre''' for your article, simply attatch <code><nowiki>{{convert|...|sp=us}}</nowiki></code> to the end of the template!<br/><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:25, 19 December 2006

{{{1}}} [[]] (Expression error: Unrecognized punctuation character "{". [[]])Template:Esoteric
File:Flag of the United States.svg U.S. USERS: If you prefer meter over metre for your article, simply attatch {{convert|...|sp=us}} to the end of the template!

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.