Template:Infobox settlement/metric/testcases

Test1
{{Infobox settlement/metric|impu=ft |impv=328.08 |metu=m |metv=100}}

{{Infobox settlement/metric}}

100 m (328.08 ft)

{{Infobox settlement/metric/sandbox}}

100 m (328.08 ft)

Test2
{{Infobox settlement/metric|impu=mi |impv=13.67 |metu=km |metv=22}}

{{Infobox settlement/metric}}

22 km (13.67 mi)

{{Infobox settlement/metric/sandbox}}

22 km (13.67 mi)

Metric only
{{Infobox settlement/metric|metu=km |metv=22}}

{{Infobox settlement/metric}}

22 km ({{{impv}}} ft)

{{Infobox settlement/metric/sandbox}}

22 km ({{{impv}}} ft)

Imperial only
{{Infobox settlement/metric|impu=mi |impv=13.67}}

{{Infobox settlement/metric}}

{{{metv}}} m (13.67 mi)

{{Infobox settlement/metric/sandbox}}

{{{metv}}} m (13.67 mi)

Imperial and metric measurements are not equivalent
{{Infobox settlement/metric|impu=ft |impv=100 |metu=m |metv=100}}

{{Infobox settlement/metric}}

100 m (100 ft)

{{Infobox settlement/metric/sandbox}}

100 m (100 ft)