మూస:Unit discharge
Appearance
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: {{Unit discharge| unit| value| round}}
. 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
[మార్చు]{{Unit discharge|cbm|1000}}
: 1,000 m3/s (35,315 cu ft/s){{Unit discharge|m|1000}}
: 1,000 m3/s (35,315 cu ft/s){{Unit discharge|cbft|1000|-1}}
: 1,000 cu ft/s (30 m3/s){{Unit discharge|ft|1000.25|2}}
: 1,000.25 cu ft/s (28.32 m3/s)