Template:Infobox UK place/local/sandbox

{{#switch: {{{level1}}}

| England = {{#switch: {{{level2}}}

| East Midlands = {{#ifeq: {{{retrieve}}}|region|East Midlands|{{#switch: {{{level3}}}

| Derbyshire | Derbyshire = {{#switch: {{{retrieve}}}

| map = United Kingdom Derbyshire

| maptitle = Derbyshire

| fire = Derbyshire

| police = Derbyshire

| footer = Derbyshire

| ambulance = {{#switch: {{{postcode}}}

| SK13 = North West

| #default = East Midlands

}}}}

| Leicestershire | Leicestershire = {{#switch: {{{retrieve}}}

| map = United Kingdom Leicestershire

| maptitle = Leicestershire

| ambulance = East Midlands

| fire = Leicestershire

| police = Leicestershire

| footer = Leicestershire

}}

| Lincolnshire | Lincolnshire = {{#switch: {{{retrieve}}}

| map = United Kingdom Lincolnshire

| maptitle = Lincolnshire

| ambulance = East Midlands

| fire = Lincolnshire

| police = Lincolnshire

| footer = Lincolnshire

}}

| Northamptonshire | Northamptonshire = {{#switch: {{{retrieve}}}

| map = United Kingdom Northamptonshire

| maptitle = Northamptonshire

| ambulance = East Midlands

| fire = Northamptonshire

| police = Northamptonshire

| footer = Northamptonshire

}}

| Nottinghamshire | Nottinghamshire = {{#switch: {{{retrieve}}}

| map = United Kingdom Nottinghamshire

| maptitle = Nottinghamshire

| ambulance = East Midlands

| fire = Nottinghamshire

| police = Nottinghamshire

| footer = Nottinghamshire

}}

| Rutland | Rutland = {{#switch: {{{retrieve}}}

| map = United Kingdom Rutland

| maptitle = Rutland

| ambulance = East Midlands

| fire = Leicestershire

| police = Leicestershire

| footer = Rutland

}}}}}}

| East of England = {{#switch: {{{retrieve}}}

| ambulance = East of England

| region = East

| #default = {{#switch: {{{level3}}}

| Bedfordshire | Bedfordshire = {{#switch: {{{retrieve}}}

| map = United Kingdom Bedfordshire

| maptitle = Bedfordshire

| fire = Bedfordshire and Luton

| police = Bedfordshire

| footer = Bedfordshire

}}

| Cambridgeshire | Cambridgeshire = {{#switch: {{{retrieve}}}

| map = United Kingdom Cambridgeshire

| maptitle = Cambridgeshire

| fire = Cambridgeshire

| police = Cambridgeshire

| footer = Cambridgeshire

}}

| Essex | Essex = {{#switch: {{{retrieve}}}

| map = United Kingdom Essex

| maptitle = Essex

| fire = Essex

| police = Essex

| footer = Essex

}}

| Hertfordshire | Hertfordshire = {{#switch: {{{retrieve}}}

| map = United Kingdom Hertfordshire

| maptitle = Hertfordshire

| fire = Hertfordshire

| police = Hertfordshire

| footer = Hertfordshire

}}

| Norfolk | Norfolk = {{#switch: {{{retrieve}}}

| map = United Kingdom Norfolk

| maptitle = Norfolk

| fire = Norfolk

| police = Norfolk

| footer = Norfolk

}}

| Suffolk | Suffolk = {{#switch: {{{retrieve}}}

| map = United Kingdom Suffolk

| maptitle = Suffolk

| fire = Suffolk

| police = Suffolk

| footer = Suffolk

}}}}}}

| London

| Greater London = {{#switch: {{{retrieve}}}

| map = United Kingdom Greater London

| maptitle = Greater London

| ambulance = London

| fire = London

| region = London

| footer = London

| #default = {{#switch: {{{level3}}}

| City of London = {{#switch: {{{retrieve}}}

| assembly = City and East

| borough = City of London

| boroughhead = Sui generis

| countyhead = Administrative area

| police = City of London

}}

| #default = {{#switch: {{{retrieve}}}

| boroughhead = London borough

| countyhead = Ceremonial county

| police = Metropolitan

| #default = {{#switch: {{{level4}}}

| Barking and Dagenham

| Barking & Dagenham = {{#switch: {{{retrieve}}}

| assembly = City and East

| borough = Barking & Dagenham

}}

| Barnet = {{#switch: {{{retrieve}}}

| assembly = Barnet and Camden

| borough = Barnet

}}

| Bexley = {{#switch: {{{retrieve}}}

| assembly = Bexley and Bromley

| borough = Bexley

}}

| Brent = {{#switch: {{{retrieve}}}

| assembly = Brent and Harrow

| borough = Brent

}}

| Bromley = {{#switch: {{{retrieve}}}

| assembly = Bexley and Bromley

| borough = Bromley

}}

| Camden = {{#switch: {{{retrieve}}}

| assembly = Barnet and Camden

| borough = Camden

}}

| Croydon = {{#switch: {{{retrieve}}}

| assembly = Croydon and Sutton

| borough = Croydon

}}

| Ealing = {{#switch: {{{retrieve}}}

| assembly = Ealing and Hillingdon

| borough = Ealing

}}

| Enfield = {{#switch: {{{retrieve}}}

| assembly = Enfield and Haringey

| borough = Enfield

}}

| Greenwich = {{#switch: {{{retrieve}}}

| assembly = Greenwich and Lewisham

| borough = Greenwich

}}

| Hackney = {{#switch: {{{retrieve}}}

| assembly = North East

| borough = Hackney

}}

| Hammersmith and Fulham

| Hammersmith & Fulham = {{#switch: {{{retrieve}}}

| assembly = West Central

| borough = Hammersmith & Fulham

}}

| Haringey = {{#switch: {{{retrieve}}}

| assembly = Enfield and Haringey

| borough = Haringey

}}

| Harrow = {{#switch: {{{retrieve}}}

| assembly = Brent and Harrow

| borough = Harrow

}}

| Havering = {{#switch: {{{retrieve}}}

| assembly = Havering and Redbridge

| borough = Havering

}}

| Hillingdon = {{#switch: {{{retrieve}}}

| assembly = Ealing and Hillingdon

| borough = Hillingdon

}}

| Hounslow = {{#switch: {{{retrieve}}}

| assembly = South West

| borough = Hounslow

}}

| Islington = {{#switch: {{{retrieve}}}

| assembly = North East

| borough = Islington

}}

| Kensington and Chelsea

| Kensington & Chelsea = {{#switch: {{{retrieve}}}

| assembly = West Central

| borough = Kensington & Chelsea

}}

| Kingston upon Thames

| Kingston = {{#switch: {{{retrieve}}}

| assembly = South West

| borough = Kingston

}}

| Lambeth = {{#switch: {{{retrieve}}}

| assembly = Lambeth and Southwark

| borough = Lambeth

}}

| Lewisham = {{#switch: {{{retrieve}}}

| assembly = Greenwich and Lewisham

| borough = Lewisham

}}

| Merton = {{#switch: {{{retrieve}}}

| assembly = Merton and Wandsworth

| borough = Merton

}}

| Newham = {{#switch: {{{retrieve}}}

| assembly = City and East

| borough = Newham

}}

| Redbridge = {{#switch: {{{retrieve}}}

| assembly = Havering and Redbridge

| borough = Redbridge

}}

| Richmond upon Thames

| Richmond = {{#switch: {{{retrieve}}}

| assembly = South West

| borough = Richmond

}}

| Southwark = {{#switch: {{{retrieve}}}

| assembly = Lambeth and Southwark

| borough = Southwark

}}

| Sutton = {{#switch: {{{retrieve}}}

| assembly = Croydon and Sutton

| borough = Sutton

}}

| Tower Hamlets = {{#switch: {{{retrieve}}}

| assembly = City and East

| borough = Tower Hamlets

}}

| Waltham Forest = {{#switch: {{{retrieve}}}

| assembly = North East

| borough = Waltham Forest

}}

| Wandsworth = {{#switch: {{{retrieve}}}

| assembly = Merton and Wandsworth

| borough = Wandsworth

}}

| Westminster = {{#switch: {{{retrieve}}}

| assembly = West Central

| borough = Westminster

}}}}}}}}}}

| North East England = {{#switch: {{{retrieve}}}

| ambulance = North East

| region = North East

| #default = {{#switch: {{{level3}}}

| County Durham

| Durham = {{#switch: {{{level4}}}

| Borough of Stockton-on-Tees

| Stockton-on-Tees

| Stockton-on-Tees

| Stockton-on-Tees (borough)

| Redcar and Cleveland

| Borough of Hartlepool

| Hartlepool

| Hartlepool (borough)

| Hartlepool

| Middlesbrough

| Middlesbrough (borough)

| Middlesbrough = {{#switch: {{{retrieve}}}

| map = United Kingdom County Durham

| maptitle = County Durham

| fire = Cleveland

| police = Cleveland

| footer = County Durham

}}

| #default = {{#switch: {{{retrieve}}}

| map = United Kingdom County Durham

| maptitle = County Durham

| fire = County Durham and Darlington

| police = Durham

| footer = County Durham

}}}}

| Northumberland | Northumberland = {{#switch: {{{retrieve}}}

| map = United Kingdom Northumberland

| maptitle = Northumberland

| fire = Northumberland

| police = Northumbria

| footer = Northumberland

}}

| North Yorkshire | North Yorkshire = {{#switch: {{{retrieve}}}

| map = United Kingdom North Yorkshire

| maptitle = North Yorkshire

| fire = Cleveland

| police = Cleveland

| footer = Yorkshire

}}

| Tyne and Wear

| Tyne & Wear

| Tyne & Wear = {{#switch: {{{retrieve}}}

| map = United Kingdom Tyne and Wear

| maptitle = Tyne and Wear

| fire = Tyne and Wear

| police = Northumbria

| footer = Tyne and Wear

}}}}}}

| North West England = {{#switch: {{{retrieve}}}

| ambulance = North West

| region = North West

| #default = {{#switch: {{{level3}}}

| Cheshire | Cheshire = {{#switch: {{{retrieve}}}

| map = United Kingdom Cheshire

| maptitle = Cheshire

| fire = Cheshire

| police = Cheshire

| footer = Cheshire

}}

| Cumbria | Cumbria = {{#switch: {{{retrieve}}}

| map = United Kingdom Cumbria

| maptitle = Cumbria

| fire = Cumbria

| police = Cumbria

| footer = Cumbria

}}

| Greater Manchester | Greater Manchester = {{#switch: {{{retrieve}}}

| map = United Kingdom Greater Manchester

| maptitle = Greater Manchester

| fire = Greater Manchester

| police = Greater Manchester

| footer = Greater Manchester

}}

| Lancashire | Lancashire = {{#switch: {{{retrieve}}}

| map = United Kingdom Lancashire

| maptitle = Lancashire

| fire = Lancashire

| police = Lancashire

| footer = Lancashire

}}

| Merseyside | Merseyside = {{#switch: {{{retrieve}}}

| map = United Kingdom Merseyside

| maptitle = Merseyside

| fire = Merseyside

| police = Merseyside

| footer = Merseyside

}}}}}}

| South East England = {{#ifeq: {{{retrieve}}}|region|South East|{{#switch: {{{level3}}}

| Berkshire | Berkshire = {{#switch: {{{retrieve}}}

| map = United Kingdom Berkshire

| maptitle = Berkshire

| ambulance = South Central

| fire = Royal Berkshire

| police = Thames Valley

| footer = Berkshire

}}

| Buckinghamshire | Buckinghamshire = {{#switch: {{{retrieve}}}

| map = United Kingdom Buckinghamshire

| maptitle = Buckinghamshire

| ambulance = South Central

| fire = Buckinghamshire

| police = Thames Valley

| footer = Buckinghamshire

}}

| East Sussex | East Sussex = {{#switch: {{{retrieve}}}

| map = United Kingdom East Sussex

| maptitle = East Sussex

| ambulance = South East Coast

| fire = East Sussex

| police = Sussex

| footer = East Sussex

}}

| Hampshire | Hampshire = {{#switch: {{{retrieve}}}

| fire = Hampshire and Isle of Wight

| police = Hampshire and Isle of Wight

| footer = Hampshire

| #default = {{#switch: {{{level4}}}

| Southampton | Southampton = {{#switch: {{{retrieve}}}

| map = United Kingdom Southampton

| maptitle = Southampton

| ambulance = South Central

}}

| Rushmoor | Rushmoor = {{#switch: {{{retrieve}}}

| map = United Kingdom Hampshire

| maptitle = Hampshire

| ambulance = South East Coast

}}

| Hart = {{#switch: {{{retrieve}}}

| map = United Kingdom Hampshire

| maptitle = Hampshire

| ambulance = South Central

}}

| #default = {{#switch: {{{retrieve}}}

| map = United Kingdom Hampshire

| maptitle = Hampshire

| ambulance = South Central

}}}}}}

| Isle of Wight | Isle of Wight = {{#switch: {{{retrieve}}}

| map = United Kingdom Isle of Wight

| maptitle = the Isle of Wight

| ambulance = Isle of Wight

| fire = Hampshire and Isle of Wight

| police = Hampshire and Isle of Wight

| footer = Isle of Wight

}}

| Kent | Kent = {{#switch: {{{retrieve}}}

| map = United Kingdom Kent

| maptitle = Kent

| ambulance = South East Coast

| fire = Kent

| police = Kent

| footer = Kent

}}

| Oxfordshire | Oxfordshire = {{#switch: {{{retrieve}}}

| map = United Kingdom Oxfordshire

| maptitle = Oxfordshire

| ambulance = {{#ifeq: {{{official_name}}}|Shrivenham|South Western|South Central}}

| fire = Oxfordshire

| police = Thames Valley

| footer = Oxfordshire

}}

| Surrey | Surrey = {{#switch: {{{retrieve}}}

| map = United Kingdom Surrey

| maptitle = Surrey

| ambulance = South East Coast

| fire = Surrey

| police = Surrey

| footer = Surrey

}}

| West Sussex | West Sussex = {{#switch: {{{retrieve}}}

| map = United Kingdom West Sussex

| maptitle = West Sussex

| ambulance = South East Coast

| fire = West Sussex

| police = Sussex

| footer = West Sussex

}}}}}}

| South West England = {{#ifeq: {{{retrieve}}}|region|South West|{{#switch: {{{level3}}}

| Bristol | Bristol = {{#switch: {{{retrieve}}}

| map = United Kingdom Bristol

| maptitle = Bristol

| ambulance = South Western

| fire = Avon

| police = Avon and Somerset

| footer = Bristol

}}

| Cornwall | Cornwall = {{#switch: {{{retrieve}}}

| map = {{#ifeq:{{{level4}}}|Isles of Scilly|United Kingdom Isles of Scilly|United Kingdom Cornwall (mainland)}}

| maptitle = {{#ifeq:{{{level4}}}|Isles of Scilly|Isles of Scilly|Cornwall}}

| ambulance = South Western

| police = Devon and Cornwall

| footer = Cornwall

| fire = {{#switch: {{{level4}}}

| Isles of Scilly | Isles of Scilly = Isles of Scilly

| #default = Cornwall

}}}}

| Devon | Devon = {{#switch: {{{retrieve}}}

| map = United Kingdom Devon

| maptitle = Devon

| ambulance = South Western

| fire = Devon and Somerset

| police = Devon and Cornwall

| footer = Devon

}}

| Dorset | Dorset = {{#switch: {{{retrieve}}}

| map = United Kingdom Dorset

| maptitle = Dorset

| ambulance = South Western

| fire = Dorset and Wiltshire

| police = Dorset

| footer = Dorset

}}

| Gloucestershire | Gloucestershire = {{#switch: {{{retrieve}}}

| map = United Kingdom Gloucestershire

| maptitle = Gloucestershire

| ambulance = South Western

| footer = Gloucestershire

| #default = {{#switch: {{{level4}}}

| South Gloucestershire | South Gloucestershire = {{#ifeq: {{{retrieve}}}|fire|Avon}}{{#ifeq: {{{retrieve}}}|police|Avon and Somerset}}

| #default = {{#ifeq: {{{retrieve}}}|fire|Gloucestershire}}{{#ifeq: {{{retrieve}}}|police|Gloucestershire}}

}}}}

| Somerset | Somerset = {{#switch: {{{retrieve}}}

| map = United Kingdom Somerset

| maptitle = Somerset

| police = Avon and Somerset

| footer = Somerset

| #default = {{#switch: {{{level4}}}

| Bath and North East Somerset

| North Somerset | North Somerset = {{#ifeq: {{{retrieve}}}|ambulance|South Western}}{{#ifeq: {{{retrieve}}}|fire|Avon}}

| #default = {{#ifeq: {{{retrieve}}}|ambulance|South Western}}{{#ifeq: {{{retrieve}}}|fire|Devon and Somerset}}

}}}}

| Wiltshire | Wiltshire = {{#switch: {{{retrieve}}}

| map = United Kingdom Wiltshire

| maptitle = Wiltshire

| ambulance = South Western

| fire = Dorset and Wiltshire

| police = Wiltshire

| footer = Wiltshire

}}}}}}

| West Midlands = {{#switch: {{{retrieve}}}

| ambulance = West Midlands

| region = West Midlands

| #default = {{#switch: {{{level3}}}

| Herefordshire | Herefordshire = {{#switch: {{{retrieve}}}

| map = United Kingdom Herefordshire

| maptitle = Herefordshire

| fire = Hereford and Worcester

| police = West Mercia

| footer = Herefordshire

}}

| Shropshire | Shropshire = {{#switch: {{{retrieve}}}

| map = United Kingdom Shropshire

| maptitle = Shropshire

| fire = Shropshire

| police = West Mercia

| footer = Shropshire

}}

| Staffordshire | Staffordshire = {{#switch: {{{retrieve}}}

| map = United Kingdom Staffordshire

| maptitle = Staffordshire

| fire = Staffordshire

| police = Staffordshire

| footer = Staffordshire

}}

| Warwickshire | Warwickshire = {{#switch: {{{retrieve}}}

| map = United Kingdom Warwickshire

| maptitle = Warwickshire

| fire = Warwickshire

| police = Warwickshire

| footer = Warwickshire

}}

| West Midlands

| West Midlands | West Midlands = {{#switch: {{{retrieve}}}

| map = United Kingdom West Midlands

| maptitle = the West Midlands

| fire = West Midlands

| police = West Midlands

| footer = West Midlands

}}

| Worcestershire | Worcestershire = {{#switch: {{{retrieve}}}

| map = United Kingdom Worcestershire

| maptitle = Worcestershire

| fire = Hereford and Worcester

| police = West Mercia

| footer = Worcestershire

}}}}}}

| Yorkshire and the Humber = {{#ifeq: {{{retrieve}}}|region|Yorkshire and the Humber|{{#switch: {{{level3}}}

| East Riding of Yorkshire | East Riding of Yorkshire = {{#switch: {{{retrieve}}}

| map = United Kingdom East Riding of Yorkshire

| maptitle = the East Riding of Yorkshire

| ambulance = Yorkshire

| fire = Humberside

| police = Humberside

| footer = Yorkshire

}}

| Lincolnshire | Lincolnshire = {{#switch: {{{retrieve}}}

| map = United Kingdom Lincolnshire

| maptitle = Lincolnshire

| ambulance = East Midlands

| fire = Humberside

| police = Humberside

| footer = Lincolnshire

}}

| North Yorkshire | North Yorkshire = {{#switch: {{{retrieve}}}

| map = United Kingdom North Yorkshire

| maptitle = North Yorkshire

| ambulance = Yorkshire

| fire = North Yorkshire

| police = North Yorkshire

| footer = Yorkshire

}}

| South Yorkshire | South Yorkshire = {{#switch: {{{retrieve}}}

| ambulance = Yorkshire

| fire = South Yorkshire

| police = South Yorkshire

| footer = Yorkshire

| #default = {{#switch: {{{level4}}}

| City of Sheffield

| Sheffield | Sheffield = {{#switch: {{{retrieve}}}

| map = United Kingdom Sheffield

| maptitle = Sheffield

}}

| #default = {{#switch: {{{retrieve}}}

| map = United Kingdom South Yorkshire

| maptitle = South Yorkshire

}}}}}}

| West Yorkshire | West Yorkshire = {{#switch: {{{retrieve}}}

| map = United Kingdom West Yorkshire

| maptitle = West Yorkshire

| ambulance = Yorkshire

| fire = West Yorkshire

| police = West Yorkshire

| footer = Yorkshire

}}}}}}

| #default = {{#ifeq: {{{retrieve}}}|map|United Kingdom}}{{#ifeq: {{{retrieve}}}|maptitle|the United Kingdom{{Infobox UK place/NoLocalMap}}}}

}}

| Isle of Man = {{#switch: {{{retrieve}}}

| map = Isle of Man

| maptitle = the Isle of Man

| ambulance = Isle of Man

| fire = Isle of Man

| police = Isle of Man

| footer = Isle of Man

}}

| Northern Ireland = {{#switch: {{{retrieve}}}

| map = {{#switch: {{{level2}}}

| County Antrim | County Antrim = Northern Ireland

| County Armagh | County Armagh = Northern Ireland

| County Londonderry | County Londonderry = Northern Ireland

| County Down | County Down = County Down

| County Fermanagh | County Fermanagh = Northern Ireland

| County Tyrone | County Tyrone = Northern Ireland

| #default = Northern Ireland

}}

| maptitle = {{#switch: {{{level2}}}

| County Antrim | County Antrim = Northern Ireland

| County Armagh | County Armagh = Northern Ireland

| County Londonderry | County Londonderry = Northern Ireland

| County Down | County Down = County Down

| County Fermanagh | County Fermanagh = Northern Ireland

| County Tyrone | County Tyrone = Northern Ireland

| #default = Northern Ireland

}}

| ambulance = Northern Ireland

| fire = Northern Ireland

| police = Northern Ireland

| footer = {{#switch: {{{level2}}}

| County Antrim | County Antrim = Antrim

| County Armagh | County Armagh = Armagh

| County Londonderry | County Londonderry = County Londonderry

| County Down | County Down = Down

| County Fermanagh | County Fermanagh = Fermanagh

| County Tyrone | County Tyrone = Tyrone

}}}}

| Scotland = {{#switch: {{{retrieve}}}

| ambulance = Scottish

| fire = Scottish

| police = Scotland

| #default = {{#switch: {{{level2}}}

| Clackmannanshire | Clackmannanshire = {{#switch: {{{retrieve}}}

| map = Scotland Clackmannanshire

| maptitle = Clackmannanshire

}}

| Falkirk = {{#switch: {{{retrieve}}}

| map = Scotland Falkirk

| maptitle = the Falkirk council area

}}

| Stirling

| Stirling Council

| Stirling

| Stirling = {{#switch: {{{retrieve}}}

| map = Scotland Stirling

| maptitle = the Stirling council area

}}

| Dumfries and Galloway | Dumfries and Galloway = {{#switch: {{{retrieve}}}

| map = Scotland Dumfries and Galloway

| maptitle = Dumfries and Galloway

}}

| Fife | Fife = {{#switch: {{{retrieve}}}

| map = Scotland Fife

| maptitle = Fife

}}

| Aberdeen

| City of Aberdeen

| City of Aberdeen

| Aberdeen

| Aberdeen = {{#switch: {{{retrieve}}}

| map = {{#ifeq:{{PAGENAME}}|Aberdeen|Scotland|Scotland Aberdeen}}

| maptitle = {{#ifeq:{{PAGENAME}}|Aberdeen|Scotland|the City of Aberdeen}}

| footer = Aberdeen

}}

| Aberdeenshire | Aberdeenshire = {{#switch: {{{retrieve}}}

| map = Scotland Aberdeenshire

| maptitle = Aberdeenshire

}}

| Moray | Moray = {{#switch: {{{retrieve}}}

| map = Scotland Moray

| maptitle = Moray

}}

| Highland

| Highland = {{#switch: {{{retrieve}}}

| map = {{#switch: {{{level3}}}

|Skye

|Isle of Skye

|Isle of Skye = Scotland Isle of Skye

|Caithness

| Caithness |Caithness = Scotland Caithness

|Lochaber

| Lochaber |Lochaber = Scotland Lochaber

|Nairn

|Nairn

|Nairn

| Nairn |Nairn = Scotland Nairn

|Inverness

| Inverness |Inverness = Scotland Inverness

|Badenoch and Strathspey

| Badenoch and Strathspey |Badenoch and Strathspey = Scotland Badenoch and Strathspey

|Sutherland

| Sutherland |Sutherland = Scotland Sutherland

|Ross and Cromarty

| Ross and Cromarty |Ross and Cromarty = Scotland Ross and Cromarty

|#default = Scotland Highland

}}

| maptitle = {{#switch: {{{level3}}}

|Skye

|Isle of Skye

|Isle of Skye = the Isle of Skye

|Caithness

| Caithness |Caithness = the Caithness area

|Lochaber

| Lochaber |Lochaber = the Lochaber area

|Nairn

|Nairn

|Nairn

| Nairn |Nairn = the Nairn area

|Inverness

| Inverness |Inverness = the Inverness area

|Badenoch and Strathspey

| Badenoch and Strathspey |Badenoch and Strathspey = the Badenoch and Strathspey area

|Sutherland

| Sutherland |Sutherland = the Sutherland area

|Ross and Cromarty

| Ross and Cromarty |Ross and Cromarty = the Ross and Cromarty area

|#default = the Highland council area

}}

}}

| Orkney Islands

| Orkney Isles

| Orkney | Orkney = {{#switch: {{{retrieve}}}

| map = Scotland Orkney

| maptitle = Orkney

}}

| Shetland Islands

| Shetland Isles

| Shetland | Shetland = {{#switch: {{{retrieve}}}

| map = Scotland Shetland

| maptitle = Shetland

}}

| Na h-Eileanan Siar

| Outer Hebrides

| Na h-Eileanan Siar

| Western Isles | Western Isles = {{#switch: {{{retrieve}}}

| map = Scotland Outer Hebrides

| maptitle = the Outer Hebrides

}}

| East Lothian | East Lothian = {{#switch: {{{retrieve}}}

| map = Scotland East Lothian

| maptitle = East Lothian

}}

| Midlothian | Midlothian = {{#switch: {{{retrieve}}}

| map = Scotland Midlothian

| maptitle = Midlothian

}}

| Scottish Borders | Scottish Borders = {{#switch: {{{retrieve}}}

| map = Scotland Scottish Borders

| maptitle = the Scottish Borders

}}

| West Lothian | West Lothian = {{#switch: {{{retrieve}}}

| map = Scotland West Lothian

| maptitle = West Lothian

}}

| Edinburgh

| City of Edinburgh

| Edinburgh

| City of Edinburgh

| Edinburgh = {{#switch: {{{retrieve}}}

| map = United Kingdom Edinburgh

| maptitle = Edinburgh

| footer = Edinburgh

}}

| Argyll and Bute | Argyll and Bute = {{#switch: {{{retrieve}}}

| map = Scotland Argyll and Bute

| maptitle = Argyll and Bute

}}

| East Ayrshire | East Ayrshire = {{#switch: {{{retrieve}}}

| map = Scotland East Ayrshire

| maptitle = East Ayrshire

}}

| East Dunbartonshire | East Dunbartonshire = {{#switch: {{{retrieve}}}

| map = Scotland East Dunbartonshire

| maptitle = East Dunbartonshire

}}

| East Renfrewshire | East Renfrewshire = {{#switch: {{{retrieve}}}

| map = Scotland East Renfrewshire

| maptitle = East Renfrewshire

}}

| Inverclyde | Inverclyde = {{#switch: {{{retrieve}}}

| map = Scotland Inverclyde

| maptitle = Inverclyde

}}

| North Ayrshire | North Ayrshire = {{#switch: {{{retrieve}}}

| map = Scotland North Ayrshire

| maptitle = North Ayrshire

}}

| North Lanarkshire | North Lanarkshire = {{#switch: {{{retrieve}}}

| map = Scotland North Lanarkshire

| maptitle = North Lanarkshire

}}

| Renfrewshire | Renfrewshire = {{#switch: {{{retrieve}}}

| map = Scotland Renfrewshire

| maptitle = Renfrewshire

}}

| South Ayrshire | South Ayrshire = {{#switch: {{{retrieve}}}

| map = Scotland South Ayrshire

| maptitle = South Ayrshire

}}

| South Lanarkshire | South Lanarkshire = {{#switch: {{{retrieve}}}

| map = Scotland South Lanarkshire

| maptitle = South Lanarkshire

}}

| West Dunbartonshire | West Dunbartonshire = {{#switch: {{{retrieve}}}

| map = Scotland West Dunbartonshire

| maptitle = West Dunbartonshire

}}

| Glasgow

| Glasgow City Council

| Glasgow City

| Glasgow

| City of Glasgow

| City of Glasgow

| Glasgow = {{#switch: {{{retrieve}}}

| map = Scotland Glasgow

| maptitle = Glasgow

| footer = Glasgow

}}

| Angus | Angus | Angus = {{#switch: {{{retrieve}}}

| map = Scotland Angus

| maptitle = Angus

}}

| Dundee

| City of Dundee

| Dundee

| Dundee City

| Dundee

| Dundee City Council | Dundee City Council = {{#switch: {{{retrieve}}}

| map = {{#ifeq:{{PAGENAME}}|Dundee|Scotland|Scotland Dundee}}

| maptitle = {{#ifeq:{{PAGENAME}}|Dundee|Scotland|the City of Dundee}}

}}

| Perth and Kinross | Perth and Kinross = {{#switch: {{{retrieve}}}

| map = Scotland Perth and Kinross

| maptitle = Perth and Kinross

}}

| #default = {{#ifeq: {{{retrieve}}}|map|UK Scotland}}{{#ifeq: {{{retrieve}}}|maptitle|Scotland{{Infobox UK place/NoLocalMap}}}}

}}}}

| Wales = {{#switch: {{{retrieve}}}

| ambulance = Welsh

| #default = {{#switch: {{{level2}}}

| Carmarthenshire | Carmarthenshire = {{#switch: {{{retrieve}}}

| map = Wales Carmarthenshire

| maptitle = Carmarthenshire

| fire = Mid and West Wales

| police = Dyfed-Powys

| footer = Carmarthenshire

}}

| Ceredigion | Ceredigion = {{#switch: {{{retrieve}}}

| map = Wales Ceredigion

| maptitle = Ceredigion

| fire = Mid and West Wales

| police = Dyfed-Powys

| footer = Ceredigion

}}

| Pembrokeshire | Pembrokeshire = {{#switch: {{{retrieve}}}

| map = Wales Pembrokeshire

| maptitle = Pembrokeshire

| fire = Mid and West Wales

| police = Dyfed-Powys

| footer = Pembrokeshire

}}

| Powys | Powys = {{#switch: {{{retrieve}}}

| map = Wales Powys

| maptitle = Powys

| fire = Mid and West Wales

| police = Dyfed-Powys

| footer = Powys

}}

| Neath Port Talbot | Neath Port Talbot = {{#switch: {{{retrieve}}}

| map = Wales Neath Port Talbot

| maptitle = Neath Port Talbot

| fire = Mid and West Wales

| police = South Wales

| footer = Neath Port Talbot

}}

| Swansea | Swansea = {{#switch: {{{retrieve}}}

| map = Wales Swansea

| maptitle = Swansea

| fire = Mid and West Wales

| police = South Wales

| footer = Swansea

}}

| Anglesey

| Isle of Anglesey | Isle of Anglesey = {{#switch: {{{retrieve}}}

| map = Wales Anglesey

| maptitle = Anglesey

| fire = North Wales

| police = North Wales

| footer = Anglesey

}}

| Conwy

| Conwy

| Conwy = {{#switch: {{{retrieve}}}

| map = Wales Conwy

| maptitle = Conwy

| fire = North Wales

| police = North Wales

| footer = Conwy

}}

| Denbighshire | Denbighshire = {{#switch: {{{retrieve}}}

| map = Wales Denbighshire

| maptitle = Denbighshire

| fire = North Wales

| police = North Wales

| footer = Denbighshire

}}

| Flintshire | Flintshire = {{#switch: {{{retrieve}}}

| map = Wales Flintshire

| maptitle = Flintshire

| fire = North Wales

| police = North Wales

| footer = Flintshire

}}

| Gwynedd | Gwynedd = {{#switch: {{{retrieve}}}

| map = Wales Gwynedd

| maptitle = Gwynedd

| fire = North Wales

| police = North Wales

| footer = Gwynedd

}}

| Wrexham

| Wrexham

| Wrexham = {{#switch: {{{retrieve}}}

| map = Wales Wrexham

| maptitle = Wrexham

| fire = North Wales

| police = North Wales

| footer = Wrexham

}}

| Blaenau Gwent | Blaenau Gwent = {{#switch: {{{retrieve}}}

| map = Wales Blaenau Gwent

| maptitle = Blaenau Gwent

| fire = South Wales

| police = Gwent

| footer = Blaenau Gwent

}}

| Caerphilly

| Caerphilly

| Caerphilly = {{#switch: {{{retrieve}}}

| map = Wales Caerphilly

| maptitle = Caerphilly

| fire = South Wales

| police = Gwent

| footer = Caerphilly

}}

| Monmouthshire | Monmouthshire = {{#switch: {{{retrieve}}}

| map = Wales Monmouthshire

| maptitle = Monmouthshire

| fire = South Wales

| police = Gwent

| footer = Monmouthshire

}}

| Newport = {{#switch: {{{retrieve}}}

| map = Wales Newport

| maptitle = Newport

| fire = South Wales

| police = Gwent

| footer = Newport

}}

| Torfaen | Torfaen = {{#switch: {{{retrieve}}}

| map = Wales Torfaen

| maptitle = Torfaen

| fire = South Wales

| police = Gwent

| footer = Torfaen

}}

| Bridgend

| Bridgend

| Bridgend = {{#switch: {{{retrieve}}}

| map = Wales Bridgend

| maptitle = Bridgend

| fire = South Wales

| police = South Wales

| footer = Bridgend

}}

| Cardiff | Cardiff = {{#switch: {{{retrieve}}}

| map = Wales Cardiff

| maptitle = Cardiff

| fire = South Wales

| police = South Wales

| footer = Cardiff

}}

| Merthyr Tydfil

| Merthyr Tydfil

| Merthyr Tydfil = {{#switch: {{{retrieve}}}

| map = Wales Merthyr Tydfil

| maptitle = Merthyr Tydfil

| fire = South Wales

| police = South Wales

| footer = Merthyr Tydfil

}}

| Rhondda Cynon Taf

| Rhondda Cynon Taff | Rhondda Cynon Taff = {{#switch: {{{retrieve}}}

| map = Wales Rhondda Cynon Taf

| maptitle = {{{level2}}}

| fire = South Wales

| police = South Wales

| footer = {{#switch: {{{level2}}}

| Rhondda Cynon Taf | Rhondda Cynon Taf = Rhondda Cynon Taf

| Rhondda Cynon Taff | Rhondda Cynon Taff = Rhondda Cynon Taff

}}}}

| Vale of Glamorgan | Vale of Glamorgan = {{#switch: {{{retrieve}}}

| map = Wales Vale of Glamorgan

| maptitle = the Vale of Glamorgan

| fire = South Wales

| police = South Wales

| footer = Vale of Glamorgan

}}

| #default = {{#ifeq: {{{retrieve}}}|map|Wales}}{{#ifeq: {{{retrieve}}}|maptitle|Wales{{Infobox UK place/NoLocalMap}}}}

}}}}

| #default = {{#ifeq: {{{retrieve}}}|map|United Kingdom}}{{#ifeq: {{{retrieve}}}|maptitle|the United Kingdom{{Infobox UK place/NoLocalMap}}}}

}}{{doc|content=

This is a subtemplate of {{tl|Infobox UK place}} and should not be used directly in articles.

Local

}}