Template:Unit volume/doc

From Sarkarverse
< Template:Unit volume
Revision as of 12:52, 7 February 2014 by T12 (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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).

It can display and convert following units:

  • m3 to cu ft (cubic metres to cubic feet) and vice-versa

Usage

The template has 3 unnamed parameters: {{Unit volume| unit| value| round}}. 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

See also