Jump to content

Template:Infobox English county/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This template works for the following types of English counties:

  • The following counties for the purposes of the Local Government Act 1972:
    • Non-metropolitan counties with a county council and no unitary authorities, such as Surrey (two-tier counties).
    • Non-metropolitan counties with a coterminous district, with a county council but no district council, such as Northumberland (unitary counties).
    • Metropolitan counties, such as the West Midlands and Greater Manchester
  • The following counties for the purposes of the Lieutenancies Act 1997:
    • Counties comprising a county council area and also unitary authority areas, such as Buckinghamshire (hybrid counties)
    • Counties comprising multiple unitary authority areas (one sharing the county name), such as Wiltshire
    • Counties comprising multiple unitary authority areas (none sharing the county name), such as Cheshire
    • Greater London

Use {{Infobox settlement}} for counties that are also cities, such as Bristol and City of London as well as counties for the purposes of the Local Government Act 1972 where there is a coterminous district with a district council, but no county council, such as Milton Keynes.

Templates used

[edit]

Population data is pulled automatically from the following templates:

For ceremonial counties

[edit]

(using the 'Official name' field as the input)

For both non-metropolitan and unitary counties

[edit]

(using the 'GSS code' field as the input)

For non-metropolitan counties only

[edit]

(using the 'GSS code' field as the input)

For single unitary authority counties only

[edit]

(using the 'GSS code' field as the input)

The metropolitan counties and the London Region have multiple GSS codes (e.g. Greater Manchester has E11000001 for the met. county and E47000001 for the city region) and therefore do not pull down data automatically as the GSS code field could be easily broken by well-meaning editors. Instead, for these areas, the Template:UK subdivision population, Template:UK subdivision area and Template:UK subdivision density templates should be inputted into the population_council, area_council_km2 and density_council fields respectively using their met. county code or region code in the case of Greater London. If these fields are used for other types of county, they will not display nor override the automatic data.

Blank syntax

[edit]
{{{official_name}}}
{{{other_name}}}
[[File:{{{image_main}}}|250px|{{{image_caption}}}]]
{{{image_caption}}}
Motto
{{{motto}}}
[[File:{{{locator_map}}}|250px|{{{map_caption}}}]]
{{{map_caption}}}
Coordinates: {{{coordinates}}}
Sovereign stateUnited Kingdom
Constituent countryEngland
Region{{{region}}}
Established{{{established_date}}}
Established by{{{established_by}}}
Preceded by{{{preceded_by}}}
Origin{{{origin}}}
Time zoneUTC+0 (GMT)
 • Summer (DST)UTC+1 (BST)
UK Parliament{{{MPs}}}
Police{{{police}}}
Fire{{{fire}}}
Largest city{{{largest_city}}}
Ceremonial county
[[{{{lord_lieutenant_office}}}|Lord Lieutenant]]{{{lord_lieutenant_name}}}
[[{{{high_sheriff_office}}}|High Sheriff]]{{{high_sheriff_name}}}
Area[convert: needs a number]
 • Rank of 48
 • Rank of 48
Density[convert: needs a number]
Ethnicity
 ({{{ethnicity_year}}}){{{ethnicity_footnotes}}}
{{{ethnicity}}}
Non-metropolitan county
County council{{{county_council}}}
Control 
Admin HQ{{{admin_hq}}}
Area[convert: needs a number]
 • Rank of 21
 • Rank of 21
Density[convert: needs a number]
ISO 3166-2{{{iso_code}}}
GSS code{{{gss_code}}}
ITL{{{nuts_code}}}
Website{{{website}}}
Unitary authorities
Councils{{{unitary_council1}}}
{{{unitary_council2}}}
{{{unitary_council3}}}
Unitary authority
Council{{{unitary_council}}}
Control 
Admin HQ{{{admin_hq}}}
Area[convert: needs a number]
 • Rank of 296
 • Rank of 296
Density[convert: needs a number]
ISO 3166-2{{{iso_code}}}
GSS code{{{gss_code}}}
ITL{{{nuts_code}}}
Website{{{website}}}
Districts
{{{districts_map}}}
Districts of {{{official_name}}}
{{{districts_key}}}
Districts{{{districts_list}}}
{{infobox English county
| official_name           = <!-- Automatic population data pulled down using this field. Must be exact. -->
| other_name              = 
| image_main              = 
| image_caption           = 
| motto                   = <!--for non-English motto, use: ''Motto in italics''<br />("English translation")-->
| locator_map             = 
| map_caption             = 
| coordinates             = 
| region                  = 
| established_date        = 
| established_by          = 
| preceded_by             = 
| origin                  = 
| MPs                     = 
| police                  = 
| fire                    = 
| largest_city            = 
| largest_town            = <!-- only shown if largest_city is not set -->
<!-- Ceremonial county fields -->
| lord_lieutenant_office  = 
| lord_lieutenant_name    = 
| high_sheriff_office     = 
| high_sheriff_name       = 
| ethnicity               = 
| ethnicity_year          = 
| ethnicity_footnotes     = 
<!-- Local government fields -->
| county_council          = <!-- only for counties with county councils -->
| unitary_council         = <!-- only for unitary counties like Northumberland -->
| unitary_council1        = <!-- and unitary_council2 etc. only for hybrid counties *-->
| government              = <!-- only for other government such as Greater Manchester Combined Authority -->
| mayor_office            = <!-- only for other government such as Greater Manchester Combined Authority -->
| mayor_name              = <!-- only for other government such as Greater Manchester Combined Authority -->
| joint_committees        = 
| admin_hq                = 
| area_council_km2        = <!-- only for London Region and metropolitan counties. Automatic field for other areas. -->
| population_council      = <!-- only for London Region and metropolitan counties. Automatic field for other areas. -->
| population_council_year = <!-- only for London Region and metropolitan counties. Automatic field for other areas. -->
| population_council_footnotes = <!-- only for London Region and metropolitan counties. Automatic field for other areas. -->
| density_council         = <!-- only for London Region and metropolitan counties. Automatic field for other areas. -->
| iso_code                = 
| gss_code                = <!-- Single unitary authority counties (e.g. Herefordshire) pull their population data down using this field. This field also pulls down [[Template:UK council control]] for both single unitary authority councils and two-tier county councils -->
| nuts_code               = 
| website                 = 
<!-- Districts map -->
| districts_map           = 
| districts_key           = 
| districts_list          = 
}}

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
official_nameofficial_name

no description

Contentoptional
other_nameother_name

no description

Contentoptional
image_mainimage_main

no description

Fileoptional
imagesizeimagesize

no description

Unknownoptional
altalt

no description

Unknownoptional
image_captionimage_caption

no description

Contentoptional
flag_imageflag_image

Disabled - see discussion on template talk

Filedeprecated
arms_imagearms_image

Disabled - see discussion on template talk

Filedeprecated
mottomotto

no description

Contentoptional
nicknamenickname

no description

Contentoptional
locator_maplocator_map

no description

Unknownoptional
map_captionmap_caption

no description

Contentoptional
coordinatescoordinates

no description

Unknownoptional
regionregion

no description

Contentoptional
established_dateestablished_date

no description

Contentoptional
established_byestablished_by

no description

Contentoptional
preceded_bypreceded_by

no description

Contentoptional
originorigin

no description

Contentoptional
MPsMPs

no description

Contentoptional
MPMP

no description

Contentoptional
policepolice

no description

Contentoptional
firefire

no description

Contentoptional
largest_citylargest_city

no description

Contentoptional
largest_townlargest_town

no description

Contentoptional
lord_lieutenant_officelord_lieutenant_office

no description

Contentoptional
lord_lieutenant_namelord_lieutenant_name

no description

Contentoptional
high_sheriff_officehigh_sheriff_office

no description

Contentoptional
high_sheriff_namehigh_sheriff_name

no description

Contentoptional
ethnicity_yearethnicity_year

no description

Contentoptional
ethnicity_footnotesethnicity_footnotes

no description

Contentoptional
ethnicityethnicity

no description

Unknownoptional
county_councilcounty_council

no description

Contentoptional
gss_codegss_code

no description

Contentoptional
admin_hqadmin_hq

no description

Contentoptional
iso_codeiso_code

no description

Contentoptional
nuts_codenuts_code

no description

Contentoptional
websitewebsite

no description

URLoptional
unitary_council1unitary_council1

no description

Contentoptional
unitary_council2unitary_council2

no description

Contentoptional
unitary_council3unitary_council3

no description

Contentoptional
unitary_council4unitary_council4

no description

Contentoptional
unitary_council5unitary_council5

no description

Contentoptional
nuts_code1nuts_code1

no description

Contentoptional
unitary_councilunitary_council

no description

Contentoptional
governmentgovernment

no description

Contentoptional
mayor_officemayor_office

no description

Contentoptional
mayor_namemayor_name

no description

Contentoptional
joint_committeesjoint_committees

no description

Contentoptional
area_council_km2area_council_km2

no description

Contentoptional
population_council_yearpopulation_council_year

no description

Contentoptional
population_council_footnotespopulation_council_footnotes

no description

Contentoptional
population_councilpopulation_council

no description

Contentoptional
density_councildensity_council

no description

Contentoptional
districts_mapdistricts_map

no description

Fileoptional
districts_listdistricts_list

no description

Contentoptional
districts_keydistricts_key

no description

Contentoptional