This is a subtemplate of {{Infobox islands}}, and should not be used directly.

Input Output
{{Infobox islands/area|km2=0.5}} 0.5 కి.మీ2 (0.19 చ. మై.)
{{Infobox islands/area|sqmi=0.2}} 0.2 చ. మై. (0.52 కి.మీ2)
{{Infobox islands/area|ha=5.0}} 5.0 హె. (12 ఎకరం)
{{Infobox islands/area|acre=12.0}} 12.0 ఎకరం (4.9 హె.)
{{Infobox islands/area|m2=500}} 500 మీ2 (5,400 sq ft)
{{Infobox islands/area|sqft=5410}} 5,410 sq ft (503 మీ2)
{{Infobox islands/area|km2=0.5|sqmi=0.2}} 0.5 km2 (0.2 sq mi)
{{Infobox islands/area|acre=12.0|ha=4.9}} 4.9 ha (12.0 acres)
{{Infobox islands/area|m2=500|sqft=5410}} 500 m2 (5,410 sq ft)
{{Infobox islands/area|km2=0.5|m2=500}} 0.5 కి.మీ2 (0.19 చ. మై.)
{{Infobox islands/area|sqmi=0.2|sqft=5410}} 0.2 చ. మై. (0.52 కి.మీ2)
{{Infobox islands/area|m2=500|sqmi=0.2|sqft=5410}} 0.2 చ. మై. (0.52 కి.మీ2)
{{Infobox islands/area|km2=0.5|sqmi=0.2|sqft=5410}} 0.5 km2 (0.2 sq mi)
{{Infobox islands/area|km2=0.5|m2=500|sqft=5410}} 0.5 కి.మీ2 (0.19 చ. మై.)
{{Infobox islands/area|km2=0.5|m2=500|sqmi=0.2}} 0.5 km2 (0.2 sq mi)
{{Infobox islands/area|km2=0.5|m2=500|sqmi=0.2|sqft=5410}} 0.5 km2 (0.2 sq mi)


  • {{convert|0.5|km2|abbr=on}} → 0.5 కి.మీ2 (0.19 చ. మై.)
  • {{convert|0.2|sqmi|abbr=on}} → 0.2 చ. మై. (0.52 కి.మీ2)
  • {{convert|5|ha|abbr=on}} → 5 హె. (12 ఎకరం)
  • {{convert|12|acre|abbr=on}} → 12 ఎకరం (4.9 హె.)
  • {{convert|500|m2|abbr=on}} → 500 మీ2 (5,400 sq ft)
  • {{convert|5410|sqft|abbr=on}} → 5,410 sq ft (503 మీ2)

The code uses {{precision}} to determine the level of precision. The logic is to give preference to km2/sqmi over m2/sqft. If both km2 and sqmi are specified, then no conversion takes place. Similarly, if both m2 and sqft are specified (and km2/sqmi are not specified), then no conversion takes place.