Шаблон:Convert/per/doc
Зоҳир
< Шаблон:Convert | per
The Template:Convert/per is a variation of Template:Convert to handle per-unit conversions, such as counted items per metre.
Usage
[вироиши манбаъ]The 1st parameter is the amount, but 2nd is the count-unit, followed by 3rd parameter as the base per-unit.
The output count-unit defaults to the same (parameter 2), else use "out=" to reword the count-unit, such as singular/plural or abbreviated. Examples:
In most cases, the count-unit will use the same word for both input and output, as defaulted.
Examples
[вироиши манбаъ]Many options are allowed:
See also
[вироиши манбаъ]- {{convert/f}} – convert an amount with special formatting
- {{convert/2}} – convert a set of 2 amounts, with any words between
- {{convert/3}} – convert a set of 3 amounts, with any words between
- {{convert/4}} – convert a set of 4 amounts, with any words between
- {{convert/flip2}} – convert 2 amounts flipped, with any words between
- {{convert/flip3}} – convert 3 amounts flipped, with any words between
- {{convert/flip4}} – convert 4 amounts flipped, with any words between
- {{convert/show2}} – convert 2 amounts, with free-form text
- {{convert/show3}} – convert 3 amounts, with free-form text