Difference between revisions of "Template:Infobox UK postcode area"

From blackwiki
Jump to navigation Jump to search
imported>Richardguk
(set {{Attached KML}} "display=title" instead of "display=inline,title" so that inline links can be added manually to each article in a section further down the page)
imported>Richardguk
(suppress KML for non-Great Britain areas where OpenData is not available: BT, GY, IM, JE)
Line 1: Line 1:
{{Attached KML|display=title|title=Postcode district boundaries}}<!--
+
{{#switch:{{{area_code|}}}<!--
 +
Use coordinates where no OpenData boundaries for non-Great Britain areas:
 +
-->|BT|GY|IM|JE|={{Coord|{{Infobox UK postcode area/stats|{{{area_code|WC}}}|LA}}|{{Infobox UK postcode area/stats|{{{area_code|WC}}}|LO}}|region:{{#switch:{{{area_code|}}}|GY=GG|IM=IM|JE=JE|#default=GB}}_scale:500000|display=title}}<!--
 +
Use KML postcode district boundaries for Great Britain areas:
 +
-->|#default={{Attached KML|display=title|title=Postcode district boundaries}}<!--
 +
-->}}<!--
 
--><table class="infobox geography vcard" style="width: 23em;">
 
--><table class="infobox geography vcard" style="width: 23em;">
 
<tr>
 
<tr>

Revision as of 21:39, 18 October 2012

Lua error: callParserFunction: function "#coordinates" was not found.

postcode area
Postcode area {{{area_code}}}
Postcode area name
Post towns
Postcode districts
Postcode sectors
Postcodes (live)
Postcodes (total)
Statistics as at February 2012[1]
50px Template documentation[view] [edit] [history] [purge]

Template:Uses Infobox settlement

Microformat

Template:UF-hcard-place

References

  1. "ONS Postcode Directory Version Notes" (ZIP). National Statistics Postcode Products. Office for National Statistics. 2012. Table 2. Retrieved 21 April 2012. Unknown parameter |month= ignored (help); External link in |work= (help) Coordinates from mean of unit postcode points, "Code-Point Open". OS OpenData. Ordnance Survey. 2012. Retrieved 21 April 2012. Unknown parameter |month= ignored (help); External link in |work= (help)

References