Template:Htbot
From FEInfobase
The Template:Htbot simply compares the given height to some common-sense levels of height, and then auto-formats the height in feet, with inches, .x, or rounded whole feet. Usage: |
{{htbot|xxx.x}}
{{htbot|m=xxx.x}}
{{htbot|1.2}}
- for 1.2 meters.{{htbot|5300}}
- for 5300 meters.{{htbot|5|abbr=no}}
- show "feet".
The height levels for choosing format are:
- m < 6: shows feet & inches
- m < 50: shows feet to 1 decimal, xxx.x
- m > 50: shows feet rounded to whole feet.
The parameter "m" defaults to the first unnamed parameter. For example:
{{htbot|abbr=no|34}}
- uses "34"
NOTE: When translating articles from German Wikipedia, use
template htbot
to handle the German template {{Height|x}}.