Template:Infobox person/height/testcases

The following tests compare the output of:
 * 1) Infobox person/height, implemented via Module:Person height since 26 September 2019
 * 2) Infobox person/height/sandbox, using Module:Person height/sandbox

Prefer m
If a template uses, any article using that template will display a conversion to metric as m (default is cm).

Prefer cm
If a template uses, any article using that template will display a conversion to metric as cm (default).

Enforce m
If a template uses, any article using that template will display all metric units as m, whether in the input or in the conversion (default is metric input unchanged, though abbreviated, and metric conversion in cm).

Enforce cm
If a template uses, any article using that template will display all metric units as cm, whether in the input or in the conversion (default is metric input unchanged, though abbreviated, and metric conversion in cm).

Exceptions
Does not replace numbers in manually entered conversions, but does replace unit names with abbreviations (examples intentionally show incorrect conversions):

Does not replace numeric output of conversion templates such as convert or height, but does replace unit names with abbreviations (examples intentionally show different precision than usual):

Odd cases
Unit name contains uppercase characters:

Symbols are used for feet and inches:

Symbols for feet and inches in a manually entered conversion:

Conversion not displayed if using nbsp after number (use &amp;nbsp; instead):

Conversion not displayed for some fractions supported in convert and height such as +1⁄2 or +1//2 (use +1/2 instead):


 * 5 ft &rarr; 5 ft / 5ft 7+1⁄2in &rarr; 5ft 7+1⁄2in
 * 5 ft &rarr; 5 ft / 5ft 7+1//2in &rarr; 5ft 7+1//2in