Template:US state

From WikiMD.com - Food, Medicine & Wellness Encyclopedia


Usage[edit source]

This template creates an infobox for U.S. states, including details like name, population, area, government, and time zone.

Example[edit source]

{{Infobox U.S. state
| name            = California
| image_flag      = Flag_of_California.svg
| image_seal      = Seal_of_California.svg
| image_map       = California_in_United_States.svg
| Capital         = Sacramento
| LargestCity     = Los Angeles
| LargestCounty   = San Bernardino
| area_total_sq_mi = 163,696
| area_land_sq_mi  = 155,779
| area_water_sq_mi = 7,916
| elevation_ft    = 14,505
| population_as_of = 2020
| population_total = 39,538,223
| Governor        = Gavin Newsom
| Legislature     = California State Legislature
| Upperhouse      = California State Senate
| Lowerhouse      = California State Assembly
| timezone1       = PST
| utc_offset1     = −8
| timezone1_DST   = PDT
| utc_offset1_DST = −7
| postal_code     = CA
| iso_code        = US-CA
| TradAbbreviation= Calif.
| website         = https://www.ca.gov
}}

Parameters[edit source]

  • `name` - State name.
  • `image_flag` - State flag image.
  • `image_seal` - State seal image.
  • `Capital` - State capital.
  • `LargestCity` - Largest city in the state.
  • `LargestCounty` - Largest county in the state.
  • `area_total_sq_mi` - Total area in square miles.
  • `population_as_of` - Year of population data.
  • `population_total` - Population count.
  • `Governor` - Name of the governor.
  • `Legislature` - State legislature.
  • `timezone1` - Time zone.
  • `postal_code` - USPS postal abbreviation.
  • `iso_code` - ISO code of the state.

Notes[edit source]

  • Fields not provided will not display.
  • Images and maps are optional.