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
- {{Infobox person/height/sandbox2}}, a copy of template prior to creation of Lua module
Template:Template see also
cm
m
ft
in
ft & in
missing space after number
after number
text after length (year, reference)
- ↑ citation goes here
- ↑ 5 feet 2 inches.
- ↑ "title". work.
- ↑ "centimetres", inches
height template as input
convert template as input
convert template as input, with abbreviated linked unit names
convert template as input, with unabbreviated linked unit names
Prefer m
If 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).
Prefer cm
If 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
If 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
If 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).
Lua error: Internal error: The interpreter has terminated with signal "24".
Lua error: Internal error: The interpreter has terminated with signal "24".
Lua error: Internal error: The interpreter has terminated with signal "24".
Lua error: Internal error: The interpreter has terminated with signal "24".
Exceptions
Does not replace numbers in manually entered conversions, but does replace unit names with abbreviations (examples intentionally show incorrect conversions):
Lua error: Internal error: The interpreter has terminated with signal "24".
Lua error: Internal error: The interpreter has terminated with signal "24".
Lua error: Internal error: The interpreter has terminated with signal "24".
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):
Lua error: Internal error: The interpreter has terminated with signal "24".
Lua error: Internal error: The interpreter has terminated with signal "24".
Lua error: Internal error: The interpreter has terminated with signal "24".
Lua error: Internal error: The interpreter has terminated with signal "24".
Lua error: Internal error: The interpreter has terminated with signal "24".
Lua error: Internal error: The interpreter has terminated with signal "24".
Areas for improvement
Conversion not displayed if unit name contains uppercase characters:
Lua error: Internal error: The interpreter has terminated with signal "24".
Lua error: Internal error: The interpreter has terminated with signal "24".
Lua error: Internal error: The interpreter has terminated with signal "24".
Lua error: Internal error: The interpreter has terminated with signal "24".
Lua error: Internal error: The interpreter has terminated with signal "24".
Lua error: Internal error: The interpreter has terminated with signal "24".
Conversion not displayed if symbols are used for feet and inches:
Lua error: Internal error: The interpreter has terminated with signal "24".
Lua error: Internal error: The interpreter has terminated with signal "24".
Does not recognize symbols for feet and inches in a manually entered conversion (adds a second conversion):
Lua error: Internal error: The interpreter has terminated with signal "24".
Lua error: Internal error: The interpreter has terminated with signal "24".