Template:Infobox person/weight/testcases

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

convert template as input
With unabbreviated unit names:

With unabbreviated wikilinked unit names:

With abbreviated wikilinked unit names:

weight ranges
with en dash (–):

with hyphen (-); output is changed to en dash by Convert:

kg-stlb enabled
If a template uses, then an article using that template with an input in kg will display two conversions: lb followed by st/lb (default is one conversion to lb):

lb-stlb enabled
If a template uses, then an article using that template with an input in lb will display two conversions: kg followed by st/lb (default is one conversion to kg):

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, but does replace unit names with abbreviations (examples intentionally show different precision than usual):

Areas for improvement
Conversion not displayed if unit name contains uppercase characters:

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

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


 * 199+1⁄2 lb &rarr; 199+1⁄2 lb
 * 199+1//2 lb &rarr; 199+1//2 lb