Difference between revisions of "Template:Infobox U.S. metropolitan area/doc"
Jump to navigation
Jump to search
imported>Jonesey95 (typo fix) |
imported>The Grid (Format infobox and "example" shown) |
||
| Line 4: | Line 4: | ||
== Usage == | == Usage == | ||
| + | Please see the [[Template:Infobox settlement/doc|documentation subpage]] for [[Template:Infobox settlement]] for general information of what this template does. | ||
| + | |||
{{Infobox U.S. metropolitan area | {{Infobox U.S. metropolitan area | ||
| MSA_name = {{{MSA_name}}} | | MSA_name = {{{MSA_name}}} | ||
| Line 15: | Line 17: | ||
| density_mi2 = {{{density_mi2}}} | | density_mi2 = {{{density_mi2}}} | ||
| density_km2 = {{{density_km2}}} | | density_km2 = {{{density_km2}}} | ||
| − | | area_mi2 = {{{area_mi2}}} | + | | area_mi2 = {{{area_mi2|0}}} |
| area_km2 = {{{area_km2}}} | | area_km2 = {{{area_km2}}} | ||
| states = {{{states}}} | | states = {{{states}}} | ||
| Line 44: | Line 46: | ||
}} | }} | ||
</pre> | </pre> | ||
| − | + | {{clear}} | |
| − | == | + | ==Parameter names and descriptions== |
| − | ; | + | {| class="wikitable" style="background: white" |
| − | : | + | |- style="background: whitesmoke;" |
| − | ; name | + | ! Parameter name !! Usage !! Description |
| − | + | |- style="vertical-align:top;" | |
| − | ; map | + | | '''MSA_name''' || required || The name that appears on the top of the infobox |
| − | + | |- style="vertical-align:top;" | |
| − | ; map_caption '' | + | | '''name''' || required || The common name of the metro area |
| − | + | |- style="vertical-align:top;" | |
| − | ; largest_city | + | | '''map''' || optional || The name of an image to use as a map of the area; <code>map = Example.jpg</code> |
| − | + | |- style="vertical-align:top;" | |
| − | ; other_cities | + | | '''map_caption''' || optional || Optional caption text to display below the image |
| − | + | |- style="vertical-align:top;" | |
| − | ; coordinates '' | + | | '''largest_city''' || optional || The most populous city in the metro area |
| − | + | |- style="vertical-align:top;" | |
| − | ; rank_us '' | + | | '''other_cities''' || optional || Other cities in the metro area |
| − | + | |- style="vertical-align:top;" | |
| − | ; population | + | | '''coordinates''' || optional || geographic coordinates |
| − | + | |- style="vertical-align:top;" | |
| − | ; density_mi2 '' | + | | '''rank_us''' || optional || Where this metro area ranks in [[List of metropolitan statistical areas]]; example: {{para|rank_us|5th}} |
| − | ; | + | |- style="vertical-align:top;" |
| − | + | | '''population''' || optional || Total population of the metro area | |
| − | ; | + | |- style="vertical-align:top;" |
| − | + | | '''density_mi2''' || optional || Population density in square miles. Auto-converted to display square kilometers if <code>density_km2</code> is empty. | |
| − | + | |- style="vertical-align:top;" | |
| − | ; country | + | | '''density_km2''' || optional || Population density in square kilometers. Auto-converted to display square miles if <code>density_mi2</code> is empty. |
| − | + | |- style="vertical-align:top;" | |
| − | ; states | + | | '''area_mi2''' || optional || Area in square miles (a number, no units). Auto-converted to display square kilometers if <code>density_km2</code> is empty. |
| − | + | |- style="vertical-align:top;" | |
| − | ; highest_ft | + | | '''area_km2''' || optional || Area in square kilometers (a number, no units). Auto-converted to display square miles if <code>area_mi2</code> is empty. |
| − | ; highest_m | + | |- style="vertical-align:top;" |
| − | : | + | | '''country''' || required || The country this metro area is in – there's at least one usage of this template for a non-US metro area |
| − | ; | + | |- style="vertical-align:top;" |
| − | + | | '''states''' || required || The state or states this metro area is in | |
| − | + | |- style="vertical-align:top;" | |
| − | + | | '''highest_ft''' || optional || Elevation of the highest point in feet. Auto-converted to display meters if <code>highest_m</code> is empty. | |
| + | |- style="vertical-align:top;" | ||
| + | | '''highest_m''' || optional || Elevation of the highest point in meters. Auto-converted to display feet if <code>highest_ft</code> is empty. | ||
| + | |- style="vertical-align:top;" | ||
| + | | '''lowest_ft''' || optional || Elevation of the lowest point in feet. Auto-converted to display meters if <code>lowest_m</code> is empty. | ||
| + | |- style="vertical-align:top;" | ||
| + | | '''lowest_m''' || optional || Elevation of the lowest point in meters. Auto-converted to display feet if <code>lowest_ft</code> is empty. | ||
| + | |} | ||
<includeonly> | <includeonly> | ||
<!-- Categories and interwikis go here: --> | <!-- Categories and interwikis go here: --> | ||
Revision as of 14:54, 24 June 2019
| This is a documentation subpage for Template:Infobox U.S. metropolitan area. It contains usage information, categories and other content that is not part of the original template page. |
Template:Uses Infobox settlement
Usage
Please see the documentation subpage for Template:Infobox settlement for general information of what this template does.
[[Category:Template:Pagetype with short description]]
Script error: No such module "If empty". | |
|---|---|
| Population | {{{population}}} |
| Script error: No such module "If empty". | |
| Script error: No such module "If empty". | |
{{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.
|