Misplaced Pages

Template:Convert: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 05:39, 11 January 2007 view sourceNikopoley (talk | contribs)478 editsmNo edit summary← Previous edit Revision as of 12:13, 12 January 2007 view source Drumguy8800 (talk | contribs)12,910 edits includeonlyNext edit →
Line 1: Line 1:
{{formatnum:{{{1}}}}} {{#switch: {{{lk|}}}|on=[[{{#switch: {{{2|}}} <includeonly>{{formatnum:{{{1}}}}} {{#switch: {{{lk|}}}|on=[[{{#switch: {{{2|}}}
|AU= astronomical unit{{!}}{{#ifeq:{{{1}}}|1||{{!}}astronomical units}} |AU= astronomical unit{{!}}{{#ifeq:{{{1}}}|1||{{!}}astronomical units}}
|ft= foot (unit of length){{!}}{{#ifeq:{{{1}}}|1|foot|feet}} |ft= foot (unit of length){{!}}{{#ifeq:{{{1}}}|1|foot|feet}}
Line 319: Line 319:
|K= K |K= K
|°R= °R |°R= °R
}}}})<noinclude>{{esoteric}} }}}})</includeonly><noinclude>{{esoteric}}
;Exampe/monitor page: ;Exampe/monitor page:
:Monitor quality or look at examples at ] :Monitor quality or look at examples at ]

Revision as of 12:13, 12 January 2007

This template employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here.
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.
Category: