Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
Description[]
Given a measure in centimeters, this template returns the conversion of that measure in feet and inches or in inches only.
This template is supposed to be used in other templates, such as Template:Height.
Usage[]
- Feet and Inches: {{CmToFtIn|165|fi}}* -> 5 ft 4.9 in
- Inches: {{CmToFtIn|165|i}} -> 64.9 in
- Inches (number only): {{CmToFtIn|165|in}} -> 64.9