User:Johan G/convert/rear
< User:Johan G | convert
Jump to navigation
Jump to search
{{User:Johan G/convert/pds}}: Parameter to-unit missing
The following template description is not displayed when the template is inserted in an article.
Goal
This template handles showing decimals and units for User:Johan G/convert ("rear" is for rear part of the quantity).
Usage
{{User:Johan G/convert/rear|to-unit|decimals|hide-unit}}
Only to-unit is manatory, though all parameters should be passed from the main template.
- to-unit
- Unit to be converted to
- decimals
- Number of decimals. If empty, no decimals will be shown
- hide-unit
- If not empty the unit will not be shown in the result
Examples
Examples using different options.
Known issues
Trailing zeros in the decimals will not be shown.
Related templates