Template:People of the United States by city

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search


Template documentationview · edit · history · purge ]

This template is intended as help for quickly categorizing the categories of people of the cities of the United States of America (see category People of the United States by city).

Usage[edit]

{{People of the United States by city|city|state|county 1|county 2}}

(Note: no blanks before the parametres to prevent the category from being erroneusly sorted)

Example #1: city or town with no county[edit]

For the category People of Anchorage, Alaska code is:

{{People of the United States by city|Anchorage, Alaska|Alaska}}

which is equivalent to the following code:

[[Category:Anchorage, Alaska]]
[[Category:People of Alaska by city|Anchorage, Alaska]]
[[Category:People of the United States by city|Anchorage, Alaska]]

Example #2: city or town within a single county[edit]

For the category People of Chicago code is:

{{People of the United States by city|Chicago|Illinois|Cook County, Illinois}}

which is equivalent to the following code:

[[Category:Chicago]]
[[Category:People of Cook County, Illinois| Chicago]]
[[Category:People of Illinois by city|Chicago]]
[[Category:People of the United States by city|Chicago]]

Example #3: city or town spanning two counties[edit]

For the category People of Shreveport, Louisiana code is:

{{People of the United States by city|Shreveport, Louisiana|Louisiana|Bossier Parish, Louisiana|Caddo Parish, Louisiana}}

which is equivalent to the following code:

[[Category:Shreveport, Louisiana]]
[[Category:People of Bossier Parish, Louisiana|Shreveport, Louisiana]]
[[Category:People of Caddo Parish, Louisiana|Shreveport, Louisiana]]
[[Category:People of Louisiana by city|Shreveport, Louisiana]]
[[Category:People of the United States by city|Shreveport, Louisiana]]

Example #4: city or town which parent category has not a standard name[edit]

This applies in case the name adopted for the category is not suitable for sorting (i.e.: Town of Hempstead instead of Hempstead). For the category People of Islip, New York code is:

{{People of the United States by city|Town of Islip, New York|New York|Suffolk County, New York|key=Islip}}

which is equivalent to the following code:

[[Category:Town of Islip, New York]]
[[Category:People of Suffolk County, New York| Islip]]
[[Category:People of New York (state) by city|Islip]]
[[Category:People of the United States by city|Islip]]

Note that in this case the sort key is Islip instead of Town of Islip. Note also that key must be used as last field.

Parameters[edit]

Parameter Description Required / Optional?
1 City (i.e.: Boston; New York City; Denver, Colorado) Required
2 State (i.e.: Alabama, New York, Pennsylvania) Required
3 County, borough or parish (i.e.: Orange County, California; Fairbanks North Star Borough, Alaska‎; Orleans Parish, Louisiana) Optional
4 Same as #3 (in case of cities extending on more than one county, borough or parish) Optional
5 Same as #3 (in case of cities extending on more than one county, borough or parish) Optional
6 Same as #3 (in case of cities extending on more than one county, borough or parish) Optional
7 Same as #3 (in case of cities extending on more than one county, borough or parish) Optional
key Sort key (i.e.: Brookhaven for Town of Brookhaven Optional

List of states supported[edit]

  • Alabama
  • Alaska‎
  • Arizona
  • Arkansas
  • California
  • Colorado‎
  • Connecticut
  • Delaware
  • Florida
  • Georgia (U.S. state)
  • Hawaii
  • Idaho
  • Illinois
  • Indiana‎
  • Iowa
  • Kansas‎
  • Kentucky
  • Louisiana‎
  • Maine
  • Maryland
  • Massachusetts
  • Michigan‎
  • Minnesota
  • Mississippi
  • Missouri‎
  • Montana‎
  • Nebraska‎
  • Nevada‎
  • New Hampshire‎
  • New Jersey‎
  • New Mexico‎
  • New York‎
  • North Carolina
  • North Dakota‎
  • Ohio
  • Oklahoma
  • Oregon‎
  • Pennsylvania
  • Rhode Island
  • South Carolina‎
  • South Dakota‎
  • Tennessee‎
  • Texas‎
  • Utah‎
  • Vermont‎
  • Virginia
  • Washington (state)‎
  • West Virginia‎
  • Wisconsin‎
  • Wyoming‎