ढाँचा:Geobox2 unit/area/doc
स्वरूप
This is a documentation subpage for ढाँचा:Geobox2 unit/area. It contains usage information, categories and other content that is not part of the original ढाँचा page. |
Usage
[स्रोत सम्पादन]This template displays area measurement units used within various Category:Geobox templates, automatically converting between metric/imperial values. The input must be unformatted numeric values (i.e. without commas, the commas are automatically added to the output).
It can display and convert following units:
- m2 to sq ft (square metres to square feet) and vice-versa
- ha to acres (hectares to acres) and vice-versa
- km2 to sq mi (square kilometres to square miles) and vice-versa
The template has 3 unnamed parameters: {{Geobox2 unit/area|unit|value|round}}
. Their meaning is as follows:
- unit … obligatory, unit (
sqm/m, sqft/ft, ha, acre, sqkm/km, sqmi/mi
, slashes delimit alternatives) of thevalue
parameter, it will get displayed first - value … obligatory, numerical value
- round … mandatory, number of decimal digits (negative numbers can be used for rounded figures); if not specified 0 is assumed
Examples
[स्रोत सम्पादन]{{Geobox2 unit/area|sqkm|1000}}
→ 1,000 km2 (386 sq mi){{Geobox2 unit/area|sqmi|1000.25|25}}
→ 1,000.25 sq mi (2,590.64 km2){{Geobox2 unit/area|km|1000|-2}}
→ 1,000 km2 (400 sq mi){{Geobox2 unit/area|acre|1000.25|1}}
→ 1,000.25 acres (404.8 ha)
See also
[स्रोत सम्पादन]- {{convert}} for general conversions
- Category:Pages using geobox2 unit with unknown units (tracking category)
- Category:Convert errors (tracking category)