Template:Infobox U.S. state

From ModelUSGov Wiki
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]
{{{name}}}
{{{official_name}}}
Nickname(s): 
{{{nickname}}}
Motto(s): 
{{{motto}}}
Anthem: {{{anthem}}}
[[File:{{{image_map}}}|300px|alt={{{map_alt}}}|Map of the United States with {{{name}}} highlighted]]
Map of the United States with {{{name}}} highlighted
CountryUnited States
Before statehoodTerritory (country subdivision)
Capital{{{seat}}}
Largest city{{{LargestCity}}}
Largest metro{{{LargestMetro}}}
Government
 • Governor{{{Governor}}}
Legislature{{{Legislature}}}
U.S. senators{{{Senators}}}
U.S. House delegation{{{Representatives}}}
Area
 • Total{{{area_total_sq_mi}}} sq mi ({{{area_total_km2}}} km2)
Area rank{{{area_rank}}}
Dimensions
 • Length{{{length_mi}}} mi ({{{length_km}}} km)
 • Width{{{width_mi}}} mi ({{{width_km}}} km)
Elevation
{{{elevation_ft}}} ft ({{{elevation_m}}} m)
Highest elevation
({{{elevation_max_point}}})
{{{elevation_max_ft}}} ft ({{{elevation_max_m}}} m)
Lowest elevation
({{{elevation_min_point}}})
{{{elevation_min_ft}}} ft ({{{elevation_min_m}}} m)
Population
 ({{{population_as_of}}})
 • Total{{{2,010Pop}}}
 • Rank{{{population_rank}}}
 • Density rank{{{population_density_rank}}}
 • Median household income
{{{MedianHouseholdIncome}}}
 • Income rank
{{{IncomeRank}}}
Demonym(s){{{population_demonym}}}
Language
 • Official language{{{OfficialLang}}}
 • Spoken language{{{Languages}}}
Time zones
{{{timezone1_location}}}UTC{{{utc_offset1}}} ({{{timezone1}}})
 • Summer (DST)UTC{{{utc_offset1_DST}}} ({{{timezone1_DST}}})
{{{timezone2_location}}}UTC{{{utc_offset2}}} ({{{timezone2}}})
 • Summer (DST)UTC{{{utc_offset2_DST}}} ({{{timezone2_DST}}})
USPS abbreviation
{{{postal_code}}}
ISO 3166 code{{{iso_code}}}
Traditional abbreviation{{{TradAbbreviation}}}
Website{{{website}}}
{{{footnotes}}}

Usage[edit source]

{{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         =
| 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          = 
}}

Parameters[edit source]

The parameters below are required unless marked as optional.

Name[edit source]

  • 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[edit source]

  • 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).
  • 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[edit source]

  • 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[edit source]

  • 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[edit source]

  • Motto: (optional) state motto

Song[edit source]

  • StateAnthem: (optional) state song or anthem

Map[edit source]

  • 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[edit source]

  • 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[edit source]

Cities[edit source]

  • 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
  • LargestMetro: (optional) the largest metropolitan area (by population) in the state

Area[edit source]

  • 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[edit source]

Elevations[edit source]

  • 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[edit source]

Government[edit source]

  • 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[edit source]

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[edit source]

  • 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[edit source]

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. <templatedata> { "params": { "Seallink": { "label": "Link to seal's page", "description": "Link to the Wikipedia page of the state's seal", "type": "date" }, "OfficialLang": { "label": "Official language", "description": "The state's official language, if it has one", "example": "English", "type": "content" }, "Languages": { "label": "Languages spoken", "example": "Language spoken at home[1] * English: 58.1% * Spanish: 28.8% * Chinese: 3.0% * Filipino: 2.2% * Other: 7.9%", "type": "content" }, "LargestCity": { "label": "Largest city", "description": "The state's largest city by population", "example": "Los Angeles", "type": "wiki-page-name", "suggested": true }, "Capital": { "description": "The state's capital city", "example": "Sacramento", "type": "wiki-page-name", "required": true }, "LargestMetro": { "label": "Largest metropolitan area", "description": "The state's largest metropolitan area by population", "example": "Greater Los Angeles", "type": "string", "suggested": true }, "TotalAreaUS": {}, "WidthUS": {}, "Width": {}, "LengthUS": {}, "Length": {}, "PCWater": {}, "Latitude": {}, "Longitude": {}, "PopRank": { "aliases": [ "population_rank" ], "label": "Population rank", "example": "1st", "type": "string" }, "2010Pop": {}, "population_as_of": {}, "2000Pop": {}, "MedianHouseholdIncome": { "label": "Median household income", "example": "$71,805 (2017)[2]", "type": "content" }, "2010DensityUS": {}, "2000DensityUS": {}, "2010Density": {}, "2000Density": {}, "DensityRank": {}, "IncomeRank": {}, "HighestPoint": {}, "HighestElevUS": {}, "HighestElev": {}, "MeanElevUS": {}, "MeanElev": {}, "LowestPoint": {}, "LowestElev": {}, "LowestElevUS": {}, "Former": { "label": "Former name", "description": "The state's former name(s)", "example": "California Republic", "type": "string" }, "AdmittanceDate": { "label": "Admittance date", "description": "Date the state was admitted to the union", "type": "date" }, "AdmittanceOrder": { "label": "Admittance order", "type": "string" }, "Governor": { "example": "Gavin Newsom (D)", "type": "content" }, "Lieutenant Governor_alt": { "label": "Lieutenant Governor alt title", "type": "string" }, "Lieutenant Governor": { "example": "Eleni Kounalakis (D)", "type": "content", "suggested": true }, "Senate Pro Tem": {}, "House Speaker": {}, "Legislature": {}, "Upperchamber": { "aliases": [ "Upperhouse" ], "label": "Upper chamber", "description": "The state's upper legislative chamber", "example": "State Senate", "type": "content", "suggested": true }, "Lowerchamber": { "aliases": [ "Lowerhouse" ], "label": "Lower chamber", "description": "The state's lower legislative chamber", "example": "State Assembly", "type": "content", "suggested": true }, "Senators": { "description": "The state's Senators in the US Senate", "example": "Template:Ublist", "type": "content", "required": true }, "Representatives": { "description": "The state's number of representatives in the House of Representatives by political party", "example": "Template:Ublist", "type": "content", "required": true }, "timezone1": {}, "utc_offset1": {}, "timezone1_DST": {}, "utc_offset1_DST": {}, "timezone1_location": {}, "timezone2": {}, "utc_offset2": {}, "timezone2_DST": {}, "utc_offset2_DST": {}, "timezone2_location": {}, "PostalAbbreviation": { "label": "Postal abbreviation", "description": "Official 2-letter abbreviation of the state", "example": "CA", "type": "string" }, "TradAbbreviation": { "label": "Traditional abbreviation(s)", "description": "The state's traditional abbreviation(s)", "example": "Calif., Cal.", "type": "string" }, "official_name": { "label": "Official name", "example": "State of California", "type": "string", "suggested": true, "description": "The state's official name" }, "ElectoralVotes": { "label": "Electoral college votes", "description": "The number of votes the state has in the U.S. electoral college", "example": "55", "type": "number" }, "area_code": { "label": "Area codes", "description": "A list of the state's telephone area codes", "example": "209 213 310 323 408 415 510 530 559 562 619 626 650 661 707 714 760 805 818 831 858 909 916 925 949", "type": "string" }, "iso_code": { "label": "ISO code", "example": "US-CA", "type": "string" }, "website": { "label": "Official website", "description": "The state's official website", "example": "https://www.ca.gov/", "type": "url" }, "seal_alt": { "label": "Seal alternate text", "type": "string" }, "flag_link": { "label": "Link to flag's page", "description": "Link to the Wikipedia page of the state's flag", "example": "Flag of California", "type": "wiki-page-name" }, "image_seal": { "label": "Seal image", "description": "An image of the state's seal", "type": "wiki-file-name" }, "name": { "label": "Name", "description": "The state's name", "example": "California", "type": "string" }, "image_flag": { "label": "Flag image", "description": "An image of the state's flag", "example": "Flag of California.svg", "type": "wiki-file-name" }, "flag_alt": { "label": "Flag alternate text", "type": "string" }, "nickname": { "label": "State nickname", "description": "The state's nickname", "example": "The Golden State", "type": "string" }, "nicknames": { "label": "State nicknames", "description": "The state's nicknames, if there are more than one", "example": "The Constitution State (official), The Nutmeg State", "type": "content" }, "footnotes": { "label": "Footnotes", "type": "content" }, "map_alt": { "label": "Map alternate text", "type": "string" }, "image_map": { "label": "Map image", "example": "California in United States.svg", "type": "wiki-file-name" }, "anthem": { "label": "State anthem", "description": "The state's anthem",

"example": "\"I Love You, California\"
",

"type": "content" }, "motto": { "label": "State motto", "description": "The state's motto(s)", "example": "\"Eureka\"[3]", "type": "content" }, "population_demonym": { "label": "Demonym", "description": "What the state's residents are called", "example": "Californian", "type": "string", "suggested": true }, "area_rank": { "label": "Area rank", "example": "3rd", "type": "string" }, "total_area": { "label": "Total area", "type": "number" }, "module": { "label": "Module", "type": "string" } }, "format": "block", "description": "An infobox for States of the United States of America." } </templatedata>

  1. "Languages in California (State)". Statistical Atlas. Archived from the original on August 15, 2018. Retrieved August 15, 2018.
  2. "Median Annual Household Income". The Henry J. Kaiser Family Foundation. Retrieved May 19, 2018.
  3. "Chapter 2 of Division 2 of Title 1 of the California Government Code". California Office of Legislative Counsel. Retrieved February 23, 2019.