Template:Infobox England county

From Wikipedia, the free encyclopedia

This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.
  • Important: Please enter area_km2, adminarea_km2, and density_km2 numeric values in a raw, unformatted fashion. Numeric values that are not "raw" may create an "Expression error". Raw values will be automatically formatted and converted to square miles by the template.
Example
Example
St Piran's flag of Cornwall
(Saint Piran's Flag)
Motto of County Council: Onen hag oll
(Cornish: One and all)
Image:England_and_Cornwall.png
Geography
Status Ceremonial & (smaller) Non-metropolitan county
Region South West England
Area
- Total
- Admin. council
- Admin. area
Ranked 12th
3,563 km² (1,376 sq mi)
Ranked 9th
3,547 km² (1,370 sq mi)
Admin HQ Truro
ISO 3166-2 GB-CON
ONS code 15
NUTS 3 UKK30
Demography
Population
- Total (2006 est.)
- Density
- Admin. council
- Admin. pop.
Ranked 39th
526,300
148/km² (383/sq mi)
Ranked 23rd
524,200
Ethnicity 99.0% White
Politics

Cornwall County Council
http://www.cornwall.gov.uk/
Executive  
Members of Parliament
Districts
Image:CornwallScillyNumbered.png
  1. Penwith
  2. Kerrier
  3. Carrick
  4. Restormel
  5. Caradon
  6. North Cornwall
  7. Isles of Scilly (Unitary)
[edit] Template documentation

[edit] Usage

Copy and paste the code below into the article, then add the appropriate values to the fields. Comments (<!-- in these blocks -->) can be removed from the final code.

Name of county
Image (e.g. flag) - OPTIONAL
Motto of County Council: Motto in original language followed by (Name of language: translation into English) - OPTIONAL
Image:EnglandDevon.png
Geography
Status Status (ceremonial? administrative?)
Origin Year of establishment (e.g. West Midlands = 1974)
Region Government Office Region
Area
- Total
- Admin. council
- Admin. area
Ranked 4th
1,000 km² (386 sq mi)
Ranked 5th - OPTIONAL
950 km² (367 sq mi)
Admin HQ Wibbleton (not required if not an admin. county) - OPTIONAL
ISO 3166-2 ISO 3166-2 code - OPTIONAL
ONS code ONS code
NUTS 3 NUTS 2/3 code
Demography
Population
- Total (2004)
- Density
- Admin. council
- Admin. pop.
Ranked 4th
1,000,000
254/km² (658/sq mi)
Ranked 5th - OPTIONAL
950,000
Ethnicity xx% White
yy% Afro-Carib.
zz% S. Asian
Politics
The name
http://www.and-website.gov.uk/
REMOVE THIS LINE FOR No county council
Executive  
Members of Parliament
  • Alice
  • Bob
  • Carol
  • Dave
  • Eve
Remove this line for "Districts"; otherwise enter alternative name ("Metropolitan boroughs", etc.)
Image:Somerset_Ceremonial_Numbered.png
  1. Adistrict
  2. Bdistrict (Unitary)
  3. Cdistrict
  4. (numbers correspond to map)
{{Infobox England county
 | name = 
 | image = <!-- Flag, etc. -- OPTIONAL -->
 | motto = <!-- OPTIONAL -->
 | map = 
 | status = 
 | origin = <!-- (year of establishment for "new" counties) OPTIONAL -->
 | region = 
 | arearank = 
 | area_km2 = <!--RAW Format only, no commas-->
 | adminarearank = <!-- OPTIONAL, REMOVE LINE IF NOT NEEDED -->
 | adminarea_km2 = <!-- RAW Format only, OPTIONAL, REMOVE LINE IF NOT NEEDED -->
 | adminhq = <!-- OPTIONAL, REMOVE LINE IF NOT NEEDED -->
 | iso = <!-- OPTIONAL -->
 | ons = 
 | nutscode = <!-- NUTS x - (x = value entered, or leave blank for NUTS 3) - OPTIONAL -->
 | nuts3 = 
 | poprank = 
 | popestdate = 
 | pop = 
 | density_km2 = <!--RAW Format only, no commas-->
 | adminpoprank = <!-- OPTIONAL, REMOVE LINE IF NOT NEEDED -->
 | adminpop = <!-- OPTIONAL, REMOVE LINE IF NOT NEEDED -->
 | ethnicity = 
 | council = <!-- Default value: No county council -- REMOVE LINE IF NOT NEEDED -->
 | mps = 
 | subdivname = <!-- Default value: Districts -- REMOVE LINE IF NOT NEEDED --> 
 | subdivmap = 
 | subdivs = 
}}

[edit] 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. 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"
  • "vcard"

Please do not rename or remove these classes.

Languages