Template:Infobox settlement/lengthdisp/testcases

Test1
{{Infobox settlement/lengthdisp|km=10000}}

{{Infobox settlement/lengthdisp}}

10,000 km (6,000 mi)

{{Infobox settlement/lengthdisp/sandbox}}

10,000 km (6,000 mi)

Test2
{{Infobox settlement/lengthdisp|m=22}}

{{Infobox settlement/lengthdisp}}

22 m (72 ft)

{{Infobox settlement/lengthdisp/sandbox}}

22 m (72 ft)