Template:England Ceremonial Counties Labelled Map/doc

This template displays a labelled map of the ceremonial counties of England (or their historical equivalents), with each county name linked to a Wikipedia article or category associated with that county. It is intended to provide a navigation template for family of county-related articles about the same subject matter. For example, the links could all take the form "List of rivers in <countyname>".

Links to articles that do not exist will be displayed as red links, following normal practice. (It would be technically possible to make this template hide red links, but that would make the source code rather more complicated.)

The template is capable of showing counties at various times in the past, specifically in 1851, 1889, 1965, 1974, 1996, 1997, or 1998 (the current counties as of 2012).

Usage edit

All parameters are optional. Without parameters, the links are to the articles named after each county, e.g. "Essex". Note that the Greater London link defaults to "London". To override this to link to "Greater London", use {{England Ceremonial Counties Labelled Map|Londonprefix=Greater}}. Also, the West Midlands link defaults to "West Midlands". To override this to link to "West Midlands (county)", use {{England Ceremonial Counties Labelled Map|WMsuffix=(county)}}.

Parameter Default Usage
width= 515 Overall width of the map. It is recommended to omit this parameter and use the default setting. Small values will not work very well, as the county labels will overlap each other and become illegible.
float= none
  • none: makes the map sit on its own line of the page
  • left: puts the map to the left of the page text
  • right: puts the map to the right of the page text
ns= Namespace for the links, if not the default (article namespace). E.g. :Category: Must begin and end with a colon.
prefix= Text to precede every county name when forming links. E.g. List of rivers in. If this parameter is specified, the word "the" will automatically be appended for the counties "East Riding of Yorkshire", "West Riding of Yorkshire", "North Riding of Yorkshire", "West Midlands", "Isle of Wight", "City of London" and "County of London". Some of these can be overridden using the parameters ERYprefix, WMprefix and IOWprefix.
suffix= Text to follow every county name when forming links.
ERYprefix= Text to precede "East Riding of Yorkshire" when forming its link. This overrides prefix if specified, and the word "the" is not automatically appended.
WMprefix= Text to precede "West Midlands" when forming its link. This overrides prefix if specified, and the word "the" is not automatically appended.
IOWprefix= Text to precede "Isle of Wight" when forming its link. This overrides prefix if specified, and the word "the" is not automatically appended. This can be used if the Isle of Wight article name ends with "on the Isle of Wight" but other names end with "in <Countyname>"
Londonprefix= Text to precede "London" when forming the link labelled "Greater London". This overrides prefix if specified. Use this to generate a link including "Greater London".
WMsuffix= Text to follow "West Midlands" when forming its link. This overrides suffix if specified. Use this to generate a link ending in "West Midlands (county)" or "West Midlands county".
hash= Set this to # if the links are to anchors in the current article, otherwise leave blank. Unlike prefix, the "#" is placed immediately before the county name, without a space character. This parameter could also be set to <ArticleName># for anchors in another article. Incompatible with prefix or any of the overriding prefixes.
year= 1998 Specify which year to be displayed. Omit to display the present-day counties. Supported years are: 1851, 1889, 1965, 1974, 1996, 1997, or 1998. These are years when significant boundary changes occurred.
showridings= Specify yes if you want to display Yorkshire split into three ridings. The option works only for years before 1974.
showcity= auto
  • The default setting auto will display a blue link "Not shown: City of London" if the article exists, or nothing if it doesn't exist.
  • yes will always display a City of London link even if it is red (the article does not exist)
  • no never displays a City of London link even if the article exists
caption=
  • The default is no caption

Examples edit

Example link Template usage
[[Trumptonshire|Trumps.]] {{England Ceremonial Counties Labelled Map|Londonprefix = Greater
|WMsuffix = (county)
}}
This example replicates the behaviour of earlier versions of this template, before 31 January 2012.
[[List of places in Trumptonshire|Trumps.]] {{England Ceremonial Counties Labelled Map|prefix = List of places in
|IOWprefix = List of places on the
}}
[[List of bus routes in Trumptonshire|Trumps.]] {{England Ceremonial Counties Labelled Map|prefix = List of bus routes in
|WMsuffix = county
|IOWprefix = List of bus routes on the
}}
[[List of civil parishes in Trumptonshire|Trumps.]] {{England Ceremonial Counties Labelled Map|prefix = List of civil parishes in
|WMprefix = List of civil parishes in the ceremonial county of
|Londonprefix = List of civil parishes in Greater
|IOWprefix = List of civil parishes on the
}}
[[:Category:Trumptonshire|Trumps.]] {{England Ceremonial Counties Labelled Map|ns = :Category:
|WMsuffix = (county)
}}
[[:Category:People from Trumptonshire|Trumps.]] {{England Ceremonial Counties Labelled Map|ns = :Category:
|prefix = People from
|WMsuffix = (county)
}}
[[#Trumptonshire|Trumps.]] {{England Ceremonial Counties Labelled Map|hash = #}}