Jump to content

Wikipedia:WikiProject U.S. counties/County1

From Wikipedia, the free encyclopedia

|- || ||{{{Num}}}|| [[{{{Name}}} County, No FIPS code given|{{{Name}}} County]]

Purpose:

This macro is used as a table row in a list of counties where the list after the FIPS number consists only one item, the county name and optionally the county seat. See Wikipedia:WikiProject U.S. counties/county lists for similar templates.

Usage: {{County1|Name=|N=|Num=}} (The named parameters may be in any order)
Where

Name= is the name of the county without the word "County" as used in the link, e.g. Los Angeles County, California or Arlington County, Virginia you would use Name=Los Angeles or Name=Arlington etc.
N= is the two-digit FIPS state code of the named state, e.g. N=04 for Arizona, N=10 for Delaware, etc. The name of the state will be composed from this number.
Num= is the three-digit fips county code for that county, e.g. N=001 or N=037 etc.

From this information, the County Code field will contain its number and an external link to the Census Bureau's reference page for further statistics about that county.

Optional parameters (all except Type= are null if empty)

Prefix= is used if any values need to be set for the row such as formatting, id or index are needed.
Tag= is used if column 1 should contain an additional relevant item for that county, such as if it has its own tag number for license plates.
Seat= is used to insert the county/borough/parish seat after the name. It will have ( before and ) after and the state will be computed and inserted from the N= value. For example, for Clark County, Nevada, use Seat=Las Vegas and if N= has the correct value for Nevada, the link will correctly include it. Same for other states, of course. It correctly renders to null if enpty.
Type= is a special parameter for use in Alaska and Louisiana. It normally defaults to "County" but may be set to either of the following in order to substitute Type=Borough or Type=Parish if needed.