Skabelon:Unit weight/doc
Udseende
Dette er dokumentationsundersiden til Skabelon:Unit weight. Denne side indeholder information om brug, kategorier samt andet indhold, som ikke er en del af den oprindelige skabelonside. |
This template displays discharge measurement units used within various Kategori: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:
- kg to lb (kilograms to pounds) and vice-versa
Brug
[rediger kildetekst]The template has 3 unnamed parameters: {{Unit weight| unit| value| round}}
. Their meaning is as follows:
- unit … obligatory, unit (
kg, lb
) 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