Padron:Infobox U.S. County/doc

Mula sa Wikipedia, ang malayang ensiklopedya
Jump to navigation Jump to search

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 avaiable 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 -->
| seat wl         =  <!-- county seat; the WikiLink is created for you: "City" results in "[[City, State|City]]" -->
| 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       = 
| 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[baguhin ang batayan]

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.