Template:Convert: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>Drumguy8800
(add AU)
>Drumguy8800
(fix speed thing)
Line 16: Line 16:
     |sqmi= square mile{{#ifeq:{{{1}}}|1||{{!}}square miles}}
     |sqmi= square mile{{#ifeq:{{{1}}}|1||{{!}}square miles}}
     |sqnmi=square nautical mile{{#ifeq:{{{1}}}|1||{{!}}square nautical miles}}
     |sqnmi=square nautical mile{{#ifeq:{{{1}}}|1||{{!}}square nautical miles}}
     |ft:s= feet per second{{#ifeq:{{{1}}}|1||{{!}}foot per second|}}
     |ft:s= feet per second{{#ifeq:{{{1}}}|1|{{!}}foot per second|}}
     |mi:h= miles per hour{{#ifeq:{{{1}}}|1||{{!}}mile per hour|}}
     |mi:h= miles per hour{{#ifeq:{{{1}}}|1|{{!}}mile per hour|}}
     |knot= knot (speed){{!}}{{#ifeq:{{{1}}}|1|knot|knots}}
     |knot= knot (speed){{!}}{{#ifeq:{{{1}}}|1|knot|knots}}
     |m:s=  {{#switch: {{{sp|}}}|us=meters|=metres}} per second{{#ifeq:{{{1}}}|1||{{!}}{{#switch: {{{sp|}}}|us=meter|=metre}} per second|}}
     |m:s=  {{#switch: {{{sp|}}}|us=meters|=metres}} per second{{#ifeq:{{{1}}}|1|{{!}}{{#switch: {{{sp|}}}|us=meter|=metre}} per second|}}
     |km:h= {{#switch: {{{sp|}}}|us=kilometers|=kilometres}} per hour{{#ifeq:{{{1}}}|1||{{!}}{{#switch: {{{sp|}}}|us=kilometer|=kilometre}} per hour|}}
     |km:h= {{#switch: {{{sp|}}}|us=kilometers|=kilometres}} per hour{{#ifeq:{{{1}}}|1|{{!}}{{#switch: {{{sp|}}}|us=kilometer|=kilometre}} per hour|}}
     |°C=  Celsius{{!}}°C
     |°C=  Celsius{{!}}°C
     |°F=  Fahrenheit{{!}}°F
     |°F=  Fahrenheit{{!}}°F

Revision as of 11:55, 5 January 2007

{{{1}}} (Expression error: Unrecognized punctuation character "{". )Template:Esoteric

Exampe/monitor page
Monitor quality or look at examples at Template:Convert/check
Two things to remember!
  • U.S. USERS: If you prefer meter over metre for your article, simply attatch |sp=us to the end of the template!
  • To make the units link to unit articles, add |lk=on to the end of the template! The manual of style suggests that you only link the first instance.

    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.