Template:County/doc

< Template:County

This template is used in navigational boxes relating to the Counties of England.

Usage

{{county
| name       = Name of the Template
| color      = Color of title bar (optional)
| flag       = FLAG OF THE COUNTY (optional)
| countyname = NAME OF THE COUNTY
| pt         = NAME OF THE COUNTY PORTAL
| cr         = ANY STATUTORY CITY REGIONS
| md         = ANY METROPOLITAN DISTRICTS
| ua         = ANY UNITARIES AUTHORITIES
| bd         = ANY BOROUGHS OR DISTRICTS
| ct         = ANY CITIES OR TOWNS
| rv         = ANY RIVERS
| cl         = ANY CANALS
| topics     = Topics section
| other      = Any other information
}}

Microformat

The HTML mark up produced by this template includes an hCard microformat, which makes the organisation's details parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a reader, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

  • If the organisation has an "established", "founded", "opened" or similar date, use {{Start date}} (unless the date is before 1583 CE).
  • If the organisation has a URL, use {{URL}}.
  • If the organisation has a "coordinates" field, use {{Coord}} to include 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.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • country-name
  • extended-address
  • fn
  • geo
  • label
  • latitude
  • locality
  • longitude
  • nickname
  • note
  • org
  • region
  • street-address
  • url
  • vcard

Please do not rename or remove these classes; nor collapse nested elements which use them.