Template talk:Height

Created for sports articles, to indicate how tall a player is.

Add "sort" ability to template
If this template is used in a table, then it does not sort properly. That is, it will sort values like this: Can we add the ability to sort on the metric unit of the value so that it is sorted properly? — X96lee15 (talk) 18:13, 22 December 2015 (UTC)
 * 6 ft 0 in
 * 6 ft 10 in
 * 6 ft 2 in
 * The simplest might be to use convert for more tricky cases because convert handles sortable tables and some other things that might be useful. See Help:Convert for a table example. Examples:
 * → 192 cm
 * → 192 cm
 * → 192 cm
 * → 6 ft
 * → 192 cm
 * Using  adds a sort key, and the sort key can be displayed using  :
 * → 192 cm
 * Johnuniq (talk) 00:06, 23 December 2015 (UTC)

Output in cm?
I've never lived anywhere where the height of people is measured in metres rather than centimetres (I'm Canadian and live in Japan). Why does this template force output in metres—especially given it accepts input in centimetres? Curly "JFC" Turkey 🍁 ¡gobble! 02:52, 20 February 2017 (UTC)
 * I don't know, but the "See also" has some convert examples that output in cm so I guess it is hinting to use convert for that (by the way, height calls convert to do the work now). In case you are not aware, some infoboxes no longer want a template—you just enter something like " " and it magically works out what to do. Johnuniq (talk) 03:30, 20 February 2017 (UTC)
 * Thanks! That's a better solution. Curly "JFC" Turkey 🍁 ¡gobble! 03:44, 20 February 2017 (UTC)
 * It's a very good question. One that keeps getting asked again, and again, and again...--45.72.141.216 (talk) 03:14, 4 May 2017 (UTC)


 * The template now allows cm to output conversions from feet and inches to centimetres. Example: 6ft 1in will display 6ft 1in. More examples can be found in the documentaton. It was made optional to avoid affecting of any current uses of the template. Values other than "cm" are ignored, so m has no effect but could used: 6ft 1in will display 6ft 1in (similar to how y is used with the birth date templates). -- Zyxw (talk) 03:02, 16 August 2017 (UTC)

Talk:List of average human height worldwide
I'd asked this years ago on the Talk:List of average human height worldwide, but I tend to recall the template being able to do conversions down to the quarter-inch, and I'd really like that to happen again on the Talk:List of average human height worldwide. Is this possible? --Criticalthinker (talk) 11:36, 8 February 2018 (UTC)
 * Talk:List of average human height worldwide has an example in the reply:
 * → 177cm
 * It might be better to use convert directly as that is understood by many editors and is used to do the work by height. If wanted, cvt (which is convert with ) examples would be:
 * → 177 cm
 * → 177 cm
 * Johnuniq (talk) 22:05, 8 February 2018 (UTC)
 * I'd have no idea how to do this on that page. More than that, is this something I'd have to ask to do?  I would like someone with the know-how to do this. --Criticalthinker (talk) 00:34, 9 February 2018 (UTC)
 * I don't understand that. If you are editing an article and want to use height and want it to display a fraction, use |frac=4 (or |frac=2 or other number) as shown above. If you want to change the default behavior of this template, please spell out what you want. Johnuniq (talk) 03:09, 12 February 2018 (UTC)

Error handling
I noticed today that Height has not been displayed in the infobox for Geva Mentor for 5 months due to this edit which introduced. This is an obvious error in template usage, but the editor did not notice that nothing was displayed in the infobox and there was no warning. Not sure if there are many more of these out there. Can this generate an error or be flagged in a maint category or something? MB 14:12, 26 September 2018 (UTC)
 * I added Category:Pages using height with unknown parameters, which will take some time to fill up. we can remove this tracking if for some reason it's too much overhead. Frietjes (talk) 19:19, 26 September 2018 (UTC)