Template:Infobox settlement/metric/mag/testcases

Test1
{{Infobox settlement/metric/mag|impu=sq.mi |impv=38.61 |metu=km<sup>2</sup> |metv=100}}

{{Infobox settlement/metric/mag}}

100 km2 (38.61 sq.mi)

{{Infobox settlement/metric/mag/sandbox}}

100 km2 (38.61 sq.mi)

Test2
{{Infobox settlement/metric/mag|impu=sq.mi |impv=8.49 |metu=km<sup>2</sup> |metv=22}}

{{Infobox settlement/metric/mag}}

22 km2 (8.49 sq.mi)

{{Infobox settlement/metric/mag/sandbox}}

22 km2 (8.49 sq.mi)