template:infobox UK place

{{main other|{{Short description|2=noreplace|{{#if:{{{type|}}}|{{ucfirst:{{delink|{{{type}}}}}}}|Human settlement}} in {{#if:{{{country|}}}|{{delink|{{{country}}}}}|the United Kingdom}}}}}}{{Infobox

| bodyclass = ib-uk-place vcard

| templatestyles = Infobox UK place/styles.css

| aboveclass = fn org nowrap

| above = {{{official_name|{{PAGENAMEBASE}}}}}{{Unbulleted list|class=ib-uk-place-other-names

|{{#if:{{{gaelic_name|}}} |{{langx|gd|{{{gaelic_name}}}}}}}

|{{#if:{{{irish_name|}}} |{{langx|ga|{{{irish_name}}}}}}}

|{{#if:{{{scots_name|}}} |{{langx|sco|{{{scots_name}}}}}}}

|{{#if:{{{cornish_name|}}} |{{langx|kw|{{{cornish_name}}}}}}}

|{{#if:{{{welsh_name|}}} |{{langx|cy|{{{welsh_name}}}}}}}

|{{#if:{{{manx_name|}}} |{{langx|gv|{{{manx_name}}}}}}}

|{{#if:{{{other_language_name|}}} |{{{other_language_name}}}}}

|{{#if:{{{local_name|}}} |{{{local_name}}}}}

}}

| subheader ={{#if:{{{type|}}}|{{#switch:{{lc:{{{type|}}}}} |civil parish=Civil parish |#default={{{type|}}}}}}}

| rowclass1 = mergedtoprow

| data1 = {{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{static_image|}}}|{{{static_image}}}|{{{static_image_name|}}}}} |size={{{static_image_width|}}}|sizedefault=240px|alt={{{static_image_alt|}}}}}{{#if:{{{static_image|}}}{{{static_image_name|}}}|{{#if:{{{static_image_caption|}}} |

{{{static_image_caption|}}}
}} }}

| rowclass2 = mergedbottomrow

| data2 = {{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{static_image_2|}}}|{{{static_image_2}}}|{{{static_image_2_name|}}}}} |size={{{static_image_2_width|}}}|sizedefault=240px|alt={{{static_image_2_alt|}}}}}{{#if:{{{static_image_2|}}}{{{static_image_2_name|}}}|{{#if:{{{static_image_2_caption|}}} |

{{{static_image_2_caption|}}}
}} }}

| data3 = {{#switch:{{{map_type}}}

| nomap =

| UK = {{Location map

|{{#if:{{{pushpin_map|}}}|{{{pushpin_map}}}#}}United Kingdom

|width=240 |float=center|marksize=6 | coordinates = {{{coordinates|}}}

|relief={{{map_relief|}}} |alt={{{map_alt|}}}

|label={{#if:{{{official_name|}}}|{{{official_name}}}|{{PAGENAMEBASE}}}} |position={{{label_position|}}}

|border=infobox

|caption={{#if:{{{pushpin_map|}}}||{{#if:{{{coordinates|}}}|Location within {{#switch:{{{country}}}

| England = {{Infobox UK place/local |level1=England |level2={{{region}}} |level3={{#if:{{{london_borough|}}}|Greater London |{{#if:{{{metropolitan_county|}}}|{{{metropolitan_county}}} |{{#if:{{{shire_county|}}}|{{{shire_county}}} |{{#if:{{{lieutenancy_england|}}}|{{{lieutenancy_england}}} |{{{unitary_england}}} }} }} }} }} |level4={{#if:{{{london_borough|}}}|{{{london_borough}}} |{{#if:{{{metropolitan_county|}}}|{{{metropolitan_borough}}} |{{#if:{{{shire_county|}}}|{{{shire_district}}} |{{{unitary_england}}} }} }} }} |retrieve=maptitle}}

| Northern Ireland = {{Infobox UK place/local |level1=Northern Ireland |level2={{{lieutenancy_northern_ireland}}} |retrieve=maptitle}}

| Scotland = {{Infobox UK place/local |level1=Scotland |level2={{{unitary_scotland}}} |level3={{#if:{{{map_type|}}}|{{{map_type|}}} |{{#if:{{{shire_district|}}}|{{{shire_district|}}} |{{{lieutenancy_scotland|}}} }} }} |retrieve=maptitle}}

| Wales = {{Infobox UK place/local |level1=Wales |level2={{{unitary_wales}}} |retrieve=maptitle}}

| #default = {{#ifeq:{{{crown_dependency}}}|Isle of Man |{{Infobox UK place/local|level1=Isle of Man|retrieve=maptitle}} |the United Kingdom {{Infobox UK place/NoLocalMap}} }}

}}}}}}

}}

| #default = {{#if:{{{coordinates|}}}

|{{Location map

|{{#if:{{{pushpin_map|}}}|{{{pushpin_map}}}#}}{{#switch:{{{country}}}

| England = {{Infobox UK place/local |level1=England |level2={{{region}}} |level3={{#if:{{{london_borough|}}}|Greater London |{{#if:{{{metropolitan_county|}}}|{{{metropolitan_county}}} |{{#if:{{{shire_county|}}}|{{{shire_county}}} |{{#if:{{{lieutenancy_england|}}}|{{{lieutenancy_england}}} |{{{unitary_england}}} }} }} }} }} |level4={{#if:{{{london_borough|}}}|{{{london_borough}}} |{{#if:{{{metropolitan_county|}}}|{{{metropolitan_borough}}} |{{#if:{{{shire_county|}}}|{{{shire_district}}} |{{{unitary_england}}} }} }} }} |retrieve=map}}

| Northern Ireland = {{Infobox UK place/local |level1=Northern Ireland |level2={{{lieutenancy_northern_ireland}}} |retrieve=map}}

| Scotland = {{Infobox UK place/local |level1=Scotland |level2={{{unitary_scotland}}} |level3={{#if:{{{map_type|}}}|{{{map_type|}}} |{{#if:{{{shire_district|}}}|{{{shire_district|}}} |{{{lieutenancy_scotland|}}} }} }} |retrieve=map}}

| Wales = {{Infobox UK place/local |level1=Wales |level2={{{unitary_wales}}} |retrieve=map}}

| #default = {{#ifeq:{{{crown_dependency}}}|Isle of Man |{{Infobox UK place/local|level1=Isle of Man|retrieve=map}} |United Kingdom}}

}}

|width=240 |float=center|marksize=6 | coordinates = {{{coordinates|}}}

|relief={{{map_relief|}}} |alt={{{map_alt|}}}

|label={{#if:{{{official_name|}}}|{{{official_name}}}|{{PAGENAMEBASE}}}} |position={{{label_position|}}}

|border=infobox

|caption={{#if:{{{pushpin_map|}}}|{{{pushpin_map_caption|}}}##}}{{#if:{{{coordinates|}}}|Location within {{#switch:{{{country}}}

| England = {{Infobox UK place/local |level1=England |level2={{{region}}} |level3={{#if:{{{london_borough|}}}|Greater London |{{#if:{{{metropolitan_county|}}}|{{{metropolitan_county}}} |{{#if:{{{shire_county|}}}|{{{shire_county}}} |{{#if:{{{lieutenancy_england|}}}|{{{lieutenancy_england}}} |{{{unitary_england}}} }} }} }} }} |level4={{#if:{{{london_borough|}}}|{{{london_borough}}} |{{#if:{{{metropolitan_county|}}}|{{{metropolitan_borough}}} |{{#if:{{{shire_county|}}}|{{{shire_district}}} |{{{unitary_england}}} }} }} }} |retrieve=maptitle}}

| Northern Ireland = {{Infobox UK place/local |level1=Northern Ireland |level2={{{lieutenancy_northern_ireland}}} |retrieve=maptitle}}

| Scotland = {{Infobox UK place/local |level1=Scotland |level2={{{unitary_scotland}}} |level3={{#if:{{{map_type|}}}|{{{map_type|}}} |{{#if:{{{shire_district|}}}|{{{shire_district|}}} |{{{lieutenancy_scotland|}}} }} }} |retrieve=maptitle}}

| Wales = {{Infobox UK place/local |level1=Wales |level2={{{unitary_wales}}} |retrieve=maptitle}}

| #default = {{#ifeq:{{{crown_dependency}}}|Isle of Man |{{Infobox UK place/local|level1=Isle of Man|retrieve=maptitle}} |the United Kingdom {{Infobox UK place/NoLocalMap}} }}

}}}}

}}

}}

}}

| rowclass5 = mergedtoprow

| label5 = {{#if:{{{area_total_sq_mi|}}}{{{area_total_km2|}}}{{{area_footnotes|}}}|Area }}

| data5 = {{#if:{{{area_total_sq_mi|}}} |{{Infobox UK place/area|type=mile|top={{{area_total_sq_mi|}}}}}

| {{#if:{{{area_total_km2|}}} |{{Infobox UK place/area|type=km|top={{{area_total_km2|}}}}} }}

}}{{#if:{{{area_footnotes|}}} | {{{area_footnotes}}} }}

| label6 = Population

| data6 = {{#if:{{{population|}}} | {{#iferror: {{#expr:{{formatnum:{{{population}}}|R}}}}

| Expression error: "{{{population}}}" must be numericCategory:Pages using infobox UK place with non-numeric population

| {{formatnum: {{formatnum:{{{population}}}|R}} }} 

}} }}{{#if:{{{population_ref|}}} |{{{population_ref|}}} }}

| rowclass7 = mergedrow

| label7 = {{#if:{{{population|}}}

| {{#iferror: {{#expr:{{formatnum:{{{population}}}|R}} }} |

| {{#if:{{{area_total_sq_mi|}}}{{{area_total_km2|}}}{{{population_density|}}}|

• Density }}}}}}

| data7 = {{#if:{{{population|}}}

| {{#iferror: {{#expr:{{formatnum:{{{population}}}|R}} }} |

| {{#if:{{{area_total_sq_mi|}}}{{{area_total_km2|}}}{{{population_density|}}}|

{{#if:{{{population_density|}}} |{{{population_density|}}}

| {{#if:{{{area_total_sq_mi|}}} |{{Infobox UK place/dens|type=mile|top={{{population}}}|bottom={{{area_total_sq_mi}}}}}

| {{Infobox UK place/dens|type=km|top={{{population}}}|bottom={{{area_total_km2}}}}}

}} }} }}}}}}

| rowclass8 = mergedrow

| label8 = {{{statistic_title|}}}

| data8 = {{{statistic|}}}

| rowclass9 = mergedrow

| label9 = {{{statistic_title1|}}}

| data9 = {{{statistic1|}}}

| rowclass10 = mergedrow

| label10 = {{{statistic_title2|}}}

| data10 = {{{statistic2|}}}

| rowclass11 = mergedtoprow

| label11 = Demonym

| data11 = {{{population_demonym|}}}

| label12 = Language

| data12 = {{{language|}}}{{#if:{{{language1|}}}|
{{{language1|}}}}}{{#if:{{{language2|}}}|
{{{language2|}}}}}

| rowclass13 = mergedtoprow

| label13 = OS grid reference

| data13 = {{#if:{{{os_grid_reference|}}}|[{{Ordnance Survey url|{{{os_grid_reference}}}|name={{{official_name|}}}}} {{{os_grid_reference}}}]{{{os_grid_reference_note|}}}{{main other|Category:Articles with OS grid coordinates}}}}

| rowclass14 = mergedtoprow

| label14 = Irish grid reference

| data14 = {{#if:{{{irish_grid_reference|}}}|{{iem4ibx|{{{irish_grid_reference}}}|name={{{official_name|{{PAGENAMEBASE}}}}}}}{{{irish_grid_reference_note|}}}}}

| rowclass15 = mergedrow

| label15 = {{#if:{{{belfast_distance|}}}{{{belfast_distance_mi|}}}{{{belfast_distance_km|}}}|• Belfast}}

| data15 ={{#if:{{{belfast_distance_mi|}}}|{{Infobox UK place/dist|type=mile|distance={{{belfast_distance_mi}}}}}

| {{#if:{{{belfast_distance_km|}}} |{{Infobox UK place/dist|type=km|distance={{{belfast_distance_km}}}}} }}

}}{{{belfast_distance|}}}{{#if:{{{belfast_direction|}}}| Points of the compass{{!}}{{{belfast_direction}}}}}

| rowclass16 = mergedrow

| label16 ={{#if:{{{cardiff_distance|}}}{{{cardiff_distance_mi|}}}{{{cardiff_distance_km|}}}|• Cardiff}}

| data16 ={{#if:{{{cardiff_distance_mi|}}}|{{Infobox UK place/dist|type=mile|distance={{{cardiff_distance_mi}}}}}

| {{#if:{{{cardiff_distance_km|}}} |{{Infobox UK place/dist|type=km|distance={{{cardiff_distance_km}}}}} }}

}}{{{cardiff_distance|}}}{{#if:{{{cardiff_direction|}}}| Points of the compass{{!}}{{{cardiff_direction}}}}}

| rowclass17 = mergedrow

| label17 ={{#if:{{{douglas_distance|}}}{{{douglas_distance_mi|}}}{{{douglas_distance_km|}}}|• Douglas}}

| data17 ={{#if:{{{douglas_distance_mi|}}}|{{Infobox UK place/dist|type=mile|distance={{{douglas_distance_mi}}}}}

| {{#if:{{{douglas_distance_km|}}} |{{Infobox UK place/dist|type=km|distance={{{douglas_distance_km}}}}} }}

}}{{{douglas_distance|}}}{{#if:{{{douglas_direction|}}}| Points of the compass{{!}}{{{douglas_direction}}}}}

| rowclass18 = mergedrow

| label18 = {{#if:{{{dublin_distance|}}}{{{dublin_distance_mi|}}}{{{dublin_distance_km|}}}|• Dublin}}

| data18 ={{#if:{{{dublin_distance_mi|}}}|{{Infobox UK place/dist|type=mile|distance={{{dublin_distance_mi}}}}}

| {{#if:{{{dublin_distance_km|}}} |{{Infobox UK place/dist|type=km|distance={{{dublin_distance_km}}}}} }}

}}{{{dublin_distance|}}}{{#if:{{{dublin_direction|}}}| Points of the compass{{!}}{{{dublin_direction}}}}}

| rowclass19 = mergedrow

| label19 ={{#if:{{{edinburgh_distance|}}}{{{edinburgh_distance_mi|}}}{{{edinburgh_distance_km|}}}| • Edinburgh }}

| data19 ={{#if:{{{edinburgh_distance_mi|}}}|{{Infobox UK place/dist|type=mile|distance={{{edinburgh_distance_mi}}}}}

| {{#if:{{{edinburgh_distance_km|}}} |{{Infobox UK place/dist|type=km|distance={{{edinburgh_distance_km}}}}} }}

}}{{{edinburgh_distance|}}}{{#if:{{{edinburgh_direction|}}}| Points of the compass{{!}}{{{edinburgh_direction}}}}}

| rowclass20 = mergedbottomrow

| label20 = {{#if:{{{london_distance|}}}{{{london_distance_mi|}}}{{{london_distance_km|}}}|• London}}

| data20 ={{#if:{{{london_distance_mi|}}}|{{Infobox UK place/dist|type=mile|distance={{{london_distance_mi}}}}}

| {{#if:{{{london_distance_km|}}} |{{Infobox UK place/dist|type=km|distance={{{london_distance_km}}}}} }}

}}{{{london_distance|}}}{{#if:{{{london_direction|}}}| Points of the compass{{!}}{{{london_direction}}}}}

| rowclass21 = mergedbottomrow

| label21 = {{#if:{{{charingX_distance|}}}{{{charingX_distance_mi|}}}{{{charingX_distance_km|}}}|• Charing Cross}}

| data21 ={{#if:{{{charingX_distance_mi|}}}|{{Infobox UK place/dist|type=mile|distance={{{charingX_distance_mi}}}}}

| {{#if:{{{charingX_distance_km|}}} |{{Infobox UK place/dist|type=km|distance={{{charingX_distance_km}}}}} }}

}}{{{charingX_distance|}}}{{#if:{{{charingX_direction|}}}| Points of the compass{{!}}{{{charingX_direction}}}}}

| label22 = Civil parish

| data22 ={{Unbulleted list|{{{civil_parish|}}}|{{{civil_parish1|}}}|{{{civil_parish2|}}}}}

| rowclass23 = mergedtoprow

| label23 = Community

| data23 = {{Unbulleted list|{{{community_wales|}}}|{{{community_wales1|}}}|{{{community_wales2|}}}|{{{community_wales3|}}}}}

| rowclass24 = mergedtoprow

| label24 = Community council

| data24 = {{Unbulleted list|{{{community_scotland|}}}|{{{community_scotland1|}}}|{{{community_scotland2|}}}|{{{community_scotland3|}}}}}

| rowclass25 = mergedrow

| label25 = Principal area

| data25 = {{Unbulleted list|{{{unitary_wales|}}}|{{{unitary_wales1|}}}|{{{unitary_wales2|}}}|{{{unitary_wales3|}}}}}

| rowclass26 = mergedrow

| label26 ={{#if:{{{london_borough|}}}|{{Infobox UK place/local |level1=England |level2={{{region}}} |level3={{{london_borough}}} |level4={{{london_borough}}} |retrieve=boroughhead}} }}

| data26 ={{Unbulleted list| {{#if:{{{london_borough|}}}|{{Infobox UK place/local |level1=England |level2={{{region}}} |level3={{{london_borough}}} |level4={{{london_borough}}} |retrieve=borough}}}}|{{#if:{{{london_borough1|}}}|{{Infobox UK place/local |level1=England |level2={{{region}}} |level3={{{london_borough}}} |level4={{{london_borough1}}} |retrieve=borough}}}}|{{#if:{{{london_borough2|}}}|{{Infobox UK place/local |level1=England |level2={{{region}}} |level3={{{london_borough}}} |level4={{{london_borough2}}} |retrieve=borough}}}}|{{#if:{{{london_borough3|}}}|{{Infobox UK place/local |level1=England |level2={{{region}}} |level3={{{london_borough}}} |level4={{{london_borough3}}} |retrieve=borough}}}}|{{#if:{{{london_borough4|}}}|{{Infobox UK place/local |level1=England |level2={{{region}}} |level3={{{london_borough}}} |level4={{{london_borough4}}} |retrieve=borough}}}}}}

| rowclass27 = mergedrow

| label27 = Metropolitan borough

| data27 = {{Unbulleted list|{{{metropolitan_borough|}}}|{{{metropolitan_borough1|}}}|{{{metropolitan_borough2|}}}|{{{metropolitan_borough3|}}}}}

| rowclass28 = mergedrow

| label28 = District

| data28 = {{Unbulleted list|{{{shire_district|}}}|{{{shire_district1|}}}|{{{shire_district2|}}}|{{{shire_district3|}}}}}

| rowclass29 = mergedrow

| label29 = Unitary authority

| data29 = {{Unbulleted list|{{{unitary_england|}}}|{{{unitary_england1|}}}|{{{unitary_england2|}}}|{{{unitary_england3|}}}}}

| rowclass30 = mergedrow

| label30 = Council area

| data30 = {{Unbulleted list|{{{unitary_scotland|}}}|{{{unitary_scotland1|}}}|{{{unitary_scotland2|}}}|{{{unitary_scotland3|}}}}}

| rowclass31 = mergedrow

| label31 = District

| data31 = {{Unbulleted list|{{{unitary_northern_ireland|}}}|{{{unitary_northern_ireland1|}}}|{{{unitary_northern_ireland2|}}}|{{{unitary_northern_ireland3|}}}}}

| rowclass32 = mergedrow

| label32 = Parish

| data32 = {{{manx_parish|}}}

| rowclass33 = mergedrow

| label33 = Preserved county

| data33 = {{Unbulleted list|{{{lieutenancy_wales|}}}|{{{lieutenancy_wales1|}}}|{{{lieutenancy_wales2|}}}|{{{lieutenancy_wales3|}}}}}

| rowclass34 = mergedrow

| label34 = {{Infobox UK place/local |level1=England |level2={{{region}}} |level3={{{london_borough}}} |level4={{{london_borough1}}} |retrieve=countyhead}}

| data34 ={{#if:{{{london_borough|}}}| Greater London }}

| rowclass35 = mergedrow

| label35 = Shire county

| data35 = {{Unbulleted list|{{{shire_county|}}}|{{{shire_county1|}}}|{{{shire_county2|}}}|{{{shire_county3|}}}}}

| rowclass36 = mergedrow

| label36 =Metropolitan county

| data36 = {{Unbulleted list|{{{metropolitan_county|}}}|{{{metropolitan_county1|}}}|{{{metropolitan_county2|}}}|{{{metropolitan_county3|}}}}}

| rowclass37 = mergedrow

| label37 = Ceremonial county

| data37 = {{Unbulleted list|{{{lieutenancy_england|}}}|{{{lieutenancy_england1|}}}|{{{lieutenancy_england2|}}}|{{{lieutenancy_england3|}}}}}

| rowclass38 = mergedrow

| label38 =Lieutenancy area

| data38 = {{Unbulleted list|{{{lieutenancy_scotland|}}}|{{{lieutenancy_scotland1|}}}|{{{lieutenancy_scotland2|}}}|{{{lieutenancy_scotland3|}}}}}

| rowclass39 = mergedrow

| label39 = County

| data39 = {{Unbulleted list|{{{lieutenancy_northern_ireland|}}}|{{{lieutenancy_northern_ireland1|}}}|{{{lieutenancy_northern_ireland2|}}}}}

| rowclass40 = mergedrow

| label40 = Sheading

| data40 = {{{manx_sheading|{{{manx_shedding|}}}}}}

| rowclass41 = mergedrow

| label41 = Region

| data41 = {{Unbulleted list|{{Infobox UK place/local |level1=England |level2={{{region}}} |retrieve=region}}|{{Infobox UK place/local |level1=England |level2={{{region1}}} |retrieve=region}}}}

| rowclass42 = mergedrow adr

| label42 = Country

| data42 = {{#if:{{{country|}}}|{{Auto link|{{{country}}}}}}}{{#if:{{{country1|}}}|
{{Auto link|{{{country1|}}}}}}}

| rowclass43 = mergedrow adr

| label43 = Crown dependency

| data43 = {{Auto link|{{{crown_dependency|}}}}}

| rowclass44 = mergedrow

| label44 = Sovereign state

| data44 = {{#if:{{{country|}}}|United Kingdom}}

| rowclass46 = mergedtoprow

| label46 = {{#if:{{{parts_type|}}}|{{{parts_type}}}|Places}}

| data46 = {{#if:{{{parts|}}}{{{p1|}}}

|{{#ifeq:{{{parts_style|}}}|para

|{{{parts|}}}{{#if:{{both|{{{parts|}}}|{{{p1|}}}}}|: |}}{{comma separated entries|{{{p1|}}}|{{{p2|}}}|{{{p3|}}}|{{{p4|}}}|{{{p5|}}}|{{{p6|}}}|{{{p7|}}}|{{{p8|}}}|{{{p9|}}}|{{{p10|}}}|{{{p11|}}}|{{{p12|}}}|{{{p13|}}}|{{{p14|}}}|{{{p15|}}}|{{{p16|}}}|{{{p17|}}}|{{{p18|}}}|{{{p19|}}}|{{{p20|}}}|{{{p21|}}}|{{{p22|}}}|{{{p23|}}}|{{{p24|}}}|{{{p25|}}}|{{{p26|}}}|{{{p27|}}}|{{{p28|}}}|{{{p29|}}}|{{{p30|}}}|{{{p31|}}}|{{{p32|}}}|{{{p33|}}}|{{{p34|}}}|{{{p35|}}}|{{{p36|}}}|{{{p37|}}}|{{{p38|}}}|{{{p39|}}}|{{{p40|}}}|{{{p41|}}}|{{{p42|}}}|{{{p43|}}}|{{{p44|}}}|{{{p45|}}}|{{{p46|}}}|{{{p47|}}}|{{{p48|}}}|{{{p49|}}}|{{{p50|}}}}}

|{{#if:{{{p1|}}}|{{Collapsible list|title={{{parts|}}}|expand={{#switch:{{{parts_style|}}}|coll=|list=y|{{#if:{{{p6|}}}||y}}}}|1={{{p1|}}}|2={{{p2|}}}|3={{{p3|}}}|4={{{p4|}}}|5={{{p5|}}}|6={{{p6|}}}|7={{{p7|}}}|8={{{p8|}}}|9={{{p9|}}}|10={{{p10|}}}|11={{{p11|}}}|12={{{p12|}}}|13={{{p13|}}}|14={{{p14|}}}|15={{{p15|}}}|16={{{p16|}}}|17={{{p17|}}}|18={{{p18|}}}|19={{{p19|}}}|20={{{p20|}}}|21={{{p21|}}}|22={{{p22|}}}|23={{{p23|}}}|24={{{p24|}}}|25={{{p25|}}}|26={{{p26|}}}|27={{{p27|}}}|28={{{p28|}}}|29={{{p29|}}}|30={{{p30|}}}|31={{{p31|}}}|32={{{p32|}}}|33={{{p33|}}}|34={{{p34|}}}|35={{{p35|}}}|36={{{p36|}}}|37={{{p37|}}}|38={{{p38|}}}|39={{{p39|}}}|40={{{p40|}}}|41={{{p41|}}}|42={{{p42|}}}|43={{{p43|}}}|44={{{p44|}}}|45={{{p45|}}}|46={{{p46|}}}|47={{{p47|}}}|48={{{p48|}}}|49={{{p49|}}}|50={{{p50|}}}}}

|{{{parts}}}

}}

}} }}

| rowclass47 = mergedtoprow

| label47 = Post town

| data47 = {{#if:{{{post_town|}}}|{{#switch:{{{post_town}}} |London|London|LONDON=LONDON |{{{post_town}}}={{{post_town}}}}}|{{Infobox UK place/NoPostCode}}}}

| rowclass48 = mergedrow

| label48 = Postcode district

| data48 = {{#if:{{{postcode_area|}}}|{{{postcode_area}}} postcode area|{{Infobox UK place/NoPostCode}}}}

| rowclass49 = mergedrow

| label49 = Post town

| data49 = {{#if:{{{post_town1|}}}|{{#switch:{{{post_town1}}}|London|London|LONDON=LONDON|{{{post_town1}}}={{{post_town1}}}}}}}

| rowclass50 = mergedrow

| label50 = Postcode district

| data50 = {{#if:{{{postcode_area1|}}}|{{{postcode_district1}}}}}

| rowclass51 = mergedrow

| label51 = Post town

| data51 = {{#if:{{{post_town2|}}}|{{#switch:{{{post_town2}}}|London|London|LONDON=LONDON|{{{post_town2}}}={{{post_town2}}}}}}}

| rowclass52 = mergedrow

| label52 = Postcode district

| data52 = {{#if:{{{postcode_area2|}}}|{{{postcode_district2}}}}}

| rowclass53 = mergedrow

| label53 = Dialling code

| data53 = {{#if:{{{dial_code|}}}|{{#switch:{{{dial_code}}}|0203|0207|0208|020 3|020 7|020 8|020=020 |02380|02392|023 80|023 92|023=023 |02476|024 76=024 |{{{dial_code}}}={{{dial_code}}}}} | {{Infobox UK place/NoDialCode}}}}{{#if:{{{dial_code1|}}}|
{{{dial_code1}}}}}{{#if:{{{dial_code2|}}}|
{{{dial_code2}}}}}

| rowclass54 = mergedrow

| label54 = ISO 3166 code

| data54 = {{#if:{{{iso_code|}}}|{{{iso_code}}}|}}

| rowclass55 = mergedtoprow

| data55 = {{#if:{{{hide_services|}}}||{{Infobox| child=yes |

| rowclass1 = mergedrow

| label1 = Police

| data1 = {{#switch:{{{country}}}

| England = {{Infobox UK place/local |level1=England |level2={{{region}}} |level3={{#if:{{{london_borough|}}}|{{{london_borough}}} |{{#if:{{{metropolitan_county|}}}|{{{metropolitan_county}}} |{{#if:{{{shire_county|}}}|{{{shire_county}}} |{{#if:{{{lieutenancy_england|}}}|{{{lieutenancy_england}}} |{{{unitary_england}}} }} }} }} }} |level4={{#if:{{{london_borough|}}}|{{{london_borough}}} |{{#if:{{{metropolitan_county|}}}|{{{metropolitan_borough}}} |{{#if:{{{shire_county|}}}|{{{shire_district}}} |{{{unitary_england}}} }} }} }} |retrieve=police}}

| Northern Ireland = {{Infobox UK place/local |level1=Northern Ireland |retrieve=police}}

| Scotland = {{Infobox UK place/local |level1=Scotland |level2={{{unitary_scotland}}} |retrieve=police}}

| Wales = {{Infobox UK place/local |level1=Wales |level2={{{unitary_wales}}} |retrieve=police}}

| #default = {{#ifeq:{{{crown_dependency}}}|Isle of Man |{{Infobox UK place/local|level1=Isle of Man|retrieve=police}} | }}

}}

| rowclass2 = mergedrow

| label2 =  

| data2 ={{Unbulleted list|{{#if:{{{shire_county3|}}}|{{Infobox UK place/local |level1=England |level2={{{region1}}} |level3={{{shire_county3}}} |retrieve=police}}}}|{{#if:{{{metropolitan_county3|}}}|{{Infobox UK place/local |level1=England |level2={{{region1}}} |level3={{{metropolitan_county3}}} |retrieve=police}}}}|{{#if:{{{unitary_england3|}}}|{{Infobox UK place/local |level1=England |level2={{{region1}}} |level3={{{unitary_england3}}} |retrieve=police}}}}|{{#if:{{{unitary_scotland3|}}}|{{Infobox UK place/local |level1=Scotland |level2={{{unitary_scotland3}}} |retrieve=police}}}}|{{#if:{{{unitary_wales3|}}}|{{Infobox UK place/local |level1=Wales |level2={{{unitary_wales3}}} |retrieve=police}}}}}}

| rowclass3 = mergedrow

| label3 = Fire

| data3 = {{#switch:{{{country}}}

| England = {{Infobox UK place/local |level1=England |level2={{{region}}} |level3={{#if:{{{london_borough|}}}|{{{london_borough}}} |{{#if:{{{metropolitan_county|}}}|{{{metropolitan_county}}} |{{#if:{{{shire_county|}}}|{{{shire_county}}} |{{#if:{{{lieutenancy_england|}}}|{{{lieutenancy_england}}} |{{{unitary_england}}} }} }} }} }} |level4={{#if:{{{london_borough|}}}|{{{london_borough}}} |{{#if:{{{metropolitan_county|}}}|{{{metropolitan_borough}}} |{{#if:{{{shire_county|}}}|{{{shire_district}}} |{{{unitary_england}}} }} }} }} |retrieve=fire}}

| Northern Ireland = {{Infobox UK place/local |level1=Northern Ireland |retrieve=fire}}

| Scotland = {{Infobox UK place/local |level1=Scotland |level2={{{unitary_scotland}}} |retrieve=fire}}

| Wales = {{Infobox UK place/local |level1=Wales |level2={{{unitary_wales}}} |retrieve=fire}}

| #default = {{#ifeq:{{{crown_dependency}}}|Isle of Man |{{Infobox UK place/local|level1=Isle of Man|retrieve=fire}} | }}

}}

| rowclass4 = mergedrow

| label4 =  

| data4 = {{Unbulleted list|{{#if:{{{shire_county3|}}}|{{Infobox UK place/local |level1=England |level2={{{region1}}} |level3={{{shire_county3}}} |retrieve=fire}}}}|{{#if:{{{metropolitan_county3|}}}|{{Infobox UK place/local |level1=England |level2={{{region1}}} |level3={{{metropolitan_county3}}} |retrieve=fire}}}}|{{#if:{{{unitary_england3|}}}|{{Infobox UK place/local |level1=England |level2={{{region1}}} |level3={{{unitary_england3}}} |retrieve=fire}}}}|{{#if:{{{unitary_scotland3|}}}|{{Infobox UK place/local |level1=Scotland |level2={{{unitary_scotland3}}} |retrieve=fire}}}}|{{#if:{{{unitary_wales3|}}}|{{Infobox UK place/local |level1=Wales |level2={{{unitary_wales3}}} |retrieve=fire}}}}}}

| rowclass5 = mergedrow

| label5 = {{#if:{{{country|}}} |Ambulance |Ambulance}}

| data5 = {{#switch:{{{country}}}

| England = {{Infobox UK place/local |level1=England |level2={{{region}}} |level3={{#if:{{{london_borough|}}}|{{{london_borough}}} |{{#if:{{{metropolitan_county|}}}|{{{metropolitan_county}}} |{{#if:{{{shire_county|}}}|{{{shire_county}}} |{{#if:{{{lieutenancy_england|}}}|{{{lieutenancy_england}}} |{{{unitary_england}}} }} }} }} }} |level4={{#if:{{{london_borough|}}}|{{{london_borough}}} |{{#if:{{{metropolitan_county|}}}|{{{metropolitan_borough}}} |{{#if:{{{shire_county|}}}|{{{shire_district}}} |{{{unitary_england}}} }} }} }} |ambulance={{{ambulance_service}}} |official_name={{#if:{{{official_name|}}}|{{{official_name}}}|{{PAGENAMEBASE}}}} |postcode={{{postcode_district}}} |retrieve=ambulance}}

| Northern Ireland = {{Infobox UK place/local |level1=Northern Ireland |retrieve=ambulance}}

| Scotland = {{Infobox UK place/local |level1=Scotland |level2={{{unitary_scotland}}} |retrieve=ambulance}}

| Wales = {{Infobox UK place/local |level1=Wales |level2={{{unitary_wales}}} |retrieve=ambulance}}

| #default = {{#ifeq:{{{crown_dependency}}}|Isle of Man |{{Infobox UK place/local|level1=Isle of Man|retrieve=ambulance}} | }}

}}

| rowclass6 = mergedrow

| label6 =  

| data6 = {{#if:{{{region1|}}}|{{Infobox UK place/local |level1=England |level2={{{region1}}} |level3={{#if:{{{london_borough3|}}}|Greater London |{{#if:{{{metropolitan_county3|}}}|{{{metropolitan_county3}}} |{{#if:{{{shire_county3|}}}|{{{shire_county3}}} |{{#if:{{{lieutenancy_england3|}}}|{{{lieutenancy_england3}}} |{{{unitary_england3}}} }} }} }} }} |level4={{#if:{{{london_borough3|}}}|{{{london_borough3}}} |{{#if:{{{metropolitan_county3|}}}|{{{metropolitan_borough3}}} |{{#if:{{{shire_county3|}}}|{{{shire_district3}}} |{{{unitary_england3}}} }} }} }} |ambulance={{{ambulance_service1}}} |postcode={{{postcode_district}}} |retrieve=ambulance}}}}

}}

}}

| rowclass56 = mergedtoprow

| label56 = UK Parliament

| data56 = {{Unbulleted list|{{{constituency_westminster|}}}|{{{constituency_westminster1|}}}|{{{constituency_westminster2|}}}|{{{constituency_westminster3|}}}|{{{constituency_westminster4|}}}|{{{constituency_westminster5|}}}|{{{constituency_westminster6|}}}|{{{constituency_westminster7|}}}|{{{constituency_westminster8|}}}}}

| rowclass57 = mergedrow

| label57 = Scottish Parliament

| data57 = {{Unbulleted list|{{{constituency_scottish_parliament|}}}|{{{constituency_scottish_parliament1|}}}|{{{constituency_scottish_parliament2|}}}|{{{constituency_scottish_parliament3|}}}|{{{constituency_scottish_parliament4|}}}|{{{constituency_scottish_parliament5|}}}|{{{constituency_scottish_parliament6|}}}|{{{constituency_scottish_parliament7|}}}|{{{constituency_scottish_parliament8|}}}|{{{constituency_scottish_parliament9|}}}|{{{constituency_scottish_parliament10|}}}}}

| rowclass58 = mergedrow

| label58 = London Assembly

| data58 = {{Unbulleted list|{{#if:{{{london_borough|}}}|{{Infobox UK place/local |level1=England |level2={{{region}}} |level3={{{london_borough}}} |level4={{{london_borough}}} |retrieve=assembly}}}}|{{#if:{{{london_borough1|}}}|{{Infobox UK place/local |level1=England |level2={{{region}}} |level3={{{london_borough1}}} |level4={{{london_borough1}}} |retrieve=assembly}}}}|{{#if:{{{london_borough2|}}}|{{Infobox UK place/local |level1=England |level2={{{region}}} |level3={{{london_borough2}}} |level4={{{london_borough2}}} |retrieve=assembly}}}}}}

| rowclass59 = mergedrow

| label59 = Senedd Cymru – Welsh Parliament

| data59 = {{Unbulleted list|{{{constituency_welsh_assembly|}}}|{{{constituency_welsh_assembly1|}}}|{{{constituency_welsh_assembly2|}}}}}

| rowclass60 = mergedrow

| label60 = House of Keys

| data60 = {{{constituency_manx_parliament|}}}

| rowclass61 = mergedrow

| label61 = NI Assembly

| data61 = {{Unbulleted list|{{{constituency_ni_assembly|}}}|{{{constituency_ni_assembly1|}}}|{{{constituency_ni_assembly2|}}}|{{{constituency_ni_assembly3|}}}}}

| rowclass62 = mergedrow

| label62 = Councillors

| data62 = {{{councillors|}}}

| rowclass63 = mergedrow

| label63 = Councillors

| data63 = {{Unbulleted list|{{{councillor1|}}}{{#if:{{{party1|}}}| ({{{party1|}}})}}|{{{councillor2|}}}{{#if:{{{party2|}}}| ({{{party2|}}})}}|{{{councillor3|}}}{{#if:{{{party3|}}}| ({{{party3|}}})}}|{{{councillor4|}}}{{#if:{{{party4|}}}| ({{{party4|}}})}}|{{{councillor5|}}}{{#if:{{{party5|}}}| ({{{party5|}}})}}}}

| rowclass64 = mergedtoprow

| label64 = Website

| data64 = {{{website|}}}

| data70 = {{{embedded|}}}

| belowclass = noprint nowrap

| below = {{startflatlist}}

; {{nobold|List of places}} {{#switch:{{{country}}}

| England =

: UK

: England

: {{Infobox UK place/local |level1=England |level2={{{region}}} |level3={{#if:{{{london_borough|}}}|Greater London |{{#if:{{{metropolitan_county|}}}|{{{metropolitan_county}}} |{{#if:{{{shire_county|}}}|{{{shire_county}}} |{{#if:{{{lieutenancy_england|}}}|{{{lieutenancy_england}}} |{{{unitary_england}}} }} }} }} }} |level4={{#if:{{{london_borough|}}}|{{{london_borough}}} |{{#if:{{{metropolitan_county|}}}|{{{metropolitan_borough}}} |{{#if:{{{shire_county|}}}|{{{shire_district}}} |{{{unitary_england}}} }} }} }} |retrieve=footer}}

| Scotland =

: UK

: Scotland

: {{Infobox UK place/local |level1=Scotland |level2={{{unitary_scotland}}} |retrieve=footer}}

| Wales =

: UK

: Wales

: {{Infobox UK place/local |level1=Wales |level2={{{unitary_wales}}} |retrieve=footer}}

| Northern Ireland =

: UK

: Northern Ireland

: {{Infobox UK place/local |level1=Northern Ireland |level2={{{lieutenancy_northern_ireland}}} |retrieve=footer}}

| #default =

: {{#ifeq:{{{crown_dependency}}}|Isle of Man |{{Infobox UK place/local|level1=Isle of Man|retrieve=footer}} |United Kingdom}}

}}{{endflatlist}}

{{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|region:{{#ifeq:{{{crown_dependency|}}}|Isle of Man|IM|GB}}|type:city{{#iferror:{{#expr:{{formatnum:{{{population}}}|R}}*1}}||({{formatnum:{{{population}}}|R}})}}}}

|}}

{{#if:{{{module|}}}|{{{module}}}

|}}

}}{{#invoke:Check for unknown parameters|check|unknown={{main other|_VALUE_{{PAGENAME}}}}|preview=Page using Template:Infobox UK place with unknown parameter "_VALUE_"|ignoreblank=y| ambulance_service | ambulance_service1 | area_footnotes | area_total_km2 | area_total_sq_mi | belfast_direction | belfast_distance | belfast_distance_km | belfast_distance_mi | cardiff_direction | cardiff_distance | cardiff_distance_km | cardiff_distance_mi | charingX_direction | charingX_distance | charingX_distance_km | charingX_distance_mi | civil_parish | civil_parish1 | civil_parish2 | community_scotland | community_scotland1 | community_scotland2 | community_scotland3 | community_wales | community_wales1 | community_wales2 | community_wales3 | constituency_manx_parliament | constituency_ni_assembly | constituency_ni_assembly1 | constituency_ni_assembly2 | constituency_ni_assembly3 | constituency_scottish_parliament | constituency_scottish_parliament1 | constituency_scottish_parliament10 | constituency_scottish_parliament2 | constituency_scottish_parliament3 | constituency_scottish_parliament4 | constituency_scottish_parliament5 | constituency_scottish_parliament6 | constituency_scottish_parliament7 | constituency_scottish_parliament8 | constituency_scottish_parliament9 | constituency_welsh_assembly | constituency_welsh_assembly1 | constituency_welsh_assembly2 | constituency_westminster | constituency_westminster1 | constituency_westminster2 | constituency_westminster3 | constituency_westminster4 | constituency_westminster5 | constituency_westminster6 | constituency_westminster7 | constituency_westminster8 | coordinates | cornish_name | councillor1 | councillor2 | councillor3 | councillor4 | councillor5 | councillors | country | country1 | crown_dependency | dial_code | dial_code1 | dial_code2 | douglas_direction | douglas_distance | douglas_distance_km | douglas_distance_mi | dublin_direction | dublin_distance | dublin_distance_km | dublin_distance_mi | edinburgh_direction | edinburgh_distance | edinburgh_distance_km | edinburgh_distance_mi | embedded | gaelic_name | hide_services | irish_grid_reference | irish_grid_reference_note | irish_name | iso_code | label_position | language | language1 | language2 | lieutenancy_england | lieutenancy_england1 | lieutenancy_england2 | lieutenancy_england3 | lieutenancy_northern_ireland | lieutenancy_northern_ireland1 | lieutenancy_northern_ireland2 | lieutenancy_scotland | lieutenancy_scotland1 | lieutenancy_scotland2 | lieutenancy_scotland3 | lieutenancy_wales | lieutenancy_wales1 | lieutenancy_wales2 | lieutenancy_wales3 | local_name | london_borough | london_borough1 | london_borough2 | london_borough3 | london_borough4 | london_direction | london_distance | london_distance_km | london_distance_mi | manx_name | manx_parish | manx_sheading | manx_shedding | map_alt | map_relief | map_type | metropolitan_borough | metropolitan_borough1 | metropolitan_borough2 | metropolitan_borough3 | metropolitan_county | metropolitan_county1 | metropolitan_county2 | metropolitan_county3 | module | official_name | os_grid_reference | os_grid_reference_note | other_language | other_language_name | p1 | p10 | p11 | p12 | p13 | p14 | p15 | p16 | p17 | p18 | p19 | p2 | p20 | p21 | p22 | p23 | p24 | p25 | p26 | p27 | p28 | p29 | p3 | p30 | p31 | p32 | p33 | p34 | p35 | p36 | p37 | p38 | p39 | p4 | p40 | p41 | p42 | p43 | p44 | p45 | p46 | p47 | p48 | p49 | p5 | p50 | p6 | p7 | p8 | p9 | parts | parts_style | parts_type | party1 | party2 | party3 | party4 | party5 | population | population_demonym | population_density | population_ref | post_town | post_town1 | post_town2 | postcode_area | postcode_area1 | postcode_area2 | postcode_district | postcode_district1 | postcode_district2 | pushpin_map | region | region1 | scale | scots_name | shire_county | shire_county1 | shire_county2 | shire_county3 | shire_district | shire_district1 | shire_district2 | shire_district3 | static_image | static_image_2 | static_image_2_alt | static_image_2_caption | static_image_2_name | static_image_2_width | static_image_alt | static_image_caption | static_image_name | static_image_width | statistic | statistic_title | statistic_title1 | statistic_title2 | statistic1 | statistic2 | type | unitary_england | unitary_england1 | unitary_england2 | unitary_england3 | unitary_northern_ireland | unitary_northern_ireland1 | unitary_northern_ireland2 | unitary_northern_ireland3 | unitary_scotland | unitary_scotland1 | unitary_scotland2 | unitary_scotland3 | unitary_wales | unitary_wales1 | unitary_wales2 | unitary_wales3 | website | welsh_name |pushpin_map_caption }}

{{Documentation}}