Template:England Ceremonial Counties Labelled Map/doc
This is a documentation subpage for Template:England Ceremonial Counties Labelled Map. It may contain usage information, categories and other content that is not part of the original template page. |
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 |
|
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 |
|
caption= |
|
Examples
[edit]Example link | Template usage |
---|---|
[[Trumptonshire|Trumps.]] | {{England Ceremonial Counties Labelled Map|Londonprefix = Greater 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
|
[[List of bus routes in Trumptonshire|Trumps.]] | {{England Ceremonial Counties Labelled Map|prefix = List of bus routes in
|
[[List of civil parishes in Trumptonshire|Trumps.]] | {{England Ceremonial Counties Labelled Map|prefix = List of civil parishes in
|
[[:Category:Trumptonshire|Trumps.]] | {{England Ceremonial Counties Labelled Map|ns = :Category:
|
[[:Category:People from Trumptonshire|Trumps.]] | {{England Ceremonial Counties Labelled Map|ns = :Category:
|
[[#Trumptonshire|Trumps.]] | {{England Ceremonial Counties Labelled Map|hash = #}}
|