फलकम्:Unit area

विकिपीडिया, कश्चन स्वतन्त्रः विश्वकोशः
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

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: {{Unit area| unit| value| round}}. Their meaning is as follows:

  1. unit … obligatory, unit (sqm/m, sqft/ft, ha, acre, sqkm/km, sqmi/mi, slashes delimit alternatives) of the value parameter, it will get displayed first
  2. value … obligatory, numerical value
  3. round … mandatory, number of decimal digits (negative numbers can be used for rounded figures); if not specified 0 is assumed

Examples[सम्पादयतु]

  • {{Unit area|sqkm|1000}}: १,००० km2 (३८६ sq mi)
  • {{Unit area|sqmi|1000.25|25}}: १,०००.२५ sq mi (२,५९०.६४ km2)
  • {{Unit area|km|1000|-2}}: १,००० km2 (४०० sq mi)
  • {{Unit area|acre|1000.25|1}}: १,०००.२५ acres (४०४.८ ha)

See also[सम्पादयतु]

  • {{convert}} for general conversions
"https://sa.wikipedia.org/w/index.php?title=फलकम्:Unit_area&oldid=194593" इत्यस्माद् प्रतिप्राप्तम्