Template:Independent cities in the United States

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]

This template is intended as a navigational aid in categories of the independent cities of the United States (cities that are not in the jurisdiction of any county, or parish in Louisiana, or borough in Alaska).

While similar, an independent city differs from a consolidated city-county in that the city and county both nominally exist in the case of a consolidated city-county (although they have a consolidated government), whereas in an independent city, the county (or parish or borough) does not even nominally exist.

Note that all cities or towns in insular territories are also independent, because insular territories are still not subdivided into counties. (There is an ongoing proposal to create counties in Puerto Rico to group their municipalities, but it is still not effective).

Also note, while there are independent cities outside the United States, consolidated city-county is term exclusive to the United States.

Usage

{{Independent cities in the United States |prefix= |suffix= }}

Template parameters

ParameterDescriptionDefaultStatus
prefixprefixOptional namespace (prefixed by ":" for special namespaces) and beginning of the target pagename to link to, before the name of the state capital, such as ":Category:".emptyoptional
suffixsuffixOptional end of the target pagename to link to, after the name of the state capital.emptyoptional
sepseparatorIf this parameter is explicitly set, allows to replace or remove the default space separator before and after the English city name in the target link; useful if there are subpagenames or other punctuation ending the prefix or starting the suffix. To keep the default spaces, don't pass the parameter, or pass the empty value "<nowiki/>" or "&#32;" to pass the space explicitly. If you set this parameter to an empty string, you'll need to supply the appropriate separators in the prefix or suffix parameters.&#32; (SPACE)optional
alloptionIf this parameter is non-empty, allows to include all possible links, even if the target pages still don't exist. For debugging only and temporary use (don't use on pages for specific capitale cities), useful temporarily in a parent category for creating new pages for missing cities or for checking missing/broken redirects, or pages using incoherent names with unknown aliases.emptyoptional

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: all users

Placement:

atop

Localization

To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)

All labels inside the list are translated from Wikidata. Only the first title may to be translated in the leading switch.

Examples

In Category:Baltimore, {{Independent cities in the United States|prefix=:Category:People of}} produces a navigation box with all the names of all the independant cities in the United States, with wikilinks to the respective "People of" categories.

List of supported independant cities

New York City is included because it is not in the juridiction of any county of the New York State, but is still special because it is subdividided in municipal boroughs that are considered county-like for census purpose. Washington D.C. is also is a single municipality, not part of any county so it is also considered county-like, but it also has a special status (integrated in the Union, but not part of any state and considered state-like).

Alexandria, VA
Baltimore, MD
Bristol, VA
Buena Vista, VA
Carson City, NV
Charlottesville, VA
Chesapeake, VA
Colonial Heights, VA
Covington, VA
Danville, VA
Emporia, VA
Fairfax, VA
Falls Church, VA
Franklin, VA
Fredericksburg, VA
Galax, VA
Hampton, VA
Harrisonburg, VA
Hopewell, VA
Lexington, VA
Lynchburg, VA
Manassas, VA
Manassas Park, VA
Martinsville, VA
New York, NY
Newport News, VA
Norfolk, VA
Norton, VA
Petersburg, VA
Poquoson, VA
Portsmouth, VA
Radford, VA
Richmond, VA
Roanoke, VA
Salem, VA
St. Louis, MO
Staunton, VA
Suffolk, VA
Virginia Beach, VA
Washington, DC
Waynesboro, VA
Williamsburg, VA
Winchester, VA
Yakutat, AK

These should match the list of categories generated by the template, that should all exist: