قالب:England Labelled Map

Template documentation[view] [edit] [history] [purge]

This template displays a labelled map of the Regions of England, with each region name linked to a Wikipedia article or category associated with that region. It is intended to provide a navigation template for family of region-related articles or categories about the same subject matter. For example, the links could all take the form "List of rivers in <regionname>".

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.)

Usage

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

Parameter Default Usage
width= 370 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 region 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 region name when forming links. E.g. List of rivers in. If this parameter is specified, the word "the" will automatically be appended for the regions "East of England", "West Midlands" and "East Midlands".
suffix= Text to follow every region name when forming links.
Londonprefix= Text to precede "London" when forming the link labelled "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 (region)" or "West Midlands region".
UK= If non-empty, this adds 3 links, one each for Wales, Scotland and Northern Ireland.

Examples

Example link Template usage
[[East of England]] {{England Labelled Map|Londonprefix = Greater
|WMsuffix = (region)
}}
This example replicates the behaviour of earlier versions of this template, before 22 April 2012.
[[List of places in the East of England|East of England]] {{England Labelled Map|prefix = List of places in
|WMsuffix = (region)
}}
[[:Category:East of England|East of England.]] {{England Labelled Map|ns = :Category:
|WMsuffix = (region)
}}
[[:Category:People from the East of England|East of England]] {{England Labelled Map|ns = :Category:
|prefix = People from
|WMsuffix = (region)
}}