Template:Postcode areas imagemap/doc

From Simple English Wikipedia, the free encyclopedia

This template displays an imagemap of the 121 postcode areas in the United Kingdom and the 3 postcode areas in the Crown dependencies (GY, IM and JE).

The map used is File:British postcode areas map.svg. The template overlays the map with polygons corresponding to the postcode areas (including the areas shown at larger scale on the London and Manchester inset maps). This causes a tooltip and link for the relevant postcode area article to appear when users hover the mouse over an area on the map outside the subject area.

Usage[change source]

Basic usage:

{{Postcode areas imagemap}}

Extended usage:

{{Postcode areas imagemap | size=... | location=... }}

Parameters[change source]

size
Optional image size, specifying the maximum width and/or height, one of:
  • maxwidthpx
  • xmaxheightpx
  • maxwidthxmaxheightpx
(see Wikipedia:Extended image syntax#Size for syntax details)
Defaults to 300px (map scaled to 300 pixels width)
The unscaled SVG image file on Wikimedia Commons has a notional size of 886x1369px.
location
Optional horizontal thumbnail alignment, one of:
  • none for non-wrapping left-aligned
  • center for non-wrapping centre-aligned
  • left for wrapping left-aligned
  • right for wrapping right-aligned
Defaults to right

See also[change source]