If you find this page useful and would like to be notified of changes made to this page, start by inputting your email below.
powered by ChangeDetection
40px | This is a documentation subpage for :Template:Infobox U.S. county. It contains usage information, categories and other content that is not part of the original template page. |
wikipedia:Category:Template documentation pages
{{Infobox U.S. county}} is the standard infobox used for all county articles in the United States.
Other templates that are helpful for U.S. County articles:
View Template:Infobox U.S. county/Sample to see how this infobox is rendered.
This blank template excludes some optional parameters that must be omitted if not used (will not work properly if left blank), plus some older parameters that still work but have been replaced by newer parameter names. It also excludes square kilometer (km2) parameters that are automatically calculated (replace "_sq_mi" with "_km2" to enter square kilometers instead and have the square miles calculated). See the parameter documentation below for more details.
The parameters are listed in the order displayed by the infobox. The exception is latitude and longitude which are not placed in the infobox, but are displayed on the upper right side of the page via the {{coord}} template.
{{Infobox U.S. county | county = | native_county = | state = | seal = | founded year = | founded date = | seat wl = | largest city wl = | motto = | area_total_sq_mi = | area_land_sq_mi = | area_water_sq_mi = | area percentage = | pop = | census yr = | census estimate yr = | density_sq_mi = | time zone = | district = | district2 = | district3 = <!-- up to: district18 --> | web = | named for = | flag = | logo = | ex image = | ex image cap = | footnotes = | lat deg = | lat min = | long deg = | long min = }} |
The parameters below are listed in the order displayed by the infobox. The exception is latitude and longitude which are not placed in the infobox, but are displayed on the upper right side of the page via the {{coord}} template.
These parameters specify the name of the county and state and are displayed in the infobox title as "County, State" (IMPORTANT: do not WikiLink these with [[ ]] because they are used for other purposes in the template code).
An image of the county seal can be displayed near the top of the infobox, immediately below the title. Use only the file name, without the Image: or File: prefix.
The infobox automatically displays two maps based based on the names entered for the county and state parameters.
The old way of specifying this was via the founded parameter. Although that still works, the new method is via the following parameters.
The old way of specifying this was via the seat parameter. Although that still works, a new method that automatically generates the WikiLink is shown below.
The old way of specifying this was via the largest city parameter. Although that still works, a new method that automatically generates the WikiLink is shown below.
Enter all numbers (except percentage) in raw format (i.e. 10000 not 10,000).
Enter all numbers in raw format (i.e. 10000 not 10,000).
Population density is the number of people per square mile or km2. Must be entered manually, as the template does not currently support automatic calculations based on population divided by area.
The template generates standard headings for U.S. time zones.
Used to generate a list of United States congressional districts (U.S. House of Representatives) in the county. The article names are in the format "(state)'s (district) congressional district", i.e. Alabama's 1st congressional district or Delaware's At-large congressional district. The template handles proper placement of the apostrophe in the article name for states ending in the letter "s" (Arkansas, Illinois, Kansas, Massachusetts, Texas).
An image of the county flag can be displayed near the top of the infobox. Use only the file name, without the Image: or File: prefix.
no
to remove the border from the flag.An image of the county logo can be displayed near the top of the infobox. Use only the file name, without the Image: or File: prefix.
An additional image, depicting the skyline or other landmarks within a county, can be displayed near the top of the infobox. Use only the file name, without the Image: or File: prefix.
These parameters are used to place geographic coordinates in the upper right corner of the page (outside the infobox) via the {{coord}} template. The latitude and longitude must be whole degrees and minutes (displayed 38°25′N, 76°05′W). If entering degrees only, the minutes default to zero.
NOTE: These parameters do not currently support decimal degrees (displayed 38.42, -76.08) or whole degrees with decimal minutes (displayed 38°25.9', -76°05.4' or 38°25.9'N, 76°05.4'W).
In some cases it may be preferable to omit the latitude/longitude parameters and manually add the {{coord}} template to the article. The following is an example that includes decimal degrees, displays them in D/M/S format, and notes the source of the coordinates:
{{coord|38.42|-76.08|format=dms|display=title|type:adm2nd_region:US-MD_source:UScensus1990}}
The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.
If the place or venue has an "established", "founded", "opened" or similar date, use {{start date}} (unless the date is before 1583 CE).
If it has a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
hCard uses HTML classes including:
Geo is produced by calling {{coord}}, and uses HTML classes:
Please do not rename or remove these classes; nor collapse nested elements which use them.
When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.