Template:Convert/sqft

From UmbraXenu
Jump to navigation Jump to search

{{convert/{{{d}}}|{{{1}}}||{{{3}}}||||||s=|r={{{r}}} |u=sq ft |n=square foot |h=square-foot |l=square feet |o=m2 |b=0.09290304 |j=-1.031970075-0}}

The Template:Convert/sqft converts units with square feet, using the symbol "sq ft" as the typical abbreviation. The default output unit-code is "m2" for square meters.

  • {{convert|78000|sqft|m2}} → 78,000 square feet (7,200 m2)
  • {{convert|78000|sqft|ha }} → 78,000 square feet (0.72 ha)
  • {{convert|78000|sqft|hect}} → 78,000 square feet (0.72 ha)[fix unit]

For improper combinations of unit-codes, the template will auto-correct the output unit, for the following unit-codes:

  • m, m3, mm:  will auto-correct as "m2"
  • km3, km:  will auto-correct as "km2"
  • mi, miles, mile:  will auto-correct as "sqmi"
  • h, hect, hectares:  will auto-correct as "ha"

The autocorrection will also show a superscript note, such as "[fix unit]" but the result will be a valid equivalent amount.

Invalid cases will link to "Category:Convert dimension mismatch".