Jump to content

Template:Convert: Difference between revisions

From IdeaWazaWiki
wikademia>Drumguy8800
add square meter, alphabetize
wikademia>Wikademia
m 97 revisions
 
(92 intermediate revisions by 19 users not shown)
Line 1: Line 1:
{{{1}}} [[{{#switch: {{{2|}}}|ft=foot (unit of length){{!}}feet|sqft=square foot{{!}}square feet}}|m=metre{{!}}metres|sqm=square metre{{!}}square metres]] ({{ #expr: {{{1}}} * {{ #switch: {{{2|}}}
<includeonly>{{convert/{{{2}}}|{{{1}}}|{{#ifeq:{{#expr:{{{3|0}}}*0}}|0|0}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|r={{#ifeq:{{{sp}}}|us|er|re}}|d=L{{{lk|off}}}A{{{abbr|off}}}D{{{disp|b}}}S{{{adj|{{{sing|off}}}}}}|s={{{sigfig|}}}}}</includeonly><noinclude>{{Documentation}}</noinclude>
|ft = {{#switch: {{{3|}}}|m=0.3048}}
|sqft = {{#switch: {{{3|}}}|sqm=10.7639104}}
|m  = {{#switch: {{{3|}}}|ft=3.2808399}}
|sqm = {{#switch: {{{3|}}}|sqft=0.09290304}}
}} round {{#if: {{{4|}}} | {{{4}}} }}}}&nbsp;[[{{#switch: {{{3|}}}|ft=foot (unit of length){{!}}ft|sqft=square foot{{!}}ft²|m=metre{{!}}m|sqm=square meter{{!}}m²}}]])<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>

Latest revision as of 19:13, 4 April 2009

[create] File:Template-info.svg Template documentation