قالب:معلومات مقاطعة أمريكية
{{{county}}}, | |
---|---|
[[File:Map of {{{state}}} highlighting {{{county}}}.svg|200px|alt=Map of {{{state}}} highlighting {{{county}}}]] Location within the U.S. state of [[{{{state}}}]] | |
{{{state}}}'s location within the U.S. |
Infobox U.S. County is the standard infobox used for all county articles in the United States. There are other templates that are helpful for U.S. County Articles:
- USCensusPop - lists the population of the county per decade.
- Coord - a cool template that displays the coordinates of the county. Notes about this one:
- If a user enters the lat deg and long deg variables on this template, "coord" displays by default with "0" values for minutes.
- A user can enter all four variables if necessary: lat deg, lat min, long deg, long min.
- For more advanced syntax usage of the "coord" template, do not use latitude/longitude but manually add "coord" to the article using the alternative syntax available within the coord template.
See the sample page to see how this template is rendered.
<!--Note that Map image is generated automatically: Map of STATE highlighting COUNTY.svg.--> {{Infobox U.S. County |county = <!-- the word "County" should appear here. Type "Washington County", not "Washington" --> |state = |seal = <!-- image of county seal --> |founded year = <!-- if you include a reference, the year's wikilink won't work so add the [[]] to the year --> |founded date = <!-- optional: syntax is: February 1 --> |founded title = <!-- optional. The word "Founded" displays if this is not declared. --> |seat wl = <!-- county seat; the WikiLink is created for you: "City" results in "[[City, State|City]]" --> |motto = <1-- optional: The county motto--> |largest city wl = <!-- largest city; the WikiLink is created for you: "City" results in "[[City, State|City]]" --> |city type = <!-- optional: Put "Village" here and the page will say "Largest Village" (if "city" doesn't apply) --> |area_total_sq_mi = |area_total_km2 = |area_land_sq_mi = <!--ALL AREA fields: ENTER in RAW format only, i.e. 10000 and NOT 10,000--> |area_land_km2 = |area_water_sq_mi = <!-- ALL AREA fields: Units will convert automatically; km² to sq mi & vise versa--> |area_water_km2 = |area percentage = |lat deg = <!-- optional, enter degrees north --> |lat min = <!-- optional, enter minutes north --> |long deg = <!-- optional, enter degrees west; used with "latitude" to display COORD template --> |long min = <!-- optional, enter minutes west --> |pop = <!--NUMBERS ONLY, raw formated, i.e. 10000 and NOT 10,000--> |census yr = |census estimate yr = <!-- use for non-U.S. census years; this prevents red links to "2006 U.S. census", for example--> |density_sq_mi = <!--RAW format only --> |density_km2 = |time zone = <!-- Choices: Eastern, Central, Mountain, Pacific, Alaska, Hawaii; or enter something else and use old DST and UTC variables --> |footnotes = |district = <!-- US House of Representatives district in which the county is located. Either "At-large" or ordinal numbers (eg. 1st, 2nd, 3rd, etc.) must be used --> |district2 = <!-- as 'district' parameter, for when county lies in more than one district --> |district3 = <!-- as 'district' parameter, for when county lies in more than one district --> |district4 = <!-- as 'district' parameter, for when county lies in more than one district --> |district5 = <!-- as 'district' parameter, for when county lies in more than one district --> |district6 = <!-- as 'district' parameter, for when county lies in more than one district --> |district7 = <!-- as 'district' parameter, for when county lies in more than one district --> |district8 = <!-- as 'district' parameter, for when county lies in more than one district --> |district9 = <!-- as 'district' parameter, for when county lies in more than one district --> |district10 = <!-- as 'district' parameter, for when county lies in more than one district --> |district11 = <!-- as 'district' parameter, for when county lies in more than one district --> |district12 = <!-- as 'district' parameter, for when county lies in more than one district --> |district13 = <!-- as 'district' parameter, for when county lies in more than one district --> |district14 = <!-- as 'district' parameter, for when county lies in more than one district --> |district15 = <!-- as 'district' parameter, for when county lies in more than one district --> |district16 = <!-- as 'district' parameter, for when county lies in more than one district --> |district17 = <!-- as 'district' parameter, for when county lies in more than one district --> |district18 = <!-- as 'district' parameter, for when county lies in more than one district --> |web = |named for = |logo = |flag = |ex image = <!-- optional, add an extra image to the bottom of the infobox --> |ex image size = <!-- defaults to 200px if not specified --> |ex image cap = <!-- caption of the extra image --> }}
Microformat
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.
hCard uses HTML classes including:
- "adr"
- "county-name"
- "fn"
- "label"
- "locality"
- "nickname"
- "note"
- "org"
- "region"
- "street-address"
- "vcard"
Geo is produced by calling {{coord}}, and uses HTML classes:
- "geo"
- "latitude"
- "longitude"
Please do not rename or remove these classes.
When giving coordinates, please don't be overly precise.
The above documentation is transcluded from قالب:معلومات مقاطعة أمريكية/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |