Template:Convert: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>Drumguy8800
(no messy un-converted text)
>Drumguy8800
(Revert to revision 100205798 dated 2007-01-12 12:13:18 by Drumguy8800 using popups)
Line 51: Line 51:
     |K=    K
     |K=    K
     |°R=  °R
     |°R=  °R
     }}}} {{#ifeq: {{{1|}}} | | ? | ({{formatnum:{{ #expr: {{{1}}} * {{ #switch: {{{2|}}}
     }}}} ({{formatnum:{{ #expr: {{{1}}} * {{ #switch: {{{2|}}}
|AU = {{#switch: {{{3|}}}
|AU = {{#switch: {{{3|}}}
     |ft=490807087000
     |ft=490807087000
Line 267: Line 267:
     |°F= - 459.67
     |°F= - 459.67
     }}
     }}
}}}}{{#if: {{{4|}}} | round {{{4}}} }}}}}} {{#switch: {{{lk|}}}|on=[[{{#switch: {{{3|}}}
}} {{#if: {{{4|}}} | round {{{4}}} }}}}}} {{#switch: {{{lk|}}}|on=[[{{#switch: {{{3|}}}
     |AU=  astronomical unit{{!}}AU
     |AU=  astronomical unit{{!}}AU
     |ft=  foot (unit of length){{!}}ft
     |ft=  foot (unit of length){{!}}ft

Revision as of 07:24, 12 January 2007

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.