Template:Infobox UK place/doc

Infobox UK place is intended for use with articles about places (i.e. human settlements) in the United Kingdom. It has provision for a location map, images, captions, and detailed information about the place e.g. population, governance, and public services. There is an associated Template:Infobox UK feature which operates in a similar manner and is intended for features such as bridges, castles, and hills which do not require the options about governance etc.

Basic syntax
Examples are available showing typical infoboxes together with the code for those examples. This code can be cut and pasted into new articles. The samples provided are:
 * Isle of Man
 * Northern Ireland
 * Scotland
 * Wales
 * England – these can have differing structures:
 * Greater London
 * City of London
 * Metropolitan county (Greater Manchester, Merseyside, Tyne and Wear, South Yorkshire, West Yorkshire, West Midlands)
 * Shire district in a shire county
 * ...within a parish of the same name
 * Unitary district within a shire
 * Standalone unitary (Herefordshire, Rutland, Bristol, Isle of Wight)

TemplateData
{	"description": "Intended for use with articles about places i.e. human settlements in the United Kingdom. It has provision for a location map, images, captions, and detailed information about the place e.g. population, governance, and public services. There is an associated Template:Infobox UK feature which operates in a similar manner and is intended for features such as bridges, castles, and hills which do not require the options about governance etc.", "params": { "official_name": { "label": "official name", "description": " defaults to ", "type": "string", "required": false },		"local_name": { "label": "local name", "description": " ", "type": "string", "required": false },		"country": { "label": "country", "description": " England, Northern Ireland, Wales, Scotland - NOT linked (also produces EU constituency)", "type": "string", "required": false },		"crown_dependency": { "label": "crown dependency", "description": " Isle of Man - NOT linked (this removes formal mentions of the UK)", "type": "string", "required": false },		"region": { "label": "region", "description": " (England only) this should NOT be linked (also produces EU constituency)", "type": "string", "required": false },		"region1": { "label": "region1", "description": " for places split between regions", "type": "string", "required": false },		"static_image": { "label": "static image", "description": " now deprecated in favour of static_image_name (below); this is used for a static image (most commonly a skyline or landmark)", "type": "string", "required": false },		"static_image_name": { "label": "static image name", "description": " for a static image of the place, such as a skyline or defining local landmark", "type": "string", "required": false },		"static_image_width": { "label": "static image width", "description": " allows control of the image width. Should be omitted in most cases (will default to 240)", "type": "number", "required": false },		"static_image_caption": { "label": "static image caption", "description": " optional caption for static image", "type": "string", "required": false },		"static_image_alt": { "label": "static image alt", "description": " for a description of the image per WP:ALT", "type": "string", "required": false },		"static_image_2": { "label": "static image 2", "description": " now deprecated in favour of static_image_2_name (below); this is used for a second static image (for example a town crest)", "type": "string", "required": false },		"static_image_2_name": { "label": "static image 2 name", "description": " for a second static image, such as a town crest; specified as filename.jpg", "type": "string", "required": false },		"static_image_2_width": { "label": "static image 2 width", "description": " allows control of the image width. Should not exceed 240", "type": "number", "required": false },		"static_image_2_caption": { "label": "static image 2 caption", "description": " optional caption for static image", "type": "string", "required": false },		"static_image_2_alt": { "label": "static image 2 alt", "description": " for a description of the image per WP:ALT", "type": "string", "required": false },		"area_total_sq_mi": { "label": "area total sq mi", "description": " square mile data as a number - will automatically provide conversion to km2", "type": "number", "required": false },		"area_total_km2": { "label": "area total km2", "description": " sq km data as a number - will automatically provide ", "type": "number", "required": false },		"area_footnotes": { "label": "area footnotes", "description": " to cite the values used in the area fields. Use the tags", "type": "string", "required": false },		"population": { "label": "population", "description": " Enter just the number", "type": "number", "required": false },		"population_ref": { "label": "population ref", "description": " include a reference: e.g. ", "type": "string", "required": false },		"population_density": { "label": "population density", "description": " for /sq mi ...use convert template {{Pop density mi2 to km2", "type": "string", "required": false },		"statistic": { "label": "statistic", "type": "string", "required": false },		"statistic_title": { "label": "statistic title", "type": "string", "required": false },		"statistic1": { "label": "statistic1", "type": "string", "required": false },		"statistic_title1": { "label": "statistic title1", "type": "string", "required": false },		"statistic2": { "label": "statistic2", "type": "string", "required": false },		"statistic_title2": { "label": "statistic title2", "type": "string", "required": false },		"population_demonym": { "label": "population demonym", "description": " ", "type": "string", "required": false },		"os_grid_reference": { "label": "os grid reference", "description": " ", "type": "string", "required": false },		"map_type": { "label": "map type", "description": " type of map (leave blank for default map, or set to nomap, UK or Greater Belfast to force a particular map)", "type": "string", "required": false },		"map_alt": { "label": "map alt", "description": " alt text for map, for visually impaired and other readers who cannot see the image; see WP:ALT", "type": "string", "required": false },		"label_position": { "label": "label position", "description": " adjust position of label by dot – defaults to right       ", "type": "string", "required": false },		"coordinates": { "label": "Coordinates", "description": "Latitude and longitude. Use °N, °W. See the documentation for °N, °W for more details on usage.", "type": "wiki-template-name", "required": false, "example": "41.8375°N, -87.68194°W" },		"pushpin_map": { "label": "pushpin_map", "description": "The name of a regional location map (e.g. 'Oxford'). The coordinates information (from the coordinates parameter) position a pushpin coordinate marker and label on the map 'automatically'. Example see: Jericho, Oxford", "type": "string", "required": false },		"post_town": { "label": "post town", "description": " e.g. UXBRIDGE - converted automatically to upper case", "type": "string", "required": false },		"post_town1": { "label": "post town1", "description": " for places in more than one post town", "type": "string", "required": false },		"post_town2": { "label": "post town2", "description": " for places in more than one post town", "type": "string", "required": false },		"postcode_area": { "label": "postcode area", "description": " e.g. UB", "type": "string", "required": false },		"postcode_area1": { "label": "postcode area1", "description": " for places in more than one postcode area", "type": "string", "required": false },		"postcode_area2": { "label": "postcode area2", "description": " for places in more than one postcode area", "type": "string", "required": false },		"postcode_district": { "label": "postcode district", "description": " e.g. UB1, UB2 (this is displayed)", "type": "string", "required": false },		"postcode_district1": { "label": "postcode district1", "description": " for places in more than one postcode area", "type": "string", "required": false },		"postcode_district2": { "label": "postcode district2", "description": " for places in more than one postcode area", "type": "string", "required": false },		"dial_code": { "label": "dial code", "description": " e.g. 020, 0161 or 01332 - NOT +44...", "type": "string", "required": false },		"dial_code1": { "label": "dial code1", "description": " for places with more than one dial code", "type": "string", "required": false },		"dial_code2": { "label": "dial code2", "description": " for places with more than one dial code", "type": "string", "required": false },		"constituency_westminster": { "label": "constituency westminster", "description": " Use a link. e.g. Chiltern Hundreds", "type": "string", "required": false },		"constituency_westminster1": { "label": "constituency westminster1", "description": " for places in more than one constituency. Use a link.", "type": "string", "required": false },		"constituency_westminster2": { "label": "constituency westminster2", "description": " for places in more than one constituency. Use a link.", "type": "string", "required": false },		"constituency_westminster3": { "label": "constituency westminster3", "description": " for places in more than one constituency. Use a link.", "type": "string", "required": false },		"civil_parish": { "label": "civil parish", "description": " for places within a parish. Use a link, e.g. Odd Rode", "type": "string", "required": false },		"civil_parish1": { "label": "civil parish1", "description": " for places in more than one parish. Use a link.", "type": "string", "required": false },		"civil_parish2": { "label": "civil parish2", "description": " for places in more than one parish. Use a link.", "type": "string", "required": false },		"london_distance_mi": { "label": "london distance mi", "description": " for UK articles (outside of Greater London), distance to London as the crow flies", "type": "number", "required": false },		"london_distance_km": { "label": "london distance km", "description": " ", "type": "number", "required": false },		"london_distance": { "label": "london distance", "description": " ", "type": "number", "required": false },		"london_direction": { "label": "london direction", "description": " ", "type": "string", "required": false },		"belfast_distance_mi": { "label": "belfast distance mi", "description": " NORTHERN IRISH articles only, distance to Belfast as the crow flies", "type": "number", "required": false },		"belfast_distance_km": { "label": "belfast distance km", "description": " ", "type": "number", "required": false },		"belfast_distance": { "label": "belfast distance", "description": " ", "type": "number", "required": false },		"belfast_direction": { "label": "belfast direction", "description": " ", "type": "string", "required": false },		"cardiff_distance_mi": { "label": "cardiff distance mi", "description": " WELSH articles only, distance to Cardiff as the crow flies", "type": "number", "required": false },		"cardiff_distance_km": { "label": "cardiff distance km", "description": " ", "type": "number", "required": false },		"cardiff_distance": { "label": "cardiff distance", "description": " ", "type": "number", "required": false },		"cardiff_direction": { "label": "cardiff direction", "description": " ", "type": "string", "required": false },		"dublin_distance_mi": { "label": "dublin distance mi", "description": " distance to Dublin – may be relevant to NORTHERN IRISH articles as the crow flies", "type": "number", "required": false },		"dublin_distance_km": { "label": "dublin distance km", "description": " ", "type": "number", "required": false },		"dublin_distance": { "label": "dublin distance", "description": " ", "type": "number", "required": false },		"dublin_direction": { "label": "dublin direction", "description": " ", "type": "string", "required": false },		"edinburgh_distance_mi": { "label": "edinburgh distance mi", "description": " SCOTTISH articles only, distance to Edinburgh as the crow flies", "type": "number", "required": false },		"edinburgh_distance_km": { "label": "edinburgh distance km", "description": " ", "type": "number", "required": false },		"edinburgh_distance": { "label": "edinburgh distance", "description": " ", "type": "number", "required": false },		"edinburgh_direction": { "label": "edinburgh direction", "description": " ", "type": "string", "required": false },		"douglas_distance_mi": { "label": "douglas distance mi", "description": " MANX articles only, distance to Douglas as the crow flies", "type": "number", "required": false },		"douglas_distance_km": { "label": "douglas distance km", "description": " ", "type": "number", "required": false },		"douglas_distance": { "label": "douglas distance", "description": " ", "type": "number", "required": false },		"douglas_direction": { "label": "douglas direction", "description": " ", "type": "string", "required": false },		"charingX_distance_mi": { "label": "charingX distance mi", "description": " for places WITHIN Greater London ONLY as the crow flies", "type": "number", "required": false },		"charingX_distance_km": { "label": "charingX distance km", "description": " ", "type": "number", "required": false },		"charingX_distance": { "label": "charingX distance", "description": " ", "type": "number", "required": false },		"charingX_direction": { "label": "charingX direction", "description": " ", "type": "string", "required": false },		"gaelic_name": { "label": "gaelic name", "description": " ", "type": "string", "required": false },		"scots_name": { "label": "scots name", "description": " ", "type": "string", "required": false },		"community_scotland": { "label": "community scotland", "description": " Use a link, e.g. Old Aberdeen", "type": "string", "required": false },		"community_scotland1": { "label": "community scotland1", "description": " for places in more than one", "type": "string", "required": false },		"unitary_scotland": { "label": "unitary scotland", "description": " ", "type": "string", "required": false },		"unitary_scotland1": { "label": "unitary scotland1", "description": " for places in more than one", "type": "string", "required": false },		"lieutenancy_scotland": { "label": "lieutenancy scotland", "description": " ", "type": "string", "required": false },		"lieutenancy_scotland1": { "label": "lieutenancy scotland1", "description": " for places in more than one", "type": "string", "required": false },		"constituency_scottish_parliament": { "label": "constituency scottish parliament", "description": " ", "type": "string", "required": false },		"constituency_scottish_parliament1": { "label": "constituency scottish parliament1", "description": " for places in more than one constituency", "type": "string", "required": false },		"constituency_scottish_parliament2": { "label": "constituency scottish parliament2", "description": " for places in more than one constituency", "type": "string", "required": false },		"welsh_name": { "label": "welsh name", "description": " ", "type": "string", "required": false },		"community_wales": { "label": "community wales", "description": " Use a link, e.g. Eglwyscummin", "type": "string", "required": false },		"community_wales1": { "label": "community wales1", "description": " for places in more than one", "type": "string", "required": false },		"unitary_wales": { "label": "unitary wales", "description": " ", "type": "string", "required": false },		"unitary_wales1": { "label": "unitary wales1", "description": " for places in more than one", "type": "string", "required": false },		"lieutenancy_wales": { "label": "lieutenancy wales", "description": " ", "type": "string", "required": false },		"lieutenancy_wales1": { "label": "lieutenancy wales1", "description": " for places in more than one", "type": "string", "required": false },		"constituency_welsh_assembly": { "label": "constituency welsh assembly", "description": " ", "type": "string", "required": false },		"constituency_welsh_assembly1": { "label": "constituency welsh assembly1", "description": " for places in more than one constituency", "type": "string", "required": false },		"constituency_welsh_assembly2": { "label": "constituency welsh assembly2", "description": " for places in more than one constituency", "type": "string", "required": false },		"irish_name": { "label": "irish name", "description": " ", "type": "string", "required": false },		"irish_grid_reference": { "label": "irish grid reference", "description": " ", "type": "string", "required": false },		"unitary_northern_ireland": { "label": "unitary northern ireland", "description": " ", "type": "string", "required": false },		"unitary_northern_ireland1": { "label": "unitary northern ireland1", "description": " for places in more than one", "type": "string", "required": false },		"unitary_northern_ireland2": { "label": "unitary northern ireland2", "description": " for places in more than one", "type": "string", "required": false },		"lieutenancy_northern_ireland": { "label": "lieutenancy northern ireland", "description": " ", "type": "string", "required": false },		"lieutenancy_northern_ireland1": { "label": "lieutenancy northern ireland1", "description": " for places in more than one", "type": "string", "required": false },		"lieutenancy_northern_ireland2": { "label": "lieutenancy northern ireland2", "description": " for places in more than one", "type": "string", "required": false },		"constituency_ni_assembly": { "label": "constituency ni assembly", "description": " ", "type": "string", "required": false },		"constituency_ni_assembly1": { "label": "constituency ni assembly1", "description": " for places in more than one", "type": "string", "required": false },		"manx_name": { "label": "manx name", "description": " ", "type": "string", "required": false },		"manx_parish": { "label": "manx parish", "description": " for places in the Isle of Man", "type": "string", "required": false },		"manx_sheading": { "label": "manx sheading", "description": " for places in the Isle of Man, also generates emergency services", "type": "string", "required": false },		"constituency_manx_parliament": { "label": "constituency manx parliament", "description": " for House of Keys constituency", "type": "string", "required": false },		"metropolitan_borough": { "label": "metropolitan borough", "description": " ", "type": "string", "required": false },		"metropolitan_borough1": { "label": "metropolitan borough1", "description": " for places in more than one", "type": "string", "required": false },		"metropolitan_county": { "label": "metropolitan county", "description": " Use a link. e.g. Tyne and Wear", "type": "string", "required": false },		"metropolitan_county1": { "label": "metropolitan county1", "description": " for places in more than one", "type": "string", "required": false },		"shire_district": { "label": "shire district", "description": " ", "type": "string", "required": false },		"shire_district1": { "label": "shire district1", "description": " for places in more than one", "type": "string", "required": false },		"shire_county": { "label": "shire county", "description": " Use a link. e.g. Devon", "type": "string", "required": false },		"shire_county1": { "label": "shire county1", "description": " for places in more than one", "type": "string", "required": false },		"unitary_england": { "label": "unitary england", "description": " ", "type": "string", "required": false },		"unitary_england1": { "label": "unitary england1", "description": " for places in more than one", "type": "string", "required": false },		"lieutenancy_england": { "label": "lieutenancy england", "description": " not required where shire or metropolitan is the same", "type": "string", "required": false },		"lieutenancy_england1": { "label": "lieutenancy england1", "description": " for places in more than one", "type": "string", "required": false },		"london_borough": { "label": "london borough", "description": " this should not be linked and simplified: e.g. Bromley NOT London Borough of Bromley", "type": "string", "required": false },		"london_borough1": { "label": "london borough1", "description": " for places in more than one borough (also produces London Assembly constituency)", "type": "string", "required": false },		"london_borough2": { "label": "london borough2", "description": " for places in more than one borough (also produces London Assembly constituency)", "type": "string", "required": false },		"london_borough3": { "label": "london borough3", "description": " special cases, does not produce London Assembly constituency)",			"type": "string",			"required": false		},		"london_borough4": {			"label": "london borough4",			"description": " special cases, does not produce London Assembly constituency)", "type": "string", "required": false },		"cornish_name": { "label": "cornish name", "description": " ", "type": "string", "required": false },		"other_language_name": { "label": "other language name", "description": " any other alternative language name", "type": "string", "required": false },		"other_language": { "label": "other language", "description": " any other alternative language name", "type": "string", "required": false },		"language": { "label": "language", "description": " any locally spoken languages", "type": "string", "required": false },		"language1": { "label": "language1", "description": " any locally spoken languages", "type": "string", "required": false },		"language2": { "label": "language2", "description": " any locally spoken languages", "type": "string", "required": false },		"website": { "label": "website", "description": " Council website for place (specifically)", "type": "string", "required": false },		"hide_services": { "label": "hide services", "description": " Set to Yes to turn off Police/Fire/Ambulance", "type": "string", "required": false }	},	"format": "block" }