Template:State capitals of the United States/doc
This template is intended as a navigational aid in categories of the cities that are state capitals of the United States
Usage
{{State capitals of the United States |prefix= |suffix= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
prefix | prefix | Optional 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:". | empty | optional |
suffix | suffix | Optional end of the target pagename to link to, after the name of the state capital. | empty | optional |
sep | separator | If 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 " " 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. |   (SPACE ) | optional |
all | option | If 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. | empty | optional |
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:People of Albany, New York, {{State capitals of the United States|prefix=:Category:People of |suffix=}}
produces a navigation box with all the names of all the state capitals of the United States, with wikilinks to the respective "People of" categories.
List of state capitals
- Albany, NY
- Annapolis, MD
- Atlanta, GA
- Augusta, ME
- Austin, TX
- Baton Rouge, LA
- Bismarck, ND
- Boise, ID
- Boston, MA
- Carson City, NV
- Charleston, WV
- Cheyenne, WY
- Columbia, SC
- Columbus, OH
- Concord, NH
- Denver, CO
- Des Moines, IA
- Dover, DE
- Frankfort, KY
- Harrisburg, PA
- Hartford, CT
- Helena, MT
- Honolulu, HI
- Indianapolis, IN
- Jackson, MS
- Jefferson City, MO
- Juneau, AK
- Lansing, MI
- Lincoln, NE
- Little Rock, AR
- Madison, WI
- Montgomery, AL
- Montpelier, VT
- Nashville, TN
- Oklahoma City, OK
- Olympia, WA
- Phoenix, AZ
- Pierre, SD
- Providence, RI
- Raleigh, NC
- Richmond, VA
- Sacramento, CA
- Saint Paul, MN
- Salem, OR
- Salt Lake City, UT
- Santa Fe, NM
- Springfield, IL
- Tallahassee, FL
- Topeka, KS
- Trenton, NJ
- Federal district:
- Washington, DC
- Insular areas of the United States:
- Charlotte Amalie, VI
- Hagåtña, GU
- Pago Pago, AS
- Saipan, MP
- San Juan, PR
These should match the list of categories generated by the template, that should all exist: