Template:Infobox person/weight/doc

This template is used to automatically add conversions of weight measurements displayed by Template:Infobox person and other infoboxes with a weight parameter.

Examples
Kilograms:


 * 1 kilogram &rarr;
 * 108 kg. &rarr;
 * 111kilograms &rarr;
 * 108&amp;nbsp;kgs. &rarr;

Pounds:


 * 1 pound &rarr;
 * 200 lb. &rarr;
 * 245pounds &rarr;
 * 238&amp;nbsp;lbs. &rarr;

Stone:


 * 1 stone &rarr;
 * 10 st. &rarr;
 * 17stones &rarr;
 * 17&amp;nbsp;sts. &rarr;

Stone and pounds:


 * 17 stone, 7 pounds &rarr;
 * 17 st. 7 lb. &rarr;
 * 17stones 1pound &rarr;
 * 17&amp;nbsp;sts. 1&amp;nbsp;lbs. &rarr;

Text and/or footnotes (references) after weight:


 * 108 kgs (2012) &rarr;
 * 238 lbs &rarr;
 * 238 lbs (2012) &rarr;
 * Example references

Convert templates, without and with wikilinked unit names:


 * 111 kg &rarr;
 * 111 kg &rarr;
 * 245 lb &rarr;
 * 245 lb &rarr;
 * 245 lb &rarr;

Weight ranges with input containing en dash (–):


 * 108–111 kg &rarr;
 * 238–245 lb &rarr;
 * 17–18 st &rarr;

Weight ranges with input containing hyphen (-); output is changed to en dash by Convert:


 * 108-111 kg &rarr;
 * 238-245 lb &rarr;
 * 17-18 st &rarr;

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):


 * 100 kg &rarr;
 * 108–111 kg &rarr;

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):


 * 200 lb &rarr;
 * 238-245 lb &rarr;

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


 * 108 kilograms (229 pounds) &rarr;
 * 238 pounds (119 kilograms) &rarr;
 * 17 stone (229 pounds; 119 kilograms) &rarr;

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):


 * 108.1 kg &rarr;
 * output of convert template: 108.1 kg
 * 238.2 lb &rarr;
 * output of convert template: 238.2 lb
 * 17.3 st &rarr;
 * output of convert template: 17.3 st

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


 * 100 Kilograms &rarr;
 * 100 KG &rarr;
 * 200 Pounds &rarr;
 * 200 LB &rarr;
 * 10 Stone &rarr;
 * 10 ST &rarr;