Template:Infobox U.R. state/doc

< Template:Infobox U.R. state
Revision as of 13:38, 27 September 2023 by Helvianir (talk | contribs) (Created page with "{{Documentation subpage}} {{Lua|Module:Infobox|Module:InfoboxImage|Module:Coordinates|Module:Check for unknown parameters|Module:Settlement short description}} <!-- Please pla...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
{{{name}}}
{{{official_name}}}
[[File:{{{image_flag}}}|125px|alt={{{flag_alt}}}|border|Flag of {{{name}}}]]
[[File:{{{image_seal}}}|100x100px|alt={{{seal_alt}}}|Official seal of {{{name}}}]]
Nickname
{{{nickname}}}
Motto
{{{motto}}}
Anthem: {{{anthem}}}
[[File:{{{image_map}}}|300px|alt={{{map_alt}}}|Map of the United Republic of Aurelia with {{{name}}} highlighted]]
Map of the United Republic of Aurelia with {{{name}}} highlighted
CountryUnited Republic of Aurelia
Before statehoodTerritory
Admitted to the Union{{{AdmittanceDate}}} ({{{AdmittanceOrder}}})
Capital{{{seat}}}
Largest city{{{LargestCity}}}
Largest county or equivalent{{{LargestCounty}}}
Largest metro and urban areas{{{LargestMetro}}}
Government
 • [[Governor of {{{name}}}|Governor]]{{{Governor}}}
 • [[Lieutenant Governor of {{{name}}}|{{{Lieutenant Governor_alt}}}]]{{{Lieutenant Governor}}}
Legislature{{{Legislature}}}
 • Upper house{{{Upperhouse}}}
 • Lower house{{{Lowerhouse}}}
[[List of United Republic senators from {{{name}}}|U.R. senators]]{{{Senators}}}
[[List of United Republic representatives from {{{name}}}|U.R. House delegation]]{{{Representative}}} ([[United Republic congressional delegations from {{{name}}}|list]])
Area
 • Total{{{area_total_sq_mi}}} sq mi ({{{area_total_km2}}} km2)
 • 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}}}
  • Rank{{{population_density_rank}}}
 • Median household income
{{{MedianHouseholdIncome}}}
 • Income rank
{{{IncomeRank}}}
Demonym{{{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}}})
URPS abbreviation
{{{postal_code}}}
ISO 3166 code{{{iso_code}}}
Traditional abbreviation{{{TradAbbreviation}}}
Latitude{{{Latitude}}}
Longitude{{{Longitude}}}
Website&#123;&#123;&#123;website&#125;&#125;&#125;
{{{footnotes}}}

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       = 
| LargestCounty      = 
| 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 -->
| Legislature        = 
| Upperchamber       = 
| Lowerchamber       = 
| Senators           = 
| Representative     = 
| 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

The parameters below are required unless marked as optional.

Name

  • name: the common name of the state
  • official_name: 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

  • image_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).
  • flag_alt: (optional) alt-text for the flag image; if unspecified, the alt-text defaults to "Flag of Name"
  • flag_link: (optional) a link to an article about the state's flag; if unspecified, the link defaults to "[[Flag of Name|Flag]]"

Seal

  • image_seal: file name of the state seal image; example: |Seal=Seal of California.svg
  • seal_alt: (optional) alt-text for the seal image; if unspecified, the alt-text defaults to "State seal of Name"
  • seal_link: (optional) a link to an article about the state's seal; if unspecified, the link defaults to "[[Seal of Name|Seal]]"

Motto

  • motto: (optional) state motto

Song

  • anthem: (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

Cities and county

  • seat: 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 and urban areas (by population) in the state
  • LargestCounty: (optional) the largest county or county equivalent (by population).

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)
  • width_mi: width of the state in miles (usually rounded to a whole number or approximated to the tens place, such as "360")
  • width_km: width of the state in kilometers (usually rounded to a whole number or approximated to the tens place, such as "580")
  • length_mi: length of the state in miles (usually rounded to a whole number or approximated to the tens place, such as "360")
  • length_km: length of the state in kilometers (usually rounded to a whole number or approximated to the tens place, such as "580")
  • area_water_percent: percent of total area that is water; example: |area_water_percent=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

Elevations

  • elevation_max_point: text naming the location of the highest point in the state; usually it's the name of a mountain or hill
  • elevation_max_ft: elevation of the highest point in feet
  • elevation_max_m: elevation of the highest point in meters
  • elevation_ft: mean elevation of the state in feet
  • elevation_m: mean elevation of the state in meters
  • elevation_min_point: (optional) text naming the location of the lowest point in the state; usually it's the name of a body of water
  • elevation_min_ft: elevation of the lowest point in feet
  • elevation_min_m: elevation of the lowest point in meters

History

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
  • 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 />
  • Representative: (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
  • postal_code: (optional) the state's current standard two-letter 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

Maintenance categories

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.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See the monthly parameter usage report for this template.

TemplateData for Infobox U.R. state

An infobox for States of the United States of America.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Link to seal's pageSeallink

Link to the Wikipedia page of the state's seal

Dateoptional
Official languageOfficialLang

The state's official language, if it has one

Example
[[Template:Official languages of U.S. states and territories|English]]
Contentoptional
Languages spokenLanguages

no description

Example
Language spoken at home<ref name="StatisticalAtlas">{{cite web |url= https://statisticalatlas.com/state/California/Languages|title=Languages in California (State)|work=Statistical Atlas|access-date=August 15, 2018|archive-url= https://web.archive.org/web/20180815233304/https://statisticalatlas.com/state/California/Languages|archive-date=August 15, 2018|url-status=live}}</ref> * [[English language|English]]: 58.1% * [[Spanish language|Spanish]]: 28.8% * [[Chinese language|Chinese]]: 3.0% * [[Filipino language|Filipino]]: 2.2% * Other: 7.9%
Contentoptional
Largest cityLargestCity

The state's largest city by population

Example
Los Angeles
Page namesuggested
CapitalCapital

The state's capital city

Example
Sacramento
Page namerequired
Largest metropolitan areaLargestMetro

The state's largest metropolitan area and urban area by population

Example
[[Greater Los Angeles]]
Stringsuggested
Largest countyLargestCounty

The state's largest county or county equivalent (by population)

Example
[[Los Angeles County, California]]
Stringsuggested
TotalAreaUSTotalAreaUS

no description

Unknownoptional
WidthUSWidthUS

no description

Unknownoptional
WidthWidth

no description

Unknownoptional
LengthUSLengthUS

no description

Unknownoptional
LengthLength

no description

Unknownoptional
PCWaterPCWater

no description

Unknownoptional
LatitudeLatitude

no description

Unknownoptional
LongitudeLongitude

no description

Unknownoptional
Population rankPopRank population_rank

no description

Example
1st
Stringoptional
2010Pop2010Pop

no description

Unknownoptional
population_as_ofpopulation_as_of

no description

Unknownoptional
2000Pop2000Pop

no description

Unknownoptional
Median household incomeMedianHouseholdIncome

no description

Example
$71,805 (2017)<ref>{{cite web |url= http://kff.org/other/state-indicator/median-annual-income/?currentTimeframe=0 |website=The Henry J. Kaiser Family Foundation |title=Median Annual Household Income |access-date=May 19, 2018}}</ref>
Contentoptional
2010DensityUS2010DensityUS

no description

Unknownoptional
2000DensityUS2000DensityUS

no description

Unknownoptional
2010Density2010Density

no description

Unknownoptional
2000Density2000Density

no description

Unknownoptional
DensityRankDensityRank

no description

Unknownoptional
IncomeRankIncomeRank

no description

Unknownoptional
HighestPointHighestPoint

no description

Unknownoptional
HighestElevUSHighestElevUS

no description

Unknownoptional
HighestElevHighestElev

no description

Unknownoptional
MeanElevUSMeanElevUS

no description

Unknownoptional
MeanElevMeanElev

no description

Unknownoptional
LowestPointLowestPoint

no description

Unknownoptional
LowestElevLowestElev

no description

Unknownoptional
LowestElevUSLowestElevUS

no description

Unknownoptional
Former nameFormer

The state's former name(s)

Example
[[California Republic]]
Stringoptional
Admittance dateAdmittanceDate

Date the state was admitted to the union

Dateoptional
Admittance orderAdmittanceOrder

no description

Stringoptional
GovernorGovernor

no description

Example
{{nowrap|[[Gavin Newsom]] ([[Democratic Party (United States)|D]])}}
Contentoptional
Lieutenant Governor alt titleLieutenant Governor_alt

no description

Stringoptional
Lieutenant GovernorLieutenant Governor

no description

Example
{{nowrap|[[Eleni Kounalakis]] (D)}}
Contentsuggested
Senate Pro TemSenate Pro Tem

no description

Unknownoptional
House SpeakerHouse Speaker

no description

Unknownoptional
LegislatureLegislature

no description

Unknownoptional
Upper chamberUpperchamber Upperhouse

The state's upper legislative chamber

Example
[[California State Senate|State Senate]]
Contentsuggested
Lower chamberLowerchamber Lowerhouse

The state's lower legislative chamber

Example
[[California State Assembly|State Assembly]]
Contentsuggested
SenatorsSenators

The state's Senators in the US Senate

Example
{{ublist|[[Dianne Feinstein]] (D)|[[Kamala Harris]] (D)}}
Contentrequired
RepresentativesRepresentatives

The state's number of representatives in the House of Representatives by political party

Example
{{ublist|46 Democrats|7 Republicans}}
Contentrequired
timezone1timezone1

no description

Unknownoptional
utc_offset1utc_offset1

no description

Unknownoptional
timezone1_DSTtimezone1_DST

no description

Unknownoptional
utc_offset1_DSTutc_offset1_DST

no description

Unknownoptional
timezone1_locationtimezone1_location

no description

Unknownoptional
timezone2timezone2

no description

Unknownoptional
utc_offset2utc_offset2

no description

Unknownoptional
timezone2_DSTtimezone2_DST

no description

Unknownoptional
utc_offset2_DSTutc_offset2_DST

no description

Unknownoptional
timezone2_locationtimezone2_location

no description

Unknownoptional
Postal abbreviationPostalAbbreviation

Official 2-letter abbreviation of the state

Example
CA
Stringoptional
Traditional abbreviation(s)TradAbbreviation

The state's traditional abbreviation(s)

Example
Calif., Cal.
Stringoptional
Official nameofficial_name

The state's official name. Use only when not of the form 'State of X'

Example
Commonwealth of Virginia
Stringoptional
Area codesarea_code

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
Stringoptional
ISO codeiso_code

no description

Example
US-CA
Stringoptional
Official websitewebsite

The state's official website

Example
https://www.ca.gov/
URLoptional
Seal alternate textseal_alt

no description

Stringoptional
Link to flag's pageflag_link

Link to the Wikipedia page of the state's flag

Example
Flag of California
Page nameoptional
Seal imageimage_seal

An image of the state's seal

Fileoptional
Namename

The state's name

Example
California
Stringoptional
Flag imageimage_flag

An image of the state's flag

Example
Flag of California.svg
Fileoptional
Flag alternate textflag_alt

no description

Stringoptional
State nicknamenickname

The state's nickname

Example
The Golden State
Stringoptional
State nicknamesnicknames

The state's nicknames, if there are more than one

Example
The Constitution State (official), The Nutmeg State
Contentoptional
Footnotesfootnotes

no description

Contentoptional
Map alternate textmap_alt

no description

Stringoptional
Map imageimage_map

no description

Example
California in United States.svg
Fileoptional
State anthemanthem

The state's anthem

Example
"[[I Love You, California]]"<br />[[File:"I Love You, California" - Regional anthem of California.ogg|center]]
Contentoptional
State mottomotto

The state's motto(s)

Example
"[[Eureka (word)|Eureka]]"<ref name="motto-symbols">{{cite web |url= http://leginfo.legislature.ca.gov/faces/codes_displayText.xhtml?lawCode=GOV&division=2.&title=1.&part=&chapter=2.&article=|title=Chapter 2 of Division 2 of Title 1 of the California Government Code|work=[[California Office of Legislative Counsel]]|access-date=February 23, 2019 }}</ref>
Contentoptional
Demonympopulation_demonym

What the state's residents are called

Example
Californian
Stringsuggested
Area rankarea_rank

no description

Example
3rd
Stringoptional
Total areatotal_area

no description

Numberoptional
Modulemodule

no description

Stringoptional