This template is within the scope of WikiProject Measurement, a project which is currently considered to be defunct.MeasurementWikipedia:WikiProject MeasurementTemplate:WikiProject MeasurementMeasurement
This template is within the scope of WikiProject Biography, a collaborative effort to create, develop and organize Wikipedia's articles about people. All interested editors are invited to join the project and contribute to the discussion. For instructions on how to use this banner, please refer to the documentation.BiographyWikipedia:WikiProject BiographyTemplate:WikiProject Biographybiography
This template is within the scope of WikiProject Sports, a collaborative effort to improve the coverage of sport-related topics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.SportsWikipedia:WikiProject SportsTemplate:WikiProject Sportssports
Assess : newly added and existing articles, maybe nominate some good B-class articles for GA; independently assess some as A-class, regardless of GA status.
Cleanup : * Sport governing body (this should-be-major article is in a shameful state) * Field hockey (History section needs sources and accurate information - very vague at the moment.) * Standardize Category:American college sports infobox templates to use same font size and spacing. * Sport in the United Kingdom - the Popularity section is incorrect and unsourced. Reliable data is required.
* Fix project template and/or "to do list" Current version causes tables of content to be hidden unless/until reader chooses "show."
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#Sortable table for a table example. Examples:
{{convert|192|cm|ftin|abbr=on}} → 192 cm (6 ft 4 in)
{{convert|192|cm|ftin|1|abbr=on}} → 192 cm (6 ft 3.6 in)
{{convert|192|cm|ftin|abbr=on|frac=2}} → 192 cm (6 ft 3+1⁄2 in)
{{convert|6|ft|3+1/2|in|cm|0|abbr=on}} → 6 ft 3+1⁄2 in (192 cm)
{{convert|192|cm|ftin|abbr=on|frac=2|order=flip}} → 6 ft 3+1⁄2 in (192 cm)
Using |sortable=on adds a sort key, and the sort key can be displayed using debug=yes:
{{convert|192|cm|ftin|abbr=on|frac=2|sortable=on|debug=yes}} → 7000192000000000000♠192 cm (6 ft 3+1⁄2 in)
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)[reply]
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 "5 ft 8 in" and it magically works out what to do. Johnuniq (talk) 03:30, 20 February 2017 (UTC)[reply]
The template now allows |out=cm to output conversions from feet and inches to centimetres. Example: {{height|ft=6|in=1|out=cm}} will display 6 ft 1 in (185 cm). 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 |out=m has no effect but could used: {{height|ft=6|in=1|out=m}} will display 6 ft 1 in (1.85 m) (similar to how |mf=y is used with the {{birth date}} templates). -- Zyxw (talk) 03:02, 16 August 2017 (UTC)[reply]
{{height|cm=177|frac=16}} → 177 cm (5 ft 9+11⁄16 in)
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 abbr=on) examples would be:
{{cvt|177|cm|in|frac=4}} → 177 cm (69+3⁄4 in)
{{cvt|177|cm|ftin|frac=4}} → 177 cm (5 ft 9+3⁄4 in)
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)[reply]
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)[reply]
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 {{height|1.90m}}. 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? MB14:12, 26 September 2018 (UTC)[reply]