Vote button trans.png
April's Project of the Month
It's spring time. It's primary election season!
Click here to find all the information you'll need to cast your ballot.




Template:US states navbox with columns/doc

From Ballotpedia
Jump to: navigation, search

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.

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