మూస:Infobox islands/area/doc

వికీపీడియా నుండి
Jump to navigation Jump to search

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

Usage[మార్చు]

Input Output
{{Infobox islands/area|km2=0.5}} 0.5 kమీ2 (0.19 sq mi)
{{Infobox islands/area|sqmi=0.2}} 0.2 km2 s=|r={{{r}}} u=sq mi n=square mile h=square-mile o=km2 b=2589988.110336 j=6.41329777-0}}
{{Infobox islands/area|ha=5.0}} 5.0 ha (12 acres)
{{Infobox islands/area|acre=12.0}} 12.0 ha r={{{r}}} n=acre o=ha b=4046.856422 j=3.607117796-0}}
{{Infobox islands/area|m2=500}} 500 మీ2 (5,400 చ .అ)
{{Infobox islands/area|sqft=5410}} 5410 m2 s=|r={{{r}}} u=చ.అ. n=చదరపు అడుగు h=చదరపు-అడుగు l=చదరపు అడుగులు o=మీ2 b=0.09290304 j=-1.031970075-0}}
{{Infobox islands/area|km2=0.5|sqmi=0.2}} 0.5
{{Infobox islands/area|acre=12.0|ha=4.9}} 4.9
{{Infobox islands/area|m2=500|sqft=5410}} 500
{{Infobox islands/area|km2=0.5|m2=500}} 0.5 kమీ2 (0.19 sq mi)
{{Infobox islands/area|sqmi=0.2|sqft=5410}} 0.2 km2 s=|r={{{r}}} u=sq mi n=square mile h=square-mile o=km2 b=2589988.110336 j=6.41329777-0}}
{{Infobox islands/area|m2=500|sqmi=0.2|sqft=5410}} 0.2 km2 s=|r={{{r}}} u=sq mi n=square mile h=square-mile o=km2 b=2589988.110336 j=6.41329777-0}}
{{Infobox islands/area|km2=0.5|sqmi=0.2|sqft=5410}} 0.5
{{Infobox islands/area|km2=0.5|m2=500|sqft=5410}} 0.5 kమీ2 (0.19 sq mi)
{{Infobox islands/area|km2=0.5|m2=500|sqmi=0.2}} 0.5
{{Infobox islands/area|km2=0.5|m2=500|sqmi=0.2|sqft=5410}} 0.5


  • {{convert|0.5|km2|abbr=on}} → 0.5 kమీ2 (5,400,000 చ .అ)
  • {{convert|0.2|sqmi|abbr=on}} → 0.2 sq mi (0.52 kమీ2)
  • {{convert|5|ha|abbr=on}} → 5 ha (12 acres)
  • {{convert|12|acre|abbr=on}} → 12 acres (4.9 ha)
  • {{convert|500|m2|abbr=on}} → 500 మీ2 (5,400 చ .అ)
  • {{convert|5410|sqft|abbr=on}} → 5,410 చ .అ (503 మీ2)

Code[మార్చు]

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.

See also[మార్చు]