Template:Postcode areas imagemap/doc
This is a documentation subpage for Template:Postcode areas imagemap. It contains usage information, categories and other content that is not part of the original template page. |
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
Basic usage:
{{Postcode areas imagemap}}
Extended usage:
{{Postcode areas imagemap | size=... | location=... }}
Parameters
- 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-alignedcenter
for non-wrapping centre-alignedleft
for wrapping left-alignedright
for wrapping right-aligned
- Defaults to
right
See also
- {{Postcode area imagemap}} for detailed imagemap of postcode districts within a given postcode area or the LONDON post town
- {{Postcode areas in the United Kingdom}}
- {{Postcode area table start}}