قالب:Geobox2 unit/discharge

Template documentation[view] [edit] [history] [purge]

This template displays discharge 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).

Usage

It can display and convert following units:

  • m3/s to cu ft/s (cubic metres per second to cubic feet per second) and vice-versa

The template has 3 unnamed parameters: {{Geobox2 unit/discharge|unit|value|round}}</nowiki>. Their meaning is as follows:

  1. unit … obligatory, unit (cbm, cbft or shorthands: m, ft) of parameter value, 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

  • {{Geobox2 unit/discharge|cbm|1000}} → 1,000 m3/s (35,315 cu ft/s)
  • {{Geobox2 unit/discharge|m|1000}} → 1,000 m3/s (35,315 cu ft/s)
  • {{Geobox2 unit/discharge|cbft|1000|-1}} → 1,000 cu ft/s (30 m3/s)
  • {{Geobox2 unit/discharge|ft|1000.25|2}} → 1,000.25 cu ft/s (28.32 m3/s)

See also