Difference between revisions of "Template:Infobox U.S. metropolitan area"
Jump to navigation
Jump to search
(Added country option, there's no indication in its final display form that this infobox is U.S.-related.) |
imported>Mrwojo (added "width" units (fixes the width problem); added map_caption (Seattle metropolitan area article shoehorned a caption into "name" param)) |
||
| Line 1: | Line 1: | ||
| − | {| class="infobox bordered vcard" style="width: | + | {| class="infobox bordered vcard" style="width: 250px; text-align: left; font-size: 90%;" |
|+ style="font-size: larger;" | '''<span class="fn org">{{{MSA_name}}}</span>''' | |+ style="font-size: larger;" | '''<span class="fn org">{{{MSA_name}}}</span>''' | ||
|-class="borderless" | |-class="borderless" | ||
| colspan="2" style="text-align: center; font-size: smaller" | | | colspan="2" style="text-align: center; font-size: smaller" | | ||
| − | [[ | + | [[File:{{{map}}}|200px|center|Map of {{{name}}}]]<!-- |
| + | -->{{#if:{{{map_caption|}}} | <div>{{{map_caption}}}</div> }}<!-- | ||
| + | --><br/>''Common name: <span class="nickname">{{{name}}}</span>'' | ||
|- | |- | ||
|| '''Largest city''' || {{{largest_city}}} | || '''Largest city''' || {{{largest_city}}} | ||
Revision as of 00:44, 15 September 2012
|
[[File:{{{map}}}|200px|center|Map of {{{name}}}]] | |
| Largest city | {{{largest_city}}} |
| Other cities | {{{other_cities}}} |
| Population | |
| - Total | {{{population}}} |
| Area | {{{area_mi2}}} sq. mi. {{{area_km2}}} km² |
| Country | {{{country}}} |
| State(s) | {{{states}}} |
| Elevation | |
| - Highest point | {{{highest_ft}}} feet ({{{highest_m}}} m) |
| - Lowest point | {{{lowest_ft}}} feet ({{{lowest_m}}} m) |
Template:Uses Infobox settlement
Usage
Please see the documentation subpage for Template:Infobox settlement for general information of what this template does.
{{Infobox U.S. metropolitan area
| MSA_name =
| name =
| map =
| map_caption =
| largest_city =
| other_cities =
| rank_us =
| population =
| density_mi2 =
| density_km2 =
| area_mi2 =
| area_km2 =
| states =
| highest_ft =
| highest_m =
| lowest_ft =
| lowest_m =
}}
Parameter names and descriptions
| Parameter name | Usage | Description |
|---|---|---|
| MSA_name | required | The name that appears on the top of the infobox |
| name | required | The common name of the metro area |
| map | optional | The name of an image to use as a map of the area; map = Example.jpg
|
| map_caption | optional | Optional caption text to display below the image |
| largest_city | optional | The most populous city in the metro area |
| other_cities | optional | Other cities in the metro area |
| coordinates | optional | geographic coordinates |
| rank_us | optional | Where this metro area ranks in List of metropolitan statistical areas; example: |rank_us=5th
|
| population | optional | Total population of the metro area |
| density_mi2 | optional | Population density in square miles. Auto-converted to display square kilometers if density_km2 is empty.
|
| density_km2 | optional | Population density in square kilometers. Auto-converted to display square miles if density_mi2 is empty.
|
| area_mi2 | optional | Area in square miles (a number, no units). Auto-converted to display square kilometers if density_km2 is empty.
|
| area_km2 | optional | Area in square kilometers (a number, no units). Auto-converted to display square miles if area_mi2 is empty.
|
| country | required | The country this metro area is in – there's at least one usage of this template for a non-US metro area |
| states | required | The state or states this metro area is in |
| highest_ft | optional | Elevation of the highest point in feet. Auto-converted to display meters if highest_m is empty.
|
| highest_m | optional | Elevation of the highest point in meters. Auto-converted to display feet if highest_ft is empty.
|
| lowest_ft | optional | Elevation of the lowest point in feet. Auto-converted to display meters if lowest_m is empty.
|
| lowest_m | optional | Elevation of the lowest point in meters. Auto-converted to display feet if lowest_ft is empty.
|
Example
|
[[File:|200px|center|Map of City metropolitan area]] | |
| Largest city | City, State |
| Other cities | Template:Ubl |
| Population | Ranked 42nd in the U.S. |
| - Total | 424242 |
| - Density | auto/sq. mi. /km² |
| Area | 402 sq. mi. km² |
| Country | {{{country}}} |
| State(s) | State |
| Elevation | |
| - Highest point | 4242 feet ( m) |
| - Lowest point | 42 feet ( m) |
{{Infobox U.S. metropolitan area
| MSA_name = Town-City, State metropolitan area
| name = City metropolitan area
| map =
| map_caption =
| largest_city = City, State <!--If it spans across U.S. states-->
| other_cities = {{ubl|City1|City2|City3|City4}}
| rank_us = 42nd
| population = 424242
| density_mi2 = auto
| density_km2 =
| area_mi2 = 402
| area_km2 =
| states = State
| highest_ft = 4242
| highest_m =
| lowest_ft = 42
| lowest_m =
}}
fr:Modèle:Infobox aire métropolitaine des États-Unis pt:Predefinição:Info/Área metropolitana dos Estados Unidos
| The above documentation is transcluded from Template:Infobox U.S. metropolitan area/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |