ढाँचा:Geobox2 unit/weight/doc
स्वरूप
This is a documentation subpage for ढाँचा:Geobox2 unit/weight. It contains usage information, categories and other content that is not part of the original ढाँचा page. |
This template displays weight 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:
- kg to lb (kilograms to pounds) and vice-versa
Usage
[स्रोत सम्पादन]The template has 3 unnamed parameters: {{Geobox2 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
Examples
[स्रोत सम्पादन]{{Geobox2 unit weight|kg|50}}
→ 50 kg (110 lb){{Geobox2 unit weight|kg|50|1}}
→ 50 kg (110.2 lb){{Geobox2 unit weight|lb|200}}
→ 200 lb (91 kg){{Geobox2 unit weight|lb|200|-1}}
→ 200 lb (90 kg)
See also
[स्रोत सम्पादन]- {{convert}}
- {{height}}
- Category:Pages using geobox2 unit with unknown units (tracking category)
- Category:Convert errors (tracking category)