Template talk:Infobox UK postcode area

Latest comment: 8 years ago by Rodw in topic External link in |<param>=

Syntax

edit
 {{Infobox UK postcode area|
 | area_code=SE
 | map=[[Image:SELondon.PNG|250px|]]
 | source=Statistics as at October 2006 <ref>National Statistics, ''[http://www.statistics.gov.uk/geography/downloads/NSPDVersionNotes.pdf Postcode Directory Version Notes]'', (2006)</ref>
 }}
KML is not from Wikidata
London SE
 
 
 
SE
Coordinates: 51°27′58″N 0°01′55″W / 51.466°N 0.032°W / 51.466; -0.032
CountryUnited Kingdom
Postcode area
SE
Postcode area name
London SE
Post towns1
Postcode districts30
Postcode sectors129
Postcodes (live)20,476
Postcodes (total)34,165
Statistics as at May 2020[1]

Maps

edit

I have maps of all the postcode areas but lack the skill to turn them into anything useful (and outside of copyright). If anyone has any skill in that department and a desire to make some maps for use in the infoboxes please drop me a note. MRSCTalk 13:41, 23 March 2007 (UTC)Reply

Statistics data

edit

Most of comes from here: [1] MRSCTalk 13:41, 23 March 2007 (UTC)Reply

All the required data in now included in Template:Infobox_UK_postcode_area/stats.

Automation

edit

I've automated the postcode area name.

Just wondering if it may be better to include all the stats inside the template and just leave the area_code & map options available.

 {{Infobox UK postcode area|
 | area_code=SE
 | map=[[Image:SELondon.PNG|250px|]]
 }}

WOSlinker 23:00, 23 March 2007 (UTC)Reply

I did consider this, but some folks get angry if they want to edit something and it isn't very clear how to get there. That said, the data can be uploaded in one place which is good. MRSCTalk 08:42, 24 March 2007 (UTC)Reply
I've now automated all the figures, however, having moved the ref into the infobox, it now doesn't show up in the references list at the bottom of the articles. I'm not sure why. - WOSlinker 10:08, 24 March 2007 (UTC)Reply
Looks like an issue with the Wiki System, see Meta:Cite/Cite.php#Problems. - WOSlinker 12:31, 24 March 2007 (UTC)Reply
I've removed the source out of the template and into the article as this seems to resolve it. MRSCTalk 09:02, 25 March 2007 (UTC)Reply
edit

The reference format for the stats in this infobox is creating an error "External link in |<param>=" which must be appearing on loads of articles. The help at Help:CS1 errors says to move the ext link to a url= but I am nervous about attempting to edit templates. Can anyone help?— Rod talk 20:10, 6 October 2015 (UTC)Reply

  1. ^ "ONS Postcode Directory Version Notes" (ZIP). National Statistics Postcode Products. Office for National Statistics. May 2020. Table 2. Retrieved 19 Jun 2020. Coordinates from mean of unit postcode points, "Code-Point Open". OS OpenData. Ordnance Survey. February 2012. Retrieved 21 April 2012.