Template:Infobox UK place/doc
From Wikipedia, the free encyclopedia
Contents |
[edit] Required fields and automation
[edit] Automated features
Feature | Required fields |
---|---|
Basic function | official_name country map_type (leave blank) England only: region |
Maps | latitude longitude map_type (= United Kingdom, Northern Ireland, Scotland, Greater London, Greater Belfast, Tyne and Wear, Greater Manchester) |
Services | country unitary_scotland OR unitary_england OR unitary_northern_ireland OR unitary_wales OR london_borough OR metropolitan_borough OR shire_district England only: shire_county OR metropolitan_county OR lieutenancy_england England only: region Vale of White Horse and Hart districts only: ambulance_service (needs to be populated) |
Postal | post_town postcode_area postcode_district |
European Parliament | country England only: region |
London Assembly | london_borough |
[edit] Normally used features
Although not required for any of the automation, the following fields would normally be filled in |
---|
|
[edit] Optional features
Optional feature | Required fields |
---|---|
Other language names | gaelic_name OR scots_name OR welsh_name OR irish_name OR cornish_name |
Any other language name | other_language AND other_language_name local_name |
Languages spoken | language |
Distances from capitals | london_distance edinburgh_distance cardiff_distance belfast_distance |
Civil parish | civil_parish |
Population figures | population population_density (A good place to find the population figures is at neighbourhood.statistics.gov.uk) |
Website link | website |
Static image | static_image static_image_caption |
[edit] Division splits
Division splits |
---|
Many locations are within multiple post towns, constituencies, districts or regions. Where a place straddles multiple divisions, each division can be accomodated in its own field:
There are slightly more "esoteric" extras to handle some tricky situations of division splits, which, if needed, can be explained by contacting one of the users involved in this template's construction. |
[edit] Examples
[edit] England
[edit] Wales
|
{{Infobox UK place |latitude= 51.824 |longitude= -3.0167 |country= Wales |official_name= Abergavenny |unitary_wales= [[Monmouthshire]] |lieutenancy_wales= [[Gwent]] |constituency_westminster= [[Monmouth (UK Parliament constituency)|Monmouth]] |post_town= ABERGAVENNY |postcode_area= NP |postcode_district= NP7 |dial_code= 01873 |os_grid_reference= SO295145 |population= 14,055 }} |
[edit] Scotland
|
{{Infobox UK place | official_name= Aberdeen | gaelic_name= Obar Dheathain | scots_name= Aiberdeen | local_name= Granite City, Oil Capital of Europe, Silver City | country= Scotland | map_type= Scotland | population= 202,370 | population_density= 2819 [[Square mile|mile²]] (1,089 [[Square kilometre|km²]]) | os_grid_reference= NJ925065 | edinburgh_distance= 94 miles (151 km) | london_distance= 403 miles (649 km) | latitude= 57.0843 | longitude= -02.0615 | post_town= ABERDEEN | postcode_area= AB | postcode_district= AB10-AB13 (part), AB15,<br/> AB16, AB22-AB25 | dial_code= 01224 | constituency_westminster= [[Aberdeen South (UK Parliament constituency)|Aberdeen South]] | constituency_westminster1= [[Aberdeen North (UK Parliament constituency)|Aberdeen North]] | constituency_westminster2= [[Gordon (UK Parliament constituency)|Gordon]] | civil_parish= [[Presbytery of Aberdeen]] | unitary_scotland= [[Aberdeen City Council]] | lieutenancy_scotland= Aberdeen | constituency_scottish_parliament= [[Aberdeen Central (Scottish Parliament constituency)|Aberdeen Central]] | constituency_scottish_parliament1= [[Aberdeen North (Scottish Parliament constituency)|Aberdeen North]] | constituency_scottish_parliament2= [[Aberdeen South (Scottish Parliament constituency)|Aberdeen South]] | website= [http://www.aberdeencity.gov.uk aberdeencity.gov.uk] }} |
[edit] Northern Ireland
|
{{Infobox UK place | |official_name= Belfast |gaelic_name= Béal Feirste |scots_name= Bilfawst |static_image= [[Image:Belfast city crest painting.png|100px|Coat of arms of Belfast]] |static_image_caption=Pro Tanto Quid Retribuamus <br>"What shall we give in return for so much" |map_type= Northern Ireland |latitude= 54.596 |longitude= -5.914 |population= City Proper: 276,459<br/>[[Belfast Metropolitan Area]]: 579,276<br/> ([[United Kingdom Census 2001|2001 Census]]) |irish_grid_reference= J338740 |unitary_northern_ireland= [[Belfast City Council|Belfast]] |country= Northern Ireland |post_town= BELFAST |postcode_area= BT |postcode_district= BT1-BT17, BT29 (part of), BT58 |dial_code= 028 |constituency_westminster= [[Belfast North (UK Parliament constituency)|Belfast North]] |constituency_westminster1= [[Belfast South (UK Parliament constituency)|Belfast South]] |constituency_westminster2= [[Belfast East (UK Parliament constituency)|Belfast East]] |constituency_westminster3= [[Belfast West (UK Parliament constituency)|Belfast West]] |lieutenancy_northern_ireland= [[County Antrim]] |website= [http://www.belfastcity.gov.uk www.belfastcity.gov.uk] }} |
[edit] Full syntax
{{Infobox UK place | official_name= | local_name= | country= <!-- England, Wales, Scotland - NOT [[linked]] (also produces EU constituency) --> | region= <!-- (England only) this should NOT be linked: e.g. East of England NOT [[East of England]] (also produces EU constituency) --> | region1= <!-- for places split between regions --> | static_image= <!-- this is used for a static image (for example a town crest) --> | static_image_caption= <!-- optional caption for static image --> | population= <!-- include a reference: e.g. <ref>Census, 2001</ref>, a good place to check for these figures is http://neighbourhood.statistics.gov.uk/ --> | population_density= <!-- population density, write as format: 000 [[Square mile|mile²]] (000 [[Square kilometre|km²]]) --> | os_grid_reference= | map_type= <!-- type of map (leave blank for UK map, or set to nomap, Scotland, Greater London, Greater Manchester or an image link --> | latitude= <!-- location of the place, puts a dot on the map --> | longitude= <!-- location of the place, puts a dot on the map --> | post_town= <!-- e.g. UXBRIDGE - NOT [[Uxbridge]] --> | post_town1= <!-- for places in more than one post town --> | post_town2= <!-- for places in more than one post town --> | postcode_area= <!-- e.g. UB --> | postcode_area1= <!-- for places in more than one postcode area --> | postcode_area2= <!-- for places in more than one postcode area --> | postcode_district= <!-- e.g. UB1, UB2 (this is displayed) --> | postcode_district1= <!-- for places in more than one postcode area --> | postcode_district2= <!-- for places in more than one postcode area --> | dial_code= <!-- e.g. 020, 0161 or 01332 - NOT +44... --> | dial_code1= <!-- for places in more than one dial code--> | dial_code2= <!-- for places in more than one dial code--> | constituency_westminster= <!-- Use a link. e.g. [[Chiltern Hundreds]] | constituency_westminster1= <!-- for places in more than one constituency. Use a link. --> | constituency_westminster2= <!-- for places in more than one constituency. Use a link. --> | constituency_westminster3= <!-- for places in more than one constituency. Use a link. --> | civil_parish= <!-- for places within a parish. Use a link, e.g. [[Odd Rode]] --> | civil_parish1= <!-- for places in more than one parish. Use a link. --> | belfast_distance= <!-- NORTHERN IRISH articles only, distance to Belfast --> | cardiff_distance= <!-- WELSH articles only, distance to Cardiff --> | edinburgh_distance= <!-- SCOTTISH articles only, distance to Edinburgh --> | london_distance= <!-- for all UK articles, distance to London --> | gaelic_name= | scots_name= | unitary_scotland= | unitary_scotland1= <!-- for places in more than one --> | lieutenancy_scotland= | lieutenancy_scotland1= <!-- for places in more than one --> | constituency_scottish_parliament= | constituency_scottish_parliament1= <!-- for places in more than one constituency --> | constituency_scottish_parliament2= <!-- for places in more than one constituency --> | welsh_name= | unitary_wales= | unitary_wales1= <!-- for places in more than one --> | lieutenancy_wales= | lieutenancy_wales1= <!-- for places in more than one --> | constituency_welsh_assembly= | constituency_welsh_assembly1= <!-- for places in more than one constituency --> | constituency_welsh_assembly2= <!-- for places in more than one constituency --> | irish_name= | irish_grid_reference= | unitary_northern_ireland= | unitary_northern_ireland1= <!-- for places in more than one --> | unitary_northern_ireland2= <!-- for places in more than one --> | lieutenancy_northern_ireland= | lieutenancy_northern_ireland1= <!-- for places in more than one --> | lieutenancy_northern_ireland2= <!-- for places in more than one --> | metropolitan_borough= | metropolitan_borough1= <!-- for places in more than one --> | metropolitan_county= | metropolitan_county1= <!-- for places in more than one --> | shire_district= | shire_district1= <!-- for places in more than one --> | shire_county= | shire_county1= <!-- for places in more than one --> | unitary_england= | unitary_england1= <!-- for places in more than one --> | lieutenancy_england= <!-- not required where shire or metropolitan is the same --> | lieutenancy_england1= <!-- for places in more than one --> | london_borough= <!-- this should not be linked and simplified: e.g. Bromley NOT [[London Borough of Bromley]] (also produces London Assembly constituency) --> | london_borough1= <!-- for places in more than one borough (also produces London Assembly constituency) --> | london_borough2= <!-- for places in more than one borough (also produces London Assembly constituency) --> | london_borough3= <!-- special cases, does not produce London Assembly constituency) --> | london_borough4= <!-- special cases, does not produce London Assembly constituency) --> | cornish_name= | other_language_name= <!-- any other alternative language name --> | other_language= <!-- any other alternative language name --> | language= <!-- any locally spoken languages --> | language1= <!-- any locally spoken languages --> | language2= <!-- any locally spoken languages --> | website= <!-- local website for place --> }}