Template:Counties of England/doc

From Wikimedia Commons, the free media repository
Jump to: navigation, search

This template is intended as a navigational aid in categories of the Counties of England

Usage[edit]

{{Counties of England |prefix= |suffix= }}

Example[edit]

In Category:Towns and villages in Bedfordshire, {{Counties of England|prefix=:Category:Towns and villages in|suffix=}} produces a navigation box with all the names of all the counties of England, with wikilinks to the respective "Towns and villages" categories.

Parameters[edit]

Parameter Description Required or optional?
prefix Text of category namespace before the name of the county Required — minimum = :Category:
suffix Text of category namespace after the name of the county Optional
all Show all links without checking if they exist Optional
IOWprefix custom prefix for Isle of Wright Optional

Notes[edit]

  • Categories that do not exist are suppressed.
  • The template contains the names of all present counties, all pre-1970 counties, but only some post-1970 defunct counties — e.g. 'Hereford and Worcester' is missing.

Examples[edit]

{{Counties of England|prefix=:Category:|all=1}} gives

Counties of England: Avon · Bedfordshire · Berkshire · Bristol · Buckinghamshire · Cambridgeshire · Cheshire · Cornwall · Cumberland · Cumbria · Derbyshire · Devon · Dorset · County Durham · East Riding of Yorkshire · East Sussex · Essex · Gloucestershire · Greater Manchester · Hampshire · Herefordshire · Hertfordshire · Humberside · Huntingdonshire · Isle of Wight · Kent · Lancashire · Leicestershire · Lincolnshire · Merseyside · Middlesex · Norfolk · North Yorkshire · Northamptonshire · Northumberland · Nottinghamshire · Oxfordshire · Rutland · Shropshire · Somerset · South Yorkshire · Staffordshire · Suffolk · Surrey · Sussex · Tyne and Wear · Warwickshire · West Midlands · West Sussex · West Yorkshire · Westmorland · Wiltshire · Worcestershire · Yorkshire
London
London

{{Counties of England|prefix=:Category:Towns and villages in|all=1}} gives

Counties of England: Avon · Bedfordshire · Berkshire · Bristol · Buckinghamshire · Cambridgeshire · Cheshire · Cornwall · Cumberland · Cumbria · Derbyshire · Devon · Dorset · County Durham · East Riding of Yorkshire · East Sussex · Essex · Gloucestershire · Greater Manchester · Hampshire · Herefordshire · Hertfordshire · Humberside · Huntingdonshire · Isle of Wight · Kent · Lancashire · Leicestershire · Lincolnshire · Merseyside · Middlesex · Norfolk · North Yorkshire · Northamptonshire · Northumberland · Nottinghamshire · Oxfordshire · Rutland · Shropshire · Somerset · South Yorkshire · Staffordshire · Suffolk · Surrey · Sussex · Tyne and Wear · Warwickshire · West Midlands · West Sussex · West Yorkshire · Westmorland · Wiltshire · Worcestershire · Yorkshire
London
London

{{Counties of England|prefix=:Category:Towns and villages in|IOWprefix=:Category:Towns and villages on|all=1}} gives

Counties of England: Avon · Bedfordshire · Berkshire · Bristol · Buckinghamshire · Cambridgeshire · Cheshire · Cornwall · Cumberland · Cumbria · Derbyshire · Devon · Dorset · County Durham · East Riding of Yorkshire · East Sussex · Essex · Gloucestershire · Greater Manchester · Hampshire · Herefordshire · Hertfordshire · Humberside · Huntingdonshire · Isle of Wight · Kent · Lancashire · Leicestershire · Lincolnshire · Merseyside · Middlesex · Norfolk · North Yorkshire · Northamptonshire · Northumberland · Nottinghamshire · Oxfordshire · Rutland · Shropshire · Somerset · South Yorkshire · Staffordshire · Suffolk · Surrey · Sussex · Tyne and Wear · Warwickshire · West Midlands · West Sussex · West Yorkshire · Westmorland · Wiltshire · Worcestershire · Yorkshire
London
London

{{Counties of England|prefix=:Category:}} gives

Counties of England: Bedfordshire · Berkshire · Bristol · Buckinghamshire · Cambridgeshire · Cheshire · Cornwall · Cumbria · Derbyshire · Devon · Dorset · County Durham · East Riding of Yorkshire · East Sussex · Essex · Gloucestershire · Greater Manchester · Hampshire · Herefordshire · Hertfordshire · Isle of Wight · Kent · Lancashire · Leicestershire · Lincolnshire · Merseyside · Norfolk · North Yorkshire · Northamptonshire · Northumberland · Nottinghamshire · Oxfordshire · Rutland · Shropshire · Somerset · South Yorkshire · Staffordshire · Suffolk · Surrey · Tyne and Wear · Warwickshire · West Midlands · West Sussex · West Yorkshire · Wiltshire · Worcestershire
London
Historic counties: Avon · Cumberland · Humberside‎ · Huntingdonshire · Middlesex · North Riding of Yorkshire‎ · Sussex · Westmorland · West Riding of Yorkshire‎ · Yorkshire

{{Counties of England|prefix=:Category:Towns and villages in}} gives

Counties of England: Bedfordshire · Berkshire · Buckinghamshire · Cambridgeshire · Cheshire · Cornwall · Cumbria · Derbyshire · Devon · Dorset · County Durham · East Riding of Yorkshire · East Sussex · Essex · Gloucestershire · Greater Manchester · Hampshire · Herefordshire · Hertfordshire · Kent · Lancashire · Leicestershire · Lincolnshire · Merseyside · Norfolk · North Yorkshire · Northamptonshire · Northumberland · Nottinghamshire · Oxfordshire · Rutland · Shropshire · Somerset · South Yorkshire · Staffordshire · Suffolk · Surrey · Tyne and Wear · Warwickshire · West Midlands · West Sussex · West Yorkshire · Wiltshire · Worcestershire
London
Historic counties: Huntingdonshire · Yorkshire

List of supported counties[edit]

  • Avon
  • Bedfordshire
  • Berkshire
  • Bristol
  • Buckinghamshire
  • Cambridgeshire
  • Cheshire
  • Cornwall
  • Cumberland
  • Cumbria
  • Derbyshire
  • Devon
  • Dorset
  • County Durham
  • the East Riding of Yorkshire
  • East Sussex
  • Essex
  • Gloucestershire
  • Greater Manchester
  • Hampshire
  • Herefordshire
  • Hertfordshire
  • Huntingdonshire
  • the Isle of Wight
  • Kent
  • Lancashire
  • Leicestershire
  • Lincolnshire
  • Merseyside
  • Middlesex
  • Norfolk, England
  • North Yorkshire
  • Northamptonshire
  • Northumberland
  • Nottinghamshire
  • Oxfordshire
  • Rutland
  • Shropshire
  • Somerset
  • South Yorkshire
  • Staffordshire
  • Suffolk
  • Surrey
  • Sussex
  • Tyne and Wear
  • Warwickshire
  • the West Midlands
  • West Sussex
  • West Yorkshire
  • Westmorland
  • Wiltshire
  • Worcestershire
  • Yorkshire
  • London