قالب:Geobox2 unit/discharge
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:
- unit … obligatory, unit (
cbm, cbft
or shorthands:m, ft
) of parametervalue
, 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/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
- {{convert}}
- Category:Pages using geobox2 unit with unknown units (tracking category)
- Category:Convert errors (tracking category)
The above documentation is transcluded from قالب:Geobox2 unit/discharge/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |