Template:US states navbox with columns
This is a customized {{Navbox}} metatemplate, resembling {{Navbox with columns}}, that enables the display of data – usually a single wikilink – beside an abbreviation (also wikilinked) for each of the states (and, optionally, territories) of the United States. For examples of templates that use this template, see this template's WhatLinksHere and search for instances of "Template:" in the list provided.
Pro forma
Currently, the only required parameters for this template are name (the template's name that follows "Template:") and title.
In addition to the parameters listed below, the template also handles the titlestyle, above, abovestyle, below and belowstyle parameters common to {{Navbox}}es.
{{US states navbox with columns
|name =
|title =
|prefix =
|suffix =
|AL =
|AK =
|AZ =
|AR =
|CA =
|CO =
|CT =
|DE =
|FL =
|GA =
|HI =
|ID =
|IL =
|IN =
|IA =
|KS =
|KY =
|LA =
|ME =
|MD =
|MA =
|MI =
|MN =
|MS =
|MO =
|MT =
|NE =
|NV =
|NH =
|NJ =
|NM =
|NY =
|NC =
|ND =
|OH =
|OK =
|OR =
|PA =
|RI =
|SC =
|SD =
|TN =
|TX =
|UT =
|VT =
|VA =
|WA =
|WV =
|WI =
|WY =
|DC =
|AS =
|GU =
|MP =
|PR =
|VI =
}}
Notes
- prefix
- Use to specify anything required to precede a state's common name in order to create a wikilink for that state's abbreviation. For example, "List of governors of" (without quotes) for List of governors of Alabama, List of governors of Alaska, etc.
- suffix
- As above, except to follow a state's common name. For example, "Supreme Court" (without quotes) for Arizona Supreme Court, Arkansas Supreme Court, etc.
The prefix and suffix parameters are not mutually exclusive, i.e. both can and may need to be used to create a working wikilink format. It may also be necessary to create one or more redirects to articles whose names use a different format.
- XY_link
- An alternate link to use with XY state/territory. If omitted, the default link formed using the prefix and suffix parameters will be applied. Note, this is used in Template:Current US state Chief Justices where the link for New York is modified to "New York Court of Appeals", instead of "New York Supreme Court", and a redirect would not be appropriate.
The "Territories" subheading and list of five territories only appear if at least one of the AS (American Samoa), GU (Guam), MP (Northern Mariana Islands), PR (Puerto Rico) and VI (U.S. Virgin Islands) parameters is used.
For a list identifying the two-letter state abbreviations, as used by the USPS (United States Postal Service), see this list of states.
See also
- {{Navbox}}
- {{Navbox with columns}}