Template:Infobox U.S. state/doc
File:Edit-copy green.svg | This is a documentation subpage for Template:Infobox U.S. state. It contains usage information, categories and other content that is not part of the original template page. |
File:Ambox warning yellow.svg | This template is a customized wrapper for {{Infobox settlement}} and as such included in Category:Templates calling Infobox settlement. Any field from {{Infobox settlement}} can work so long as it is added to this template first. It will also emit the same hCard and Geo microformats as {{Infobox settlement}} . Questions? Just ask here or over at Template talk:Infobox settlement. |
Script error: No such module "Parameter names example".
Usage
{{Infobox U.S. state | official_name = | name = | image_flag = | flag_alt = | image_seal = | seal_alt = | nickname = | motto = | anthem = | image_map = | map_alt = | seat = | LargestCity = <!-- Set this to "capital" if the capital and the largest city are the same. --> | LargestMetro = | area_rank = | area_total_sq_mi = | area_total_km2 = | area_water_percent = | elevation_m = | elevation_ft = | elevation_max_m = | elevation_max_ft = | elevation_max_point= | elevation_min_m = | elevation_min_ft = | elevation_min_point= | length_km = | length_mi = | width_km = | width_mi = | Latitude = | Longitude = | population_rank = | population_demonym = | OfficialLang = | Languages = | 2010Pop = | population_as_of = | 2010DensityUS = | 2010Density = | DensityRank = | MedianHouseholdIncome = | IncomeRank = | HDI_year = | HDI = | HDI_rank = | Former = | AdmittanceDate = | AdmittanceOrder = | Governor = | Lieutenant Governor = | Lieutenant Governor_alt = <!-- OPTIONAL. For states w/o Lieutenant Governor, the title of the next in line of succession --> | Senate President Pro Tempore = | Speaker of the House of Representatives = | Legislature = | Upperchamber = | Lowerchamber = | Senators = | Representatives = | timezone1 = | utc_offset1 = | timezone1_DST = | utc_offset1_DST = | timezone1_location = | timezone2 = | utc_offset2 = | timezone2_DST = | utc_offset2_DST = | timezone2_location = | iso_code = | postal_code = | TradAbbreviation = | website = <!-- OPTIONAL. Do NOT include http:// or trailing / Ex: www.example.com NOT http://www.example.com/ --> | module = | footnotes = }}
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | no description | Unknown | optional |
official_name | official_name | no description | Unknown | optional |
native_name | native_name | no description | Unknown | optional |
type | type | no description | Unknown | optional |
image_flag | image_flag | no description | Unknown | optional |
flag_border | flag_border | no description | Unknown | optional |
flag_size | flag_size | no description | Unknown | optional |
flag_alt | flag_alt | no description | Unknown | optional |
flag_link | flag_link | no description | Unknown | optional |
image_seal | image_seal | no description | Unknown | optional |
seal_size | seal_size | no description | Unknown | optional |
seal_alt | seal_alt | no description | Unknown | optional |
seal_link | seal_link | no description | Unknown | optional |
etymology | etymology | no description | Unknown | optional |
nickname | nickname | no description | Unknown | optional |
nicknames | nicknames | no description | Unknown | optional |
motto | motto | no description | Unknown | optional |
anthem | anthem | no description | Unknown | optional |
image_map | image_map | no description | Unknown | optional |
map_alt | map_alt | no description | Unknown | optional |
Former | Former | no description | Unknown | optional |
AdmittanceDate | AdmittanceDate | no description | Unknown | optional |
AdmittanceOrder | AdmittanceOrder | no description | Unknown | optional |
LargestCity | LargestCity | no description | Unknown | optional |
seat | seat | no description | Unknown | optional |
LargestMetro | LargestMetro | no description | Unknown | optional |
government_footnotes | government_footnotes | no description | Unknown | optional |
Governor | Governor | no description | Unknown | optional |
Lieutenant Governor_alt | Lieutenant Governor_alt | no description | Unknown | optional |
Lieutenant Governor | Lieutenant Governor | no description | Unknown | optional |
Legislature | Legislature | no description | Unknown | optional |
Upperhouse | Upperhouse | no description | Unknown | optional |
Lowerhouse | Lowerhouse | no description | Unknown | optional |
Judiciary | Judiciary | no description | Unknown | optional |
Senators | Senators | no description | Unknown | optional |
Representative | Representative | no description | Unknown | optional |
area_footnotes | area_footnotes | no description | Unknown | optional |
area_total_km2 | area_total_km2 | no description | Unknown | optional |
area_total_sq_mi | area_total_sq_mi | no description | Unknown | optional |
area_land_km2 | area_land_km2 | no description | Unknown | optional |
area_land_sq_mi | area_land_sq_mi | no description | Unknown | optional |
area_water_km2 | area_water_km2 | no description | Unknown | optional |
area_water_sq_mi | area_water_sq_mi | no description | Unknown | optional |
area_water_percent | area_water_percent | no description | Unknown | optional |
area_rank | area_rank | no description | Unknown | optional |
dimensions_footnotes | dimensions_footnotes | no description | Unknown | optional |
length_km | length_km | no description | Unknown | optional |
length_mi | length_mi | no description | Unknown | optional |
width_km | width_km | no description | Unknown | optional |
width_mi | width_mi | no description | Unknown | optional |
elevation_footnotes | elevation_footnotes | no description | Unknown | optional |
elevation_m | elevation_m | no description | Unknown | optional |
elevation_ft | elevation_ft | no description | Unknown | optional |
elevation_max_footnotes | elevation_max_footnotes | no description | Unknown | optional |
elevation_max_m | elevation_max_m | no description | Unknown | optional |
elevation_max_ft | elevation_max_ft | no description | Unknown | optional |
elevation_max_point | elevation_max_point | no description | Unknown | optional |
elevation_min_m | elevation_min_m | no description | Unknown | optional |
elevation_min_ft | elevation_min_ft | no description | Unknown | optional |
elevation_min_point | elevation_min_point | no description | Unknown | optional |
2020Pop | 2020Pop | no description | Unknown | optional |
2010Pop | 2010Pop | no description | Unknown | optional |
2000Pop | 2000Pop | no description | Unknown | optional |
population_as_of | population_as_of | no description | Unknown | optional |
population_rank | population_rank | no description | Unknown | optional |
2020Density | 2020Density | no description | Unknown | optional |
2010Density | 2010Density | no description | Unknown | optional |
2000Density | 2000Density | no description | Unknown | optional |
2020DensityUS | 2020DensityUS | no description | Unknown | optional |
2010DensityUS | 2010DensityUS | no description | Unknown | optional |
2000DensityUS | 2000DensityUS | no description | Unknown | optional |
population_density_rank | population_density_rank | no description | Unknown | optional |
MedianHouseholdIncome | MedianHouseholdIncome | no description | Unknown | optional |
IncomeRank | IncomeRank | no description | Unknown | optional |
HDI_year | HDI_year | no description | Unknown | optional |
HDI | HDI | no description | Unknown | optional |
HDI_rank | HDI_rank | no description | Unknown | optional |
population_demonym | population_demonym | no description | Unknown | optional |
OfficialLangs | OfficialLangs | no description | Unknown | optional |
OfficialLang | OfficialLang | no description | Unknown | optional |
Languages | Languages | no description | Unknown | optional |
timezone1 | timezone1 | no description | Unknown | optional |
utc_offset1 | utc_offset1 | no description | Unknown | optional |
timezone1_DST | timezone1_DST | no description | Unknown | optional |
utc_offset1_DST | utc_offset1_DST | no description | Unknown | optional |
timezone1_location | timezone1_location | no description | Unknown | optional |
timezone2 | timezone2 | no description | Unknown | optional |
utc_offset2 | utc_offset2 | no description | Unknown | optional |
timezone2_DST | timezone2_DST | no description | Unknown | optional |
utc_offset2_DST | utc_offset2_DST | no description | Unknown | optional |
timezone2_location | timezone2_location | no description | Unknown | optional |
postal_code | postal_code | no description | Unknown | optional |
iso_code | iso_code | no description | Unknown | optional |
TradAbbreviation | TradAbbreviation | no description | Unknown | optional |
Latitude | Latitude | no description | Unknown | optional |
Longitude | Longitude | no description | Unknown | optional |
website | website | no description | Unknown | optional |
footnotes | footnotes | no description | Unknown | optional |
module | module | no description | Unknown | optional |
Parameters
The parameters below are required unless marked as optional.
Name
- Name: the common name of the state
- Fullname: the full name of the state (such as "State of California" or "Commonwealth of Pennsylvania")
- Nickname: one or more nicknames for the state, usually separated by semicolons
Flag
- Flag: file name of the state flag image; example:
|Flag=Flag of California.svg
- A small border is drawn around the flag unless
|flag_border=no
is set (for e.g.|Name=Ohio
, which is the only state with a non-rectangular flag).
- A small border is drawn around the flag unless
- FlagAlt: (optional) alt-text for the flag image; if unspecified, the alt-text defaults to "Flag of Name"
- Flaglink: (optional) a link to an article about the state's flag; if unspecified, the link defaults to "[[Flag of Name|Flag]]"
Seal
- Seal: file name of the state seal image; example:
|Seal=Seal of California.svg
- SealAlt: (optional) alt-text for the seal image; if unspecified, the alt-text defaults to "State seal of Name"
- Seallink: (optional) a link to an article about the state's seal; if unspecified, the link defaults to "[[Seal of Name|Seal]]"
Emblem
- image_blank_emblem: file name of the relevant image; example:
|image_blank_emblem=Coat of arms of Mississippi.svg
- blank_emblem_link (optional): the link to the relevant article in plain text with no wikitext markup, example:
|blank_emblem_link=Coat of arms of Mississippi
. - blank_emblem_type (mandatory if "image_blank_emblem" is used): the type of emblem (e.g. coat of arms), example:
|blank_emblem_type=Coat of arms
. Can also be used with wikitext markup, in which case "blank_emblem_link" should not be used, example:|blank_emblem_type=[[Coat of arms of Mississippi|Coat of arms]]
.
Motto
- Motto: (optional) state motto
Song
- StateAnthem: (optional) state song or anthem
Map
- Map: file name of a map highlighting the state; example:
|Map=California in United States.svg
- MapAlt: (optional) alt-text for the map image; if unspecified, the alt-text defaults to "Map of the United States with Name highlighted"
Languages
- OfficialLang: (optional) the state's official language(s)
- Languages: (optional) language(s) with a significant number of speakers in the state; often listed with a percentage, such as "English 94.6%, Spanish 5.9%"
Demonym
- Demonym: (optional) the name for residents of the state; in some cases editors have linked these terms to List of demonyms for U.S. states
Cities
- Capital: the state's capital city
- LargestCity: the largest city (by population) in the state
- Specify
|LargestCity=capital
if the capital is also the largest city
- Specify
- LargestMetro: (optional) the largest metropolitan area and urban areas (by population) in the state
Area
- AreaRank: where the state ranks on List of U.S. states and territories by area; example:
|AreaRank=5th
- TotalAreaUS: land + water area in square miles (usually rounded to a whole number)
- TotalArea: land + water area in square kilometers (usually rounded to a whole number)
- WidthUS: width of the state in miles (usually rounded to a whole number or approximated to the tens place, such as "360")
- Width: width of the state in kilometers (usually rounded to a whole number or approximated to the tens place, such as "580")
- LengthUS: length of the state in miles (usually rounded to a whole number or approximated to the tens place, such as "360")
- Length: length of the state in kilometers (usually rounded to a whole number or approximated to the tens place, such as "580")
- PCWater: percent of total area that is water; example:
|PCWater=3.2
- Latitude: range of latitudes in the state, usually given in degrees and minutes from the southernmost to the northernmost parallel
- example:
|Latitude=25° 50′ N to 36° 30′ N
- Longitude: range of longitudes in the state, usually given in degrees and minutes from the easternmost to the westernmost meridian
- example:
|Longitude=93° 31′ W to 106° 39′ W
Population
- PopRank: where the state ranks on List of U.S. states and territories by population; example:
|PopRank=25th
- 2020Pop: the most recent U.S. Census population for the state; most states list the most-recent population estimate
- population_as_of: The year for the population
- 2020DensityUS: most recent population ÷ land area in square miles
- 2020Density: most recent population ÷ land area in square km
- DensityRank: where the state ranks on List of U.S. states by population density; example:
|DensityRank=33rd
- MedianHouseholdIncome: (optional) see Household income in the United States#Income by state
- IncomeRank: where the state ranks on Household income in the United States#Income by state
- HDIYear: year from which state HDI is taken
- HDI: value for state HDI
- HDIRank: rank of state by HDI value
- 2000Pop/2010Pop: 2000/2010 population for the state
- Overridden by 2020Pop.
- 2000DensityUS/2010DensityUS: 2000/2010 population ÷ land area in square miles
- Overridden by 2020DensityUS.
- 2000Density/2010Density: 2000/2010 population ÷ land area in square km
- Overridden by 2020Density.
Elevations
- HighestPoint: text naming the location of the highest point in the state; usually it's the name of a mountain or hill
- HighestElevUS: elevation of the highest point in feet
- HighestElev: elevation of the highest point in meters
- MeanElevUS: mean elevation of the state in feet
- MeanElev: mean elevation of the state in meters
- LowestPoint: (optional) text naming the location of the lowest point in the state; usually it's the name of a body of water
- LowestElevUS: elevation of the lowest point in feet
- LowestElev: elevation of the lowest point in meters
History
- Former: (optional) the article name for the place before it became a state; example (for Oregon):
|Former=Oregon Territory
- AdmittanceDate: the date the state joined the U.S.
- AdmittanceOrder: the rank among List of U.S. states by date of admission to the Union
Government
- Governor: the name and party of the current governor
- Lieutenant Governor: the name and party of the current Lt. Governor/next-in-succession
- Lieutenant Governor_alt: (optional, defaults to "Lieutenant Governor") the name of the title that succeeds the Governor; several states have no Lt. Gov. and instead their Secretary of State or President of the Senate is next in succession
- Senate President Pro Tempore: the name and party of the current Senate President/leader of the upper legislative chamber
- Speaker of the House of Representatives: the name and party of the current House Speaker/leader of the lower legislative chamber
- Legislature: a link to the article about the state's legislature; example:
|Legislature=[[New Mexico Legislature]]
- Upperchamber: a link to the article about the state's upper legislative chamber; example:
|Upperchamber=[[Wisconsin State Senate|Senate]]
- Lowerchamber: a link to the article about the state's lower legislative chamber; example:
|Lowerchamber=[[Wisconsin State Assembly|State Assembly]]
- Senators: the two U.S. Senators from the state, listed by name and party; the two are separated by a linebreak <br />
- Representatives: (optional) text that appears before the link to the list of delegates to the House of Representatives
- Most states tally the number of Representatives per party (example:
|Representative=6 Democrats, 6 Republicans
). States with only a few Representatives usually list the people by name.
Time zones
If timezone2 is specified, the time zone section will consist of four rows and the location for timezone1 and timezone2 should be specified.
Other information
- ISOCode: (optional) the ISO 3166-2:US code for the state
- PostalAbbreviation: (optional) the state's current standard postal abbreviation
- TradAbbreviation: (optional) common traditional abbreviations for the state
- Website: (optional) an official URL for the state
- module: (optional) used to insert other infobox
- Footnotes: (optional) where footnotes can be placed
- As of 2013, only Rhode Island uses this parameter.
Microformat
The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.
If the place or venue has an "established", "founded", "opened" or similar date that is specific to the day, use {{start date}} unless the date is before 1583 CE. If it has a URL, use {{URL}}.
hCard uses HTML classes including:
- adr
- category
- country-name
- extended-address
- fn
- label
- locality
- nickname
- note
- org
- street-address
- url
- vcard
Please do not rename or remove these classes nor collapse nested elements which use them.
An infobox for States of the United States of America.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Link to seal's page | Seallink | Link to the Wikipedia page of the state's seal | Date | optional |
Official language | OfficialLang | The state's official language, if it has one
| Content | optional |
Languages spoken | Languages | no description
| Content | optional |
Largest city | LargestCity | The state's largest city by population
| Page name | suggested |
Capital | Capital | The state's capital city
| Page name | required |
Largest metropolitan area | LargestMetro | The state's largest metropolitan area and urban area by population
| String | suggested |
TotalAreaUS | TotalAreaUS | no description | Unknown | optional |
WidthUS | WidthUS | no description | Unknown | optional |
Width | Width | no description | Unknown | optional |
LengthUS | LengthUS | no description | Unknown | optional |
Length | Length | no description | Unknown | optional |
PCWater | PCWater | no description | Unknown | optional |
Latitude | Latitude | no description | Unknown | optional |
Longitude | Longitude | no description | Unknown | optional |
Population rank | PopRank population_rank | no description
| String | optional |
2010Pop | 2010Pop | no description | Unknown | optional |
population_as_of | population_as_of | no description | Unknown | optional |
2000Pop | 2000Pop | no description | Unknown | optional |
Median household income | MedianHouseholdIncome | no description
| Content | optional |
2010DensityUS | 2010DensityUS | no description | Unknown | optional |
2000DensityUS | 2000DensityUS | no description | Unknown | optional |
2010Density | 2010Density | no description | Unknown | optional |
2000Density | 2000Density | no description | Unknown | optional |
DensityRank | DensityRank | no description | Unknown | optional |
IncomeRank | IncomeRank | no description | Unknown | optional |
HighestPoint | HighestPoint | no description | Unknown | optional |
HighestElevUS | HighestElevUS | no description | Unknown | optional |
HighestElev | HighestElev | no description | Unknown | optional |
MeanElevUS | MeanElevUS | no description | Unknown | optional |
MeanElev | MeanElev | no description | Unknown | optional |
LowestPoint | LowestPoint | no description | Unknown | optional |
LowestElev | LowestElev | no description | Unknown | optional |
LowestElevUS | LowestElevUS | no description | Unknown | optional |
Former name | Former | The state's former name(s)
| String | optional |
Admittance date | AdmittanceDate | Date the state was admitted to the union | Date | optional |
Admittance order | AdmittanceOrder | no description | String | optional |
Governor | Governor | no description
| Content | optional |
Lieutenant Governor alt title | Lieutenant Governor_alt | no description | String | optional |
Lieutenant Governor | Lieutenant Governor | no description
| Content | suggested |
Senate Pro Tem | Senate Pro Tem | no description | Unknown | optional |
House Speaker | House Speaker | no description | Unknown | optional |
Legislature | Legislature | no description | Unknown | optional |
Upper chamber | Upperchamber Upperhouse | The state's upper legislative chamber
| Content | suggested |
Lower chamber | Lowerchamber Lowerhouse | The state's lower legislative chamber
| Content | suggested |
Senators | Senators | The state's Senators in the US Senate
| Content | required |
Representatives | Representatives | The state's number of representatives in the House of Representatives by political party
| Content | required |
timezone1 | timezone1 | no description | Unknown | optional |
utc_offset1 | utc_offset1 | no description | Unknown | optional |
timezone1_DST | timezone1_DST | no description | Unknown | optional |
utc_offset1_DST | utc_offset1_DST | no description | Unknown | optional |
timezone1_location | timezone1_location | no description | Unknown | optional |
timezone2 | timezone2 | no description | Unknown | optional |
utc_offset2 | utc_offset2 | no description | Unknown | optional |
timezone2_DST | timezone2_DST | no description | Unknown | optional |
utc_offset2_DST | utc_offset2_DST | no description | Unknown | optional |
timezone2_location | timezone2_location | no description | Unknown | optional |
Postal abbreviation | PostalAbbreviation | Official 2-letter abbreviation of the state
| String | optional |
Traditional abbreviation(s) | TradAbbreviation | The state's traditional abbreviation(s)
| String | optional |
Official name | official_name | The state's official name. Use only when not of the form 'State of X'
| String | optional |
Area codes | area_code | A list of the state's telephone area codes
| String | optional |
ISO code | iso_code | no description
| String | optional |
Official website | website | The state's official website
| URL | optional |
Seal alternate text | seal_alt | no description | String | optional |
Link to flag's page | flag_link | Link to the Wikipedia page of the state's flag
| Page name | optional |
Seal image | image_seal | An image of the state's seal | File | optional |
Name | name | The state's name
| String | optional |
Flag image | image_flag | An image of the state's flag
| File | optional |
Flag alternate text | flag_alt | no description | String | optional |
State nickname | nickname | The state's nickname
| String | optional |
State nicknames | nicknames | The state's nicknames, if there are more than one
| Content | optional |
Footnotes | footnotes | no description | Content | optional |
Map alternate text | map_alt | no description | String | optional |
Map image | image_map | no description
| File | optional |
State anthem | anthem | The state's anthem
| Content | optional |
State motto | motto | The state's motto(s)
| Content | optional |
Demonym | population_demonym | What the state's residents are called
| String | suggested |
Area rank | area_rank | no description
| String | optional |
Total area | total_area | no description | Number | optional |
Module | module | no description | String | optional |