Template:Convert: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Drumguy8800
add some conversions
meta>Drumguy8800
add link support for conversions i just added
Line 1: Line 1:
{{formatnum:{{{1}}}}} [[{{#switch: {{{2|}}}|ft=foot (unit of length){{!}}feet|sqft=square foot{{!}}square feet|m=metre{{!}}metres|sqm=square metre{{!}}square metres}}]] ({{formatnum:{{ #expr: {{{1}}} * {{ #switch: {{{2|}}}
{{formatnum:{{{1}}}}} [[{{#switch: {{{2|}}}|acre=acre|ft=foot (unit of length){{!}}feet|ha=hectare|sqft=square foot{{!}}square feet|m=metre{{!}}metres|sqm=square metre{{!}}square metres|sqkm=square kilometre{{!}}square kilometres|sqmi=square mile{{!}}square miles}}]] ({{formatnum:{{ #expr: {{{1}}} * {{ #switch: {{{2|}}}
|acre = {{#switch: {{{3|}}}|sqft=0.0000229568411|sqm=0.000247105381|sqmi=640|sqkm=247.105381|ha=2.47105381}}
|acre = {{#switch: {{{3|}}}|ha=2.47105381|sqft=0.0000229568411|sqm=0.000247105381|sqkm=247.105381|sqmi=640}}
|ft = {{#switch: {{{3|}}}|m=0.3048}}
|ft = {{#switch: {{{3|}}}|m=0.3048}}
|sqft = {{#switch: {{{3|}}}|acre=43560|sqm=10.7639104|sqmi=27878400|sqkm=10763910.4}}
|sqft = {{#switch: {{{3|}}}|acre=43560|sqm=10.7639104|sqmi=27878400|sqkm=10763910.4}}
Line 6: Line 6:
|m  = {{#switch: {{{3|}}}|ft=3.2808399}}
|m  = {{#switch: {{{3|}}}|ft=3.2808399}}
|sqm = {{#switch: {{{3|}}}|acre=4046.85642|sqft=0.09290304|sqmi=2589988.11|sqkm=1000000}}
|sqm = {{#switch: {{{3|}}}|acre=4046.85642|sqft=0.09290304|sqmi=2589988.11|sqkm=1000000}}
}} 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>
}} round {{#if: {{{4|}}} | {{{4}}} }}}}}}&nbsp;[[{{#switch: {{{3|}}}|acre=acre|ft=foot (unit of length){{!}}ft|ha=hectare{{!}}ha|sqft=square foot{{!}}ft²|m=metre{{!}}m|sqm=square metre{{!}}m²|sqkm=square kilometre{{!}}km²|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>

Revision as of 20:38, 11 December 2006

{{{1}}} [[]] (Expression error: Unrecognized punctuation character "{". [[]])Template:Esoteric
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.