Template talk:Infobox UK place/local

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Protection template[edit]

{{editprotected}} Please change the incorrect protection template in Template:Infobox UK place/local to the correct {{Pp-template|small=yes}}. Debresser (talk) 00:40, 10 September 2009 (UTC)[reply]

 Done Thanks. Skier Dude (talk) 03:19, 10 September 2009 (UTC)[reply]

Powys[edit]

{{editprotected}} If the infobox is given |unitary wales=[[Powys]], it doesn't give a link for "List of places in Powys". I have determined that this is due to a misplaced entry. There are two changes required to fix this:

  • There are three lines reading:
| [[Gwynedd]] = [[List of places in Gwynedd|Gwynedd]]
| [[Powys]] = [[List of places in Powys|Powys]]
| [[Wrexham (county borough)|Wrexham]] = [[List of places in Wrexham county borough|Wrexham]]

Cut the middle line to your paste buffer. The lines will now read:

| [[Gwynedd]] = [[List of places in Gwynedd|Gwynedd]]
| [[Wrexham (county borough)|Wrexham]] = [[List of places in Wrexham county borough|Wrexham]]
  • There are two lines reading:
| [[Pembrokeshire]] = [[List of places in Pembrokeshire|Pembrokeshire]]
}}}}

In between these, paste the line which was cut above. The lines will now read:

| [[Pembrokeshire]] = [[List of places in Pembrokeshire|Pembrokeshire]]
| [[Powys]] = [[List of places in Powys|Powys]]
}}}}

There are two other problems not directly related to the above. Both may be fixed by the insertion of non-existent lines.

  • there are two lines (as a result of the above changes) reading:
| [[Gwynedd]] = [[List of places in Gwynedd|Gwynedd]]
| [[Wrexham (county borough)|Wrexham]] = [[List of places in Wrexham county borough|Wrexham]]

Insert one line so that they read:

| [[Gwynedd]] = [[List of places in Gwynedd|Gwynedd]]
| [[Wrexham]]
| [[Wrexham (county borough)|Wrexham]] = [[List of places in Wrexham county borough|Wrexham]]
  • There are two lines reading:
| [[Merthyr Tydfil]] = [[List of places in Merthyr Tydfil|Merthyr Tydfil]]
| [[Rhondda Cynon Taff]] = [[List of places in Rhondda Cynon Taff|Rhondda Cynon Taff]]

Insert one line so that they read:

| [[Merthyr Tydfil]] = [[List of places in Merthyr Tydfil|Merthyr Tydfil]]
| [[Rhondda Cynon Taf]] = [[List of places in Rhondda Cynon Taf|Rhondda Cynon Taf]]
| [[Rhondda Cynon Taff]] = [[List of places in Rhondda Cynon Taff|Rhondda Cynon Taff]]

The last one was due to this edit being incomplete; the first two (Powys and Wrexham), were due to this edit.

I have only checked Wales for internal consistency. There may be issues with other areas. --Redrose64 (talk) 17:27, 9 January 2010 (UTC)[reply]

 DoneTheDJ (talkcontribs) 19:33, 9 January 2010 (UTC)[reply]
sorry, not done - not completely anyway. You added [[Rhondda Cynon Taff]] (two "f"s) but it was [[Rhondda Cynon Taf]] (one "f") that was required (see above) - the two "f" form was already in there. --Redrose64 (talk) 20:01, 9 January 2010 (UTC)[reply]
 Done. By the way, I don't believe there is any requirement that the items in a switch statement should be in alphabetical order. — Martin (MSGJ · talk) 11:00, 10 January 2010 (UTC)[reply]
No, indeed there isn't - but when the same set of values comes up in two different switch statements, it's easier to check that they correspond if they're in the same order as each other.
BTW now that this is resolved, there is likely to be a further list of amendments coming soon: you can see the background for this at Template talk:Infobox UK place#Police and Fire. --Redrose64 (talk) 11:20, 10 January 2010 (UTC)[reply]

Disambiguation and redirect fixes[edit]

{{Edit protected}}

  1. Further to feedback at Wikipedia talk:Disambiguation pages with links#Highland and infobox link problem, please replace the link in Template:Infobox UK place/local to disambiguation page Highland with piped link to Highland (council area):
    • | maptitle = the [[Highland]] council area

      | maptitle = the [[Highland (council area)|Highland]] council area
    (There is probably no need to remove the switch case in the lines before this, nor the switch case for the West Midlands dab page, as parameters with these dablinks can be fixed in the individual articles.)
  2. An extra switch case should be added for Middlesbrough as Middlesbrough (borough) now redirects there:
    • | [[Middlesbrough (borough)]]
      | [[Middlesbrough (borough)|Middlesbrough]] = {{#switch: {{{retrieve}}}


      | [[Middlesbrough]]
      | [[Middlesbrough (borough)]]
      | [[Middlesbrough (borough)|Middlesbrough]] = {{#switch: {{{retrieve}}}
  3. Lancashire Police has moved to Lancashire Constabulary:
    • | police = [[Lancashire Police|Lancashire]]

      | police = [[Lancashire Constabulary|Lancashire]]
  4. East Sussex Fire and Rescue Service has moved to East Sussex Fire & Rescue Service:
    • | fire = [[East Sussex Fire and Rescue Service|East Sussex]]

      | fire = [[East Sussex Fire & Rescue Service|East Sussex]]
  5. West Mercia Constabulary has moved to West Mercia Police and appears three times:
    • | police = [[West Mercia Constabulary|West Mercia]]

      | police = [[West Mercia Police|West Mercia]]
    The above amendment is needed at three places in the wikicode (under Herefordshire, Shropshire, Worcestershire).
  6. List of places in West Midlands has moved to List of places in the West Midlands:
    • | footer = [[List of places in West Midlands|West Midlands]]

      | footer = [[List of places in the West Midlands|West Midlands]]
  7. "the City of Edinburgh" in the maptitle output should change to "Edinburgh" and also have a duplicate line deleted:
    • | maptitle = the [[City of Edinburgh]]
      | fire = [[Lothian and Borders Fire and Rescue Service|Lothian and Borders]]
      | police = [[Lothian and Borders Police|Lothian and Borders]]
      | maptitle = the [[City of Edinburgh]]


      | maptitle = [[Edinburgh]]
      | fire = [[Lothian and Borders Fire and Rescue Service|Lothian and Borders]]
      | police = [[Lothian and Borders Police|Lothian and Borders]]
    Note deletion of "the " in the first line above and deletion of the fourth line above.
  8. "the City of Glasgow" in the maptitle output should change to "Glasgow":
    • | maptitle = the [[City of Glasgow]]

      | maptitle = [[Glasgow]]
    Note deletion of "the " in the first line above.
  9. List of places in Conwy county borough has moved to List of places in Conwy County Borough:
    • | footer = [[List of places in Conwy county borough|Conwy]]

      | footer = [[List of places in Conwy County Borough|Conwy]]
  10. List of places in Wrexham county borough has moved to List of places in Wrexham County Borough:
    • | footer = [[List of places in Wrexham county borough|Wrexham]]

      | footer = [[List of places in Wrexham County Borough|Wrexham]]
  11. List of places in Caerphilly county borough has moved to List of places in Caerphilly County Borough:
    • | footer = [[List of places in Caerphilly county borough|Caerphilly]]

      | footer = [[List of places in Caerphilly County Borough|Caerphilly]]
  12. Three bullet characters should be removed because they repeat bullets hardcoded elsewhere:
    • | footer = • [[Areas of Aberdeen|Aberdeen]]

      | footer = [[Areas of Aberdeen|Aberdeen]]
    • | footer = • [[Areas of Edinburgh|Edinburgh]]

      | footer = [[Areas of Edinburgh|Edinburgh]]
    • | footer = • [[List of places in Glasgow|Glasgow]]

      | footer = [[List of places in Glasgow|Glasgow]]

Richardguk (talk) 13:19, 4 September 2010 (UTC)[reply]

 Done All changes done. If there are any problems drop me a note. Keith D (talk) 17:01, 4 September 2010 (UTC)[reply]
Thanks Keith. On point 5, you overlooked that the amendment was needed in three places. You've fixed the Herefordshire instance, but the ones under Shropshire and under Worcestershire need the same change:
  • | police = [[West Mercia Constabulary|West Mercia]]

    | police = [[West Mercia Police|West Mercia]]
Other than that, I think that's perfect. Sorry for the rather long list – perhaps I should have used a sandbox to save you some work!
Richardguk (talk) 01:43, 5 September 2010 (UTC)[reply]
 Done Sorry I missed the word three when doing that one, even though you gave a prompt after the code change. Keith D (talk) 16:09, 5 September 2010 (UTC)[reply]

Newport, Wales[edit]

A question has been raised at WP:HD, and following it through I see that the map title is shown as Newport where it should be [[Newport, Wales|Newport]] for Newport. Could someone edit this, please? --David Biddulph (talk) 05:39, 2 March 2014 (UTC)[reply]

Done, some hours ago with this edit, but I only just noticed this request. --Redrose64 (talk) 14:06, 2 March 2014 (UTC)[reply]
  • That would be why I was confused... Meh, who am I kidding, I'm always confused... :p {{U|Technical 13}} (tec) 14:23, 2 March 2014 (UTC)[reply]

Template-protected edit request on 25 August 2016 - Fire service for Dorset & Wiltshire[edit]


Dorset and Wiltshire Fire and Rescue Service was formed in April 2016. Please update the 'fire' items for Dorset and Wiltshire accordingly.

Wire723 (talk) 10:01, 25 August 2016 (UTC)[reply]

Done --Redrose64 (talk) 12:27, 25 August 2016 (UTC)[reply]

Template-protected edit request 2020-09-21[edit]

Not restricted to city, change Category:United Kingdom city infobox templates to Category:United Kingdom place infobox templates, actually matching the name. TerraCyprus (talk) 13:07, 21 September 2020 (UTC)[reply]

 DoneJonesey95 (talk) 15:45, 21 September 2020 (UTC)[reply]

Jonesey95, thank you very much. Could you also change 'city' to 'place' for this subtemplate: Template:Infobox UK place/doc/London. And then Category:United Kingdom city infobox templates and Category:European city infobox templates could be speedy deleted. TerraCyprus (talk) 18:47, 21 September 2020 (UTC)[reply]

Edit request on 20 November 2021: bypass Dorset & Wiltshire redirect[edit]

Bypass redirect: Dorset and Wiltshire Fire and Rescue Service -> Dorset & Wiltshire Fire and Rescue Service Wire723 (talk) 11:51, 20 November 2021 (UTC)[reply]

 Done User:GKFXtalk 14:18, 20 November 2021 (UTC)[reply]