This is the template test cases page for the sandbox of Template:Infobox person/height. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
The following tests compare the output of:
- {{Infobox person/height}}, implemented via Module:Person height since 26 September 2019
- {{Infobox person/height/sandbox}}, using Module:Person height/sandbox
cm
editm
editft
editin
editft & in
editmissing space after number
edit after number
edittext after length (year, reference)
editheight template as input
edit{{Infobox person/height|157 cm (5 ft 2 in)}}157 cm (5 ft 2 in)
157 cm (5 ft 2 in)
{{Infobox person/height/sandbox}}
157 cm (5 ft 2 in)157 cm (5 ft 2 in)
{{Infobox person/height|1.57 m (5 ft 2 in)}}1.57 m (5 ft 2 in)
1.57 m (5 ft 2 in)
{{Infobox person/height/sandbox}}
1.57 m (5 ft 2 in)1.57 m (5 ft 2 in)
{{Infobox person/height|5 ft 2 in (1.57 m)}}5 ft 2 in (1.57 m)
5 ft 2 in (1.57 m)
{{Infobox person/height/sandbox}}
5 ft 2 in (1.57 m)5 ft 2 in (1.57 m)
{{Infobox person/height|5 ft 0 in (1.52 m)[[:Category:Pages using height with unknown parameters]]}}5 ft 0 in (1.52 m)Category:Pages using height with unknown parameters
5 ft 0 in (1.52 m)[[:Category:Pages using height with unknown parameters]]
{{Infobox person/height/sandbox}}
5 ft 0 in (1.52 m)Category:Pages using height with unknown parameters5 ft 0 in (1.52 m)[[:Category:Pages using height with unknown parameters]]
{{Infobox person/height|5 ft 7.5 in (1.71 m)}}5 ft 7.5 in (1.71 m)
5 ft 7.5 in (1.71 m)
{{Infobox person/height/sandbox}}
5 ft 7.5 in (1.71 m)5 ft 7.5 in (1.71 m)
{{Infobox person/height|1=5 ft <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in (1.71 m)}}5 ft 7+1⁄2 in (1.71 m)
'"`UNIQ--templatestyles-00000061-QINU`"'5 ft <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in (1.71 m)
{{Infobox person/height/sandbox}}
5 ft 7+1⁄2 in (1.71 m)'"`UNIQ--templatestyles-00000061-QINU`"'5 ft <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in (1.71 m)
{{Infobox person/height|1=5 ft <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in (1.71 m)}}5 ft 7+1⁄2 in (1.71 m)
'"`UNIQ--templatestyles-00000066-QINU`"'5 ft <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in (1.71 m)
{{Infobox person/height/sandbox}}
5 ft 7+1⁄2 in (1.71 m)'"`UNIQ--templatestyles-00000066-QINU`"'5 ft <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in (1.71 m)
{{Infobox person/height|1=5 ft <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in (1.71 m)}}5 ft 7+1⁄2 in (1.71 m)
'"`UNIQ--templatestyles-0000006B-QINU`"'5 ft <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in (1.71 m)
{{Infobox person/height/sandbox}}
5 ft 7+1⁄2 in (1.71 m)'"`UNIQ--templatestyles-0000006B-QINU`"'5 ft <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in (1.71 m)
{{Infobox person/height|1=5 ft <span class="sfrac">7<span class="sr-only">+</span><span class="tion"><span class="num">1</span><span class="sr-only">/</span><span class="den">2</span></span></span> in (1.71 m)}}5 ft 7+1/2 in (1.71 m)
'"`UNIQ--templatestyles-00000070-QINU`"'5 ft <span class="sfrac">7<span class="sr-only">+</span><span class="tion"><span class="num">1</span><span class="sr-only">/</span><span class="den">2</span></span></span> in (1.71 m)
{{Infobox person/height/sandbox}}
5 ft 7+1/2 in (1.71 m)'"`UNIQ--templatestyles-00000070-QINU`"'5 ft <span class="sfrac">7<span class="sr-only">+</span><span class="tion"><span class="num">1</span><span class="sr-only">/</span><span class="den">2</span></span></span> in (1.71 m)
convert template as input
edit{{Infobox person/height|157 centimetres (62 in)}}157 cm (62 in)
157 cm (62 in)
{{Infobox person/height/sandbox}}
157 cm (62 in)157 cm (62 in)
{{Infobox person/height|1.57 metres (5 ft 2 in)}}1.57 m (5 ft 2 in)
1.57 m (5 ft 2 in)
{{Infobox person/height/sandbox}}
1.57 m (5 ft 2 in)1.57 m (5 ft 2 in)
{{Infobox person/height|5 feet 2 inches (1.57 m)}}5 ft 2 in (1.57 m)
5 ft 2 in (1.57 m)
{{Infobox person/height/sandbox}}
5 ft 2 in (1.57 m)5 ft 2 in (1.57 m)
{{Infobox person/height|5 feet 7.5 inches (1.715 m)}}5 ft 7.5 in (1.715 m)
5 ft 7.5 in (1.715 m)
{{Infobox person/height/sandbox}}
5 ft 7.5 in (1.715 m)5 ft 7.5 in (1.715 m)
{{Infobox person/height|1=5 feet <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> inches (1.715 m)}}5 ft 7+1⁄2 in (1.715 m)
'"`UNIQ--templatestyles-00000082-QINU`"'5 ft <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in (1.715 m)
{{Infobox person/height/sandbox}}
5 ft 7+1⁄2 in (1.715 m)'"`UNIQ--templatestyles-00000082-QINU`"'5 ft <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in (1.715 m)
{{Infobox person/height|1=5 feet <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> inches (1.715 m)}}5 ft 7+1⁄2 in (1.715 m)
'"`UNIQ--templatestyles-00000087-QINU`"'5 ft <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in (1.715 m)
{{Infobox person/height/sandbox}}
5 ft 7+1⁄2 in (1.715 m)'"`UNIQ--templatestyles-00000087-QINU`"'5 ft <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in (1.715 m)
{{Infobox person/height|1=5 feet <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> inches (1.715 m)}}5 ft 7+1⁄2 in (1.715 m)
'"`UNIQ--templatestyles-0000008C-QINU`"'5 ft <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in (1.715 m)
{{Infobox person/height/sandbox}}
5 ft 7+1⁄2 in (1.715 m)'"`UNIQ--templatestyles-0000008C-QINU`"'5 ft <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> in (1.715 m)
{{Infobox person/height|1=5 feet <span class="sfrac">7<span class="sr-only">+</span><span class="tion"><span class="num">1</span><span class="sr-only">/</span><span class="den">2</span></span></span> inches (1.715 m)}}5 ft 7+1/2 in (1.715 m)
'"`UNIQ--templatestyles-00000091-QINU`"'5 ft <span class="sfrac">7<span class="sr-only">+</span><span class="tion"><span class="num">1</span><span class="sr-only">/</span><span class="den">2</span></span></span> in (1.715 m)
{{Infobox person/height/sandbox}}
5 ft 7+1/2 in (1.715 m)'"`UNIQ--templatestyles-00000091-QINU`"'5 ft <span class="sfrac">7<span class="sr-only">+</span><span class="tion"><span class="num">1</span><span class="sr-only">/</span><span class="den">2</span></span></span> in (1.715 m)
convert template as input, with abbreviated linked unit names
edit{{Infobox person/height|157 [[Centimetre|cm]] (62 [[inch|in]])}}157 cm (62 in)
157 [[Centimetre|cm]] (62 [[inch|in]])
{{Infobox person/height/sandbox}}
157 cm (62 in)157 [[Centimetre|cm]] (62 [[inch|in]])
{{Infobox person/height|1.57 [[Metre|m]] (5 [[Foot (unit)|ft]] 2 [[inch|in]])}}1.57 m (5 ft 2 in)
1.57 [[Metre|m]] (5 [[Foot (unit)|ft]] 2 [[inch|in]])
{{Infobox person/height/sandbox}}
1.57 m (5 ft 2 in)1.57 [[Metre|m]] (5 [[Foot (unit)|ft]] 2 [[inch|in]])
{{Infobox person/height|5 [[Foot (unit)|ft]] 2 [[inch|in]] (1.57 [[Metre|m]])}}5 ft 2 in (1.57 m)
5 [[Foot (unit)|ft]] 2 [[inch|in]] (1.57 [[Metre|m]])
{{Infobox person/height/sandbox}}
5 ft 2 in (1.57 m)5 [[Foot (unit)|ft]] 2 [[inch|in]] (1.57 [[Metre|m]])
{{Infobox person/height|5 [[Foot (unit)|ft]] 7.5 [[inch|in]] (1.715 [[Metre|m]])}}5 ft 7.5 in (1.715 m)
5 [[Foot (unit)|ft]] 7.5 [[inch|in]] (1.715 [[Metre|m]])
{{Infobox person/height/sandbox}}
5 ft 7.5 in (1.715 m)5 [[Foot (unit)|ft]] 7.5 [[inch|in]] (1.715 [[Metre|m]])
{{Infobox person/height|1=5 [[Foot (unit)|ft]] <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> [[inch|in]] (1.715 [[Metre|m]])}}5 ft 7+1⁄2 in (1.715 m)
'"`UNIQ--templatestyles-000000A2-QINU`"'5 [[Foot (unit)|ft]] <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> [[inch|in]] (1.715 [[Metre|m]])
{{Infobox person/height/sandbox}}
5 ft 7+1⁄2 in (1.715 m)'"`UNIQ--templatestyles-000000A2-QINU`"'5 [[Foot (unit)|ft]] <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> [[inch|in]] (1.715 [[Metre|m]])
{{Infobox person/height|1=5 [[Foot (unit)|ft]] <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> [[inch|in]] (1.715 [[Metre|m]])}}5 ft 7+1⁄2 in (1.715 m)
'"`UNIQ--templatestyles-000000A7-QINU`"'5 [[Foot (unit)|ft]] <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> [[inch|in]] (1.715 [[Metre|m]])
{{Infobox person/height/sandbox}}
5 ft 7+1⁄2 in (1.715 m)'"`UNIQ--templatestyles-000000A7-QINU`"'5 [[Foot (unit)|ft]] <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> [[inch|in]] (1.715 [[Metre|m]])
{{Infobox person/height|1=5 [[Foot (unit)|ft]] <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> [[inch|in]] (1.715 [[Metre|m]])}}5 ft 7+1⁄2 in (1.715 m)
'"`UNIQ--templatestyles-000000AC-QINU`"'5 [[Foot (unit)|ft]] <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> [[inch|in]] (1.715 [[Metre|m]])
{{Infobox person/height/sandbox}}
5 ft 7+1⁄2 in (1.715 m)'"`UNIQ--templatestyles-000000AC-QINU`"'5 [[Foot (unit)|ft]] <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> [[inch|in]] (1.715 [[Metre|m]])
{{Infobox person/height|1=5 [[Foot (unit)|ft]] <span class="sfrac">7<span class="sr-only">+</span><span class="tion"><span class="num">1</span><span class="sr-only">/</span><span class="den">2</span></span></span> [[inch|in]] (1.715 [[Metre|m]])}}5 ft 7+1/2 in (1.715 m)
'"`UNIQ--templatestyles-000000B1-QINU`"'5 [[Foot (unit)|ft]] <span class="sfrac">7<span class="sr-only">+</span><span class="tion"><span class="num">1</span><span class="sr-only">/</span><span class="den">2</span></span></span> [[inch|in]] (1.715 [[Metre|m]])
{{Infobox person/height/sandbox}}
5 ft 7+1/2 in (1.715 m)'"`UNIQ--templatestyles-000000B1-QINU`"'5 [[Foot (unit)|ft]] <span class="sfrac">7<span class="sr-only">+</span><span class="tion"><span class="num">1</span><span class="sr-only">/</span><span class="den">2</span></span></span> [[inch|in]] (1.715 [[Metre|m]])
convert template as input, with unabbreviated linked unit names
edit{{Infobox person/height|157 [[centimetre]]s (62 [[inch|inches]])}}157 cm (62 in)
157 [[Centimetre|cm]] (62 [[inch|in]])
{{Infobox person/height/sandbox}}
157 cm (62 in)157 [[Centimetre|cm]] (62 [[inch|in]])
{{Infobox person/height|5 [[Foot (unit)|feet]] 7.5 [[inch|inches]] (1.715 [[metre]]s)}}5 ft 7.5 in (1.715 m)
5 [[Foot (unit)|ft]] 7.5 [[inch|in]] (1.715 [[Metre|m]])
{{Infobox person/height/sandbox}}
5 ft 7.5 in (1.715 m)5 [[Foot (unit)|ft]] 7.5 [[inch|in]] (1.715 [[Metre|m]])
{{Infobox person/height|1=5 [[Foot (unit)|feet]] <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> [[inch|inches]] (1.715 [[metre]]s)}}5 ft 7+1⁄2 in (1.715 m)
'"`UNIQ--templatestyles-000000C2-QINU`"'5 [[Foot (unit)|ft]] <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> [[inch|in]] (1.715 [[Metre|m]])
{{Infobox person/height/sandbox}}
5 ft 7+1⁄2 in (1.715 m)'"`UNIQ--templatestyles-000000C2-QINU`"'5 [[Foot (unit)|ft]] <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> [[inch|in]] (1.715 [[Metre|m]])
{{Infobox person/height|1=5 [[Foot (unit)|feet]] <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> [[inch|inches]] (1.715 [[metre]]s)}}5 ft 7+1⁄2 in (1.715 m)
'"`UNIQ--templatestyles-000000C7-QINU`"'5 [[Foot (unit)|ft]] <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> [[inch|in]] (1.715 [[Metre|m]])
{{Infobox person/height/sandbox}}
5 ft 7+1⁄2 in (1.715 m)'"`UNIQ--templatestyles-000000C7-QINU`"'5 [[Foot (unit)|ft]] <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> [[inch|in]] (1.715 [[Metre|m]])
{{Infobox person/height|1=5 [[Foot (unit)|feet]] <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> [[inch|inches]] (1.715 [[metre]]s)}}5 ft 7+1⁄2 in (1.715 m)
'"`UNIQ--templatestyles-000000CC-QINU`"'5 [[Foot (unit)|ft]] <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> [[inch|in]] (1.715 [[Metre|m]])
{{Infobox person/height/sandbox}}
5 ft 7+1⁄2 in (1.715 m)'"`UNIQ--templatestyles-000000CC-QINU`"'5 [[Foot (unit)|ft]] <span class="frac">7<span class="sr-only">+</span><span class="num">1</span>⁄<span class="den">2</span></span> [[inch|in]] (1.715 [[Metre|m]])
{{Infobox person/height|1=5 [[Foot (unit)|feet]] <span class="sfrac">7<span class="sr-only">+</span><span class="tion"><span class="num">1</span><span class="sr-only">/</span><span class="den">2</span></span></span> [[inch|inches]] (1.715 [[metre]]s)}}5 ft 7+1/2 in (1.715 m)
'"`UNIQ--templatestyles-000000D1-QINU`"'5 [[Foot (unit)|ft]] <span class="sfrac">7<span class="sr-only">+</span><span class="tion"><span class="num">1</span><span class="sr-only">/</span><span class="den">2</span></span></span> [[inch|in]] (1.715 [[Metre|m]])
{{Infobox person/height/sandbox}}
5 ft 7+1/2 in (1.715 m)'"`UNIQ--templatestyles-000000D1-QINU`"'5 [[Foot (unit)|ft]] <span class="sfrac">7<span class="sr-only">+</span><span class="tion"><span class="num">1</span><span class="sr-only">/</span><span class="den">2</span></span></span> [[inch|in]] (1.715 [[Metre|m]])
Prefer m
editIf a template uses {{Infobox person/height|{{{height}}}|prefer=m}}, any article using that template will display a conversion to metric as m (default is cm).
{{Infobox person/height|157 cm|prefer=m}}157 cm (5 ft 2 in)
157 cm (5 ft 2 in)
{{Infobox person/height/sandbox}}
157 cm (5 ft 2 in)157 cm (5 ft 2 in)
{{Infobox person/height|1.57 cm|prefer=m}}1.57 cm (1 in)
1.57 cm (1 in)
{{Infobox person/height/sandbox}}
1.57 cm (1 in)1.57 cm (1 in)
{{Infobox person/height|5 ft 2 in|prefer=m}}5 ft 2 in (1.57 m)
5 ft 2 in (1.57 m)
{{Infobox person/height/sandbox}}
5 ft 2 in (1.57 m)5 ft 2 in (1.57 m)
{{Infobox person/height|62 in|prefer=m}}62 in (1.57 m)
62 in (1.57 m)
{{Infobox person/height/sandbox}}
62 in (1.57 m)62 in (1.57 m)
{{Infobox person/height|5.2 ft|prefer=m}}5.2 ft (1.58 m)
5.2 ft (1.58 m)
{{Infobox person/height/sandbox}}
5.2 ft (1.58 m)5.2 ft (1.58 m)
Prefer cm
editIf a template uses {{Infobox person/height|{{{height}}}|prefer=cm}}, any article using that template will display a conversion to metric as cm (default).
Enforce m
editIf a template uses {{Infobox person/height|{{{height}}}|enforce=m}}, 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
editIf a template uses {{Infobox person/height|{{{height}}}|enforce=cm}}, 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).
Clean up tags and references
edit{{Infobox person/height|1=5ft 6in[[Category:Templates needing substitution checking]]<sup class="noprint Inline-Template Template-Fact" style="white-space:nowrap;">[<i>[[Wikipedia:Citation needed|<span title="This claim needs references to reliable sources. (November 2022)">citation needed</span>]]</i>]</sup>}}5 ft 6 in (168 cm)[citation needed]
5 ft 6 in (168 cm)[[Category:Templates needing substitution checking]]<sup class="noprint Inline-Template Template-Fact" style="white-space:nowrap;">[<i>[[Wikipedia:Citation needed|<span title="This claim needs references to reliable sources. (November 2022)">citation needed</span>]]</i>]</sup>
{{Infobox person/height/sandbox}}
5 ft 6 in (168 cm)[citation needed]5 ft 6 in (168 cm)[[Category:Templates needing substitution checking]]<sup class="noprint Inline-Template Template-Fact" style="white-space:nowrap;">[<i>[[Wikipedia:Citation needed|<span title="This claim needs references to reliable sources. (November 2022)">citation needed</span>]]</i>]</sup>
{{Infobox person/height|1=1.87 m[1] <sup class="noprint Inline-Template " style="white-space:nowrap;">[<i>[[Wikipedia:Accuracy dispute#Disputed statement|<span title="The material near this tag is possibly inaccurate or nonfactual. (October 2021)">dubious</span>]] – [[Template talk:Infobox person/height/testcases#Dubious|discuss]]</i>]</sup>}}1.87 m (6 ft 2 in)[1] [dubious – discuss]
1.87 m (6 ft 2 in)'"`UNIQ--ref-00000161-QINU`"' <sup class="noprint Inline-Template " style="white-space:nowrap;">[<i>[[Wikipedia:Accuracy dispute#Disputed statement|<span title="The material near this tag is possibly inaccurate or nonfactual. (October 2021)">dubious</span>]] – [[Template talk:Infobox person/height/testcases#Dubious|discuss]]</i>]</sup>
{{Infobox person/height/sandbox}}
1.87 m (6 ft 2 in)[1] [dubious – discuss]1.87 m (6 ft 2 in)'"`UNIQ--ref-00000161-QINU`"' <sup class="noprint Inline-Template " style="white-space:nowrap;">[<i>[[Wikipedia:Accuracy dispute#Disputed statement|<span title="The material near this tag is possibly inaccurate or nonfactual. (October 2021)">dubious</span>]] – [[Template talk:Infobox person/height/testcases#Dubious|discuss]]</i>]</sup>
Exceptions
editDoes not replace numbers in manually entered conversions, but does replace unit names with abbreviations (examples intentionally show incorrect conversions):
{{Infobox person/height|157 centimetres (5 feet 5 inches)}}157 cm (5 ft 5 in)
157 cm (5 ft 5 in)
{{Infobox person/height/sandbox}}
157 cm (5 ft 5 in)157 cm (5 ft 5 in)
{{Infobox person/height|1.57 metres (5 feet 5 inches)}}1.57 m (5 ft 5 in)
1.57 m (5 ft 5 in)
{{Infobox person/height/sandbox}}
1.57 m (5 ft 5 in)1.57 m (5 ft 5 in)
{{Infobox person/height|5 feet 2 inches (1.00 metres)}}5 ft 2 in (1.00 m)
5 ft 2 in (1.00 m)
{{Infobox person/height/sandbox}}
5 ft 2 in (1.00 m)5 ft 2 in (1.00 m)
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):
{{Infobox person/height|157 centimetres (5 feet 1.8 inches)}}157 cm (5 ft 1.8 in)
157 cm (5 ft 1.8 in)
{{Infobox person/height/sandbox}}
157 cm (5 ft 1.8 in)157 cm (5 ft 1.8 in)
{{Infobox person/height|1.57 metres (5 feet 1.8 inches)}}1.57 m (5 ft 1.8 in)
1.57 m (5 ft 1.8 in)
{{Infobox person/height/sandbox}}
1.57 m (5 ft 1.8 in)1.57 m (5 ft 1.8 in)
{{Infobox person/height|5 feet 2 inches (1.575 metres)}}5 ft 2 in (1.575 m)
5 ft 2 in (1.575 m)
{{Infobox person/height/sandbox}}
5 ft 2 in (1.575 m)5 ft 2 in (1.575 m)
{{Infobox person/height|1=157 centimetres (5 feet <span class="frac">1<span class="sr-only">+</span><span class="num">3</span>⁄<span class="den">4</span></span> inches)}}157 cm (5 ft 1+3⁄4 in)
'"`UNIQ--templatestyles-00000178-QINU`"'157 cm (5 ft <span class="frac">1<span class="sr-only">+</span><span class="num">3</span>⁄<span class="den">4</span></span> in)
{{Infobox person/height/sandbox}}
157 cm (5 ft 1+3⁄4 in)'"`UNIQ--templatestyles-00000178-QINU`"'157 cm (5 ft <span class="frac">1<span class="sr-only">+</span><span class="num">3</span>⁄<span class="den">4</span></span> in)
{{Infobox person/height|1=1.57 metres (5 feet <span class="frac">1<span class="sr-only">+</span><span class="num">3</span>⁄<span class="den">4</span></span> inches)}}1.57 m (5 ft 1+3⁄4 in)
'"`UNIQ--templatestyles-0000017D-QINU`"'1.57 m (5 ft <span class="frac">1<span class="sr-only">+</span><span class="num">3</span>⁄<span class="den">4</span></span> in)
{{Infobox person/height/sandbox}}
1.57 m (5 ft 1+3⁄4 in)'"`UNIQ--templatestyles-0000017D-QINU`"'1.57 m (5 ft <span class="frac">1<span class="sr-only">+</span><span class="num">3</span>⁄<span class="den">4</span></span> in)
{{Infobox person/height|5 feet 2 inches (1.575 metres)}}5 ft 2 in (1.575 m)
5 ft 2 in (1.575 m)
{{Infobox person/height/sandbox}}
5 ft 2 in (1.575 m)5 ft 2 in (1.575 m)
Odd cases
editUnit 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 instead):
{{Infobox person/height|1=157<span class="nowrap"> </span>cm}}157 cm
157<span class="nowrap"> </span>cm
{{Infobox person/height/sandbox}}
157 cm157<span class="nowrap"> </span>cm
{{Infobox person/height|1=1.57<span class="nowrap"> </span>m}}1.57 m
1.57<span class="nowrap"> </span>m
{{Infobox person/height/sandbox}}
1.57 m1.57<span class="nowrap"> </span>m
{{Infobox person/height|1=5<span class="nowrap"> </span>ft 2<span class="nowrap"> </span>in}}5 ft 2 in
5<span class="nowrap"> </span>ft 2<span class="nowrap"> </span>in
{{Infobox person/height/sandbox}}
5 ft 2 in5<span class="nowrap"> </span>ft 2<span class="nowrap"> </span>in
Conversion not displayed for some fractions supported in {{convert}} and {{height}} such as +1⁄2 or +1//2 (use +1/2 instead):
- {{cvt|5|ft|7+1⁄2|in|cm|0}} → 5 ft 7+1⁄2 in (171 cm) / {{height|ft=5|in=7+1⁄2|out=cm}} → 5 ft 7+1⁄2 in (171 cm)
- {{cvt|5|ft|7+1//2|in|cm|0}} → 5 ft 7+1/2 in (171 cm) / {{height|ft=5|in=7+1//2|out=cm}} → 5 ft 7+1/2 in (171 cm)