Template:Infobox settlement/areadisp

From Australian sf information
Jump to: navigation, search

This subtemplate is not intended to be used directly

This subtemplate of {{Infobox settlement}} displays area values.

Usage

{{Infobox settlement/areadisp|unit_pref|AREAsqmi|AREAkm2|area_magnitude|LINK|subdivision_name}}

where AREAsqmi and AREAkm2 are the area values to be displayed (one may be blank for automatic conversion if the other is numeric), LINK is set if the units are to be wikilinked, and the other parameters are taken from {{Infobox settlement}}.

Whether the metric or imperial value is displayed first depends on the value of subdivision_name (usually the country name) and unit_pref (which can be set to Imperial to force imperial-first display). The default for non-US non-UK countries is metric first.

Examples

Code Result
{{Infobox settlement/areadisp|Imperial|42| | |lk|Canada}} 42 sq mi (108.8 km2)
{{Infobox settlement/areadisp|Imperial| |108.8| |lk|Canada}} 42 sq mi (108.8 km2)
{{Infobox settlement/areadisp|Imperial|42|109| |lk|Canada}} 42 sq mi (109 km2)
{{Infobox settlement/areadisp|Imperial|42| | | |Canada}} 42 sq mi (108.8 km2)
{{Infobox settlement/areadisp|Imperial| |108.8| | |Canada}} 42 sq mi (108.8 km2)
{{Infobox settlement/areadisp|Imperial|42|109| | |Canada}} 42 sq mi (109 km2)
{{Infobox settlement/areadisp|Imperial|42| |1 E+7| |Canada}} 42 sq mi (108.8 km2)
{{Infobox settlement/areadisp|Imperial| |108.8|1 E+7| |Canada}} 42 sq mi (108.8 km2)
{{Infobox settlement/areadisp|Imperial|42|109|1 E+7| |Canada}} 42 sq mi (109 km2)
{{Infobox settlement/areadisp|Metric|42| | |lk|Canada}} 108.8 km2 (42 sq mi)
{{Infobox settlement/areadisp|Metric| |108.8| |lk|Canada}} 108.8 km2 (42 sq mi)
{{Infobox settlement/areadisp|Metric|42|109| |lk|Canada}} 109 km2 (42 sq mi)
{{Infobox settlement/areadisp|Metric|42| | | |Canada}} 108.8 km2 (42 sq mi)
{{Infobox settlement/areadisp|Metric| |108.8| | |Canada}} 108.8 km2 (42 sq mi)
{{Infobox settlement/areadisp|Metric|42|109| | |Canada}} 109 km2 (42 sq mi)
{{Infobox settlement/areadisp|Metric|42| |1 E+7| |Canada}} 108.8 km2 (42 sq mi)
{{Infobox settlement/areadisp|Metric| |108.8|1 E+7| |Canada}} 108.8 km2 (42 sq mi)
{{Infobox settlement/areadisp|Metric|42|109|1 E+7| |Canada}} 109 km2 (42 sq mi)
{{Infobox settlement/areadisp|Imperial|42| | |lk|United States}} 42 sq mi (108.8 km2)
{{Infobox settlement/areadisp|Imperial| |108.8| |lk|United States}} 42 sq mi (108.8 km2)
{{Infobox settlement/areadisp|Imperial|42|109| |lk|United States}} 42 sq mi (109 km2)
{{Infobox settlement/areadisp|Imperial|42| | | |United States}} 42 sq mi (108.8 km2)
{{Infobox settlement/areadisp|Imperial| |108.8| | |United States}} 42 sq mi (108.8 km2)
{{Infobox settlement/areadisp|Imperial|42|109| | |United States}} 42 sq mi (109 km2)
{{Infobox settlement/areadisp|Imperial|42| |1 E+7| |United States}} 42 sq mi (108.8 km2)
{{Infobox settlement/areadisp|Imperial| |108.8|1 E+7| |United States}} 42 sq mi (108.8 km2)
{{Infobox settlement/areadisp|Imperial|42|109|1 E+7| |United States}} 42 sq mi (109 km2)
{{Infobox settlement/areadisp|Metric|42| | |lk|United States}} 42 sq mi (108.8 km2)
{{Infobox settlement/areadisp|Metric| |108.8| |lk|United States}} 42 sq mi (108.8 km2)
{{Infobox settlement/areadisp|Metric|42|109| |lk|United States}} 42 sq mi (109 km2)
{{Infobox settlement/areadisp|Metric|42| | | |United States}} 42 sq mi (108.8 km2)
{{Infobox settlement/areadisp|Metric| |108.8| | |United States}} 42 sq mi (108.8 km2)
{{Infobox settlement/areadisp|Metric|42|109| | |United States}} 42 sq mi (109 km2)
{{Infobox settlement/areadisp|Metric|42| |1 E+7| |United States}} 42 sq mi (108.8 km2)
{{Infobox settlement/areadisp|Metric| |108.8|1 E+7| |United States}} 42 sq mi (108.8 km2)
{{Infobox settlement/areadisp|Metric|42|109|1 E+7| |United States}} 42 sq mi (109 km2)