This is the template sandbox page for Template:Infobox UK place (diff). See also the companion subpage for test cases. |
This template is used on approximately 27,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
This template uses Lua: |
This template uses TemplateStyles: |
{{{official_name}}} | |
---|---|
{{{type}}} | |
[[File:{{{static_image_name}}}|{{{static_image_width}}} |alt={{{static_image_alt}}}]] {{{static_image_caption}}} | |
[[File:{{{static_image_2}}}|{{{static_image_2_width}}} |alt={{{static_image_2_alt}}}]] {{{static_image_2_caption}}} | |
Location within the United Kingdom | |
Area | 1 sq mi (2.6 km2) {{{area footnotes}}} |
Population | 0 {{{population_ref}}} |
• Density | 0/sq mi (0/km2) |
{{{statistic_title}}} | {{{statistic}}} |
{{{statistic_title1}}} | {{{statistic1}}} |
{{{statistic_title2}}} | {{{statistic2}}} |
Demonym | {{{population_demonym}}} |
Language | {{{language}}} {{{language1}}} {{{language2}}} |
OS grid reference | [{{{os {{{os_grid_reference}}}] |
Irish grid reference | {{{irish_grid_reference}}} |
• Belfast | 0 mi (0.0 km) {{{belfast_direction}}} |
• Cardiff | 0 mi (0.0 km) {{{cardiff_direction}}} |
• Douglas | 0 mi (0.0 km) {{{douglas_direction}}} |
• Dublin | 0 mi (0.0 km) {{{dublin_direction}}} |
• Edinburgh | 0 mi (0.0 km) {{{edinburgh_direction}}} |
• London | 0 mi (0.0 km) {{{london_direction}}} |
• Charing Cross | 0 mi (0.0 km) {{{charingX_direction}}} |
Civil parish |
|
Community |
|
Principal area |
|
Metropolitan borough |
|
District |
|
Unitary authority |
|
Council area |
|
District |
|
Parish | {{{manx_parish}}} |
Preserved county |
|
Greater London | |
Shire county |
|
Metropolitan county |
|
Ceremonial county |
|
Lieutenancy area |
|
County |
|
Sheading | {{{manx_sheading}}} |
Country | {{{country}}} |
Sovereign state | United Kingdom |
{{{parts_type}}} | {{{parts}}}
|
Post town | {{{post_town}}} |
Postcode district | [[{{{postcode_area}}} postcode area|{{{postcode_district}}}]] |
Post town | {{{post_town1}}} |
Postcode district | [[{{{postcode_area1}}} postcode area|{{{postcode_district1}}}]] |
Post town | {{{post_town2}}} |
Postcode district | [[{{{postcode_area2}}} postcode area|{{{postcode_district2}}}]] |
Dialling code | {{{dial_code}}} {{{dial_code1}}} {{{dial_code2}}} |
Police | |
Fire | |
Ambulance | |
UK Parliament |
|
Scottish Parliament |
|
Senedd Cymru – Welsh Parliament |
|
House of Keys | {{{constituency_manx_parliament}}} |
NI Assembly |
|
Councillors | {{{councillors}}} |
Councillors |
|
Website | {{{website}}} |
{{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.
Basic syntax
editExamples 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)
Full syntax
edit{{Infobox UK place
<!---------------BASICS---------------->
| official_name = <!-- defaults to {{PAGENAME}} -->
| local_name =
| type = <!-- e.g. City, Town, Village. -->
| country = <!-- England, Northern Ireland, Wales, Scotland; do not link. Also produces EU constituency. -->
| crown_dependency = <!-- Isle of Man; do not link. Removes formal mentions of the UK. -->
| region = <!-- England only; do not link. Also produces EU constituency. -->
| region1 = <!-- (if place extends to more than one region of England) -->
<!---------------PARTS----------------->
| parts_type = <!-- defaults to: Places -->
| parts_style = <!-- list, coll (collapsed list), para (paragraph format) -->
| parts = <!-- parts text, or header for parts list -->
| p1 =
| p2 = <!-- etc., up to p50: for separate parts to be listed-->
<!---------------IMAGE/S--------------->
| static_image_name = <!-- For a static image of the place, e.g. a skyline or defining local landmark. Use filename only (e.g. name.jpg). -->
| static_image_width = <!-- allows control of the image width. Should be omitted in most cases (will default to 240) -->
| static_image_alt = <!-- for a description of the image per [[WP:ALT]] -->
| static_image_caption = <!-- optional caption for static image -->
| static_image_2_name = <!-- for a second static image, such as a town crest. Use filename only (e.g. name.jpg). -->
| static_image_2_width = <!-- allows control of the image width. Should not exceed 240 -->
| static_image_2_alt = <!-- for a description of the image per [[WP:ALT]] -->
| static_image_2_caption = <!-- optional caption for static image -->
<!-------------STATISTICS-------------->
| area_total_sq_mi = <!-- Total area in square miles (number only). If area_total_km2 (below) left blank, a conversion -->
<!-- to sq-km will also be calculated and included. -->
| area_total_km2 = <!-- Total area in square km (number only). If area_total_sq_mi (above) left blank, a conversion -->
<!-- to sq-mi will also be calculated and included. -->
| area_footnotes = <!-- Reference/s for the value/s used in the area fields. Use <ref>...</ref> tags. -->
| population = <!-- Number only. If area_total_sq_mi or area_total_km2 have also been supplied, -->
<!-- population_density (below) is calculated automatically. -->
| population_ref = <!-- To include a reference or references (e.g."<ref>Census, 2001</ref>") and/or use for any -->
<!-- non-numeric population values (e.g. "c. 500", "< 500"). (A good place to check these -->
<!-- figures is https://www.nomisweb.co.uk/ )-->
| population_density = <!-- To convert /sq-mi to /sq-km, use {{pop density mi2 to km2|(/sq-mi value here)|precision=1|abbr=yes}}; -->
<!-- to convert /sq-km to /sq-mi, use {{pop density km2 to mi2|(/sq-km value here)|precision=1|abbr=yes}}. -->
| population_demonym =
<!---(for further optional population stats:)--->
| statistic_title =
| statistic =
| statistic_title1 =
| statistic1 =
| statistic_title2 =
| statistic2 =
<!-----------MAP / LOCATION------------>
| os_grid_reference =
| map_type = <!-- type of map (leave blank for default map, or set to nomap, UK or Greater Belfast to force a particular map) -->
| map_alt = <!-- alt text for map, for visually impaired and other readers who cannot see the image; see [[WP:ALT]] -->
| coordinates = <!-- location of the place (use {{Coord}}); puts a dot on the map -->
| label_position = <!-- adjust position of label by dot – defaults to right -->
<!-------------POSTAL INFO------------->
| post_town = <!-- e.g. "UXBRIDGE" (without quotemarks). Will be displayed as upper-case. -->
| post_town1 = <!-- (if place extends to more than one post town)-->
| post_town2 =
| postcode_area = <!-- e.g. "UB" -->
| postcode_area1 = <!-- (if place extends to more than one postcode area) -->
| postcode_area2 =
| postcode_district = <!-- e.g. "UB1", "UB2", etc -->
| postcode_district1 = <!-- (if place extends to more than one postcode district) -->
| postcode_district2 =
<!------------TELEPHONE INFO----------->
| dial_code = <!-- e.g. 020, 0161 or 01332. Do not include international prefixes/codes (such as +44) -->
| dial_code1 = <!-- (if place has more than one dialling code) -->
| dial_code2 =
<!-------------GOVERNANCE-------------->
| constituency_westminster = <!-- (use link, e.g. [[Chiltern Hundreds]]) -->
| constituency_westminster1 = <!-- (if place extends to more than one constituency; use link) -->
| constituency_westminster2 =
| constituency_westminster3 =
| civil_parish = <!-- If place within a parish. Use link (e.g. [[Odd Rode]]). -->
| civil_parish1 = <!-- (if place extends to another parish; use link) -->
| civil_parish2 = <!-- (if place extends to another parish; use link) -->
<!--------------DISTANCES-------------->
<!-- As crow flies, i.e. straight-line. Miles may be converted to km via {{convert|(distance)|mi|0}}. -->
| london_distance_mi = <!-- (for places outside but nearer to Greater London than any of the other settlements below) -->
| london_distance_km =
| london_distance =
| london_direction =
| belfast_distance_mi = <!-- (for places in Northern Ireland) -->
| belfast_distance_km =
| belfast_distance =
| belfast_direction =
| cardiff_distance_mi = <!-- (for places in Wales) -->
| cardiff_distance_km =
| cardiff_distance =
| cardiff_direction =
| dublin_distance_mi = <!-- (in addition to Belfast data for places in Northern Ireland if they are also relatively near Dublin) -->
| dublin_distance_km =
| dublin_distance =
| dublin_direction =
| edinburgh_distance_mi = <!-- (for places in Scotland) -->
| edinburgh_distance_km =
| edinburgh_distance =
| edinburgh_direction =
| douglas_distance_mi = <!-- (for places on the Isle of Man) -->
| douglas_distance_km =
| douglas_distance =
| douglas_direction =
| charingX_distance_mi = <!-- (for places within Greater London) -->
| charingX_distance_km =
| charingX_distance =
| charingX_direction =
<!-------SCOTLAND-SPECIFIC INFO-------->
| gaelic_name =
| scots_name =
| community_scotland = <!-- (use link, e.g. [[Old Aberdeen]]) -->
| community_scotland1 = <!-- (if place assigned more than one community) -->
| unitary_scotland =
| unitary_scotland1 = <!-- (if place assigned more than one unitary area) -->
| lieutenancy_scotland =
| lieutenancy_scotland1 = <!-- (if place part of more than one lieutenancy)-->
| constituency_scottish_parliament =
| constituency_scottish_parliament1 = <!-- (if place extends to more than one constituency) -->
| constituency_scottish_parliament2 =
<!---------WALES-SPECIFIC INFO--------->
| welsh_name =
| community_wales = <!-- (use link, e.g. [[Eglwyscummin]]) -->
| community_wales1 = <!-- (if place assigned more than one community) -->
| unitary_wales =
| unitary_wales1 = <!-- (as Scotland above) -->
| lieutenancy_wales =
| lieutenancy_wales1 = <!-- (ditto) -->
| constituency_welsh_assembly =
| constituency_welsh_assembly1 = <!-- (ditto) -->
| constituency_welsh_assembly2 =
<!-------N.IRELAND-SPECIFIC INFO------->
| irish_name =
| irish_grid_reference =
| unitary_northern_ireland =
| unitary_northern_ireland1 = <!-- (ditto) -->
| unitary_northern_ireland2 =
| lieutenancy_northern_ireland =
| lieutenancy_northern_ireland1 = <!-- (ditto) -->
| lieutenancy_northern_ireland2 =
| constituency_ni_assembly =
| constituency_ni_assembly1 = <!-- (ditto) -->
<!------ISLE OF MAN-SPECIFIC INFO------>
| manx_name =
| manx_parish =
| manx_sheading =
| constituency_manx_parliament =
<!--------ENGLAND-SPECIFIC INFO-------->
| metropolitan_borough =
| metropolitan_borough1 = <!-- (ditto) -->
| metropolitan_county = <!-- (use link, e.g. [[Tyne and Wear]]) -->
| metropolitan_county1 = <!-- (if place part of more than one metropolitan country) -->
| shire_district =
| shire_district1 = <!-- (if place extends to more than one shire district) -->
| shire_county = <!-- (use link, e.g. [[Devon]]) -->
| shire_county1 = <!-- (if place extends to more than one shire county) -->
| unitary_england =
| unitary_england1 = <!-- (if place assigned more than one unitary area) -->
| lieutenancy_england = <!-- (not required where shire or metropolitan is the same) -->
| lieutenancy_england1 = <!-- (if place extends to more than one lieutenancy) -->
| london_borough = <!-- Simplify but do not link (e.g. "Bromley" rather than "[[London Borough of Bromley]]") otherwise -->
<!-- place's London Assembly constituency cannot be identified. -->
| london_borough1 = <!-- (For places extending to more than one borough. As above, simplify but do not link.) -->
| london_borough2 =
| london_borough3 = <!-- (as above, but not used to identify London Assembly constituency) -->
| london_borough4 = <!-- (ditto) -->
<!--------OTHER LANGUAGES, ETC--------->
| cornish_name =
| other_language_name = <!-- Place's name in another relevant language -->
| other_language = <!-- Other relevant language's name -->
| language = <!-- Locally-spoken language -->
| language1 = <!-- (ditto) -->
| language2 =
| website = <!-- Place's council or equivalent local-government website -->
| module = <!-- Used for adding e.g. {{Infobox mapframe|stroke-width=1|zoom=12|width=240}} to the bottom of the infobox -->
| hide_services = <!-- Set as "yes" (without quotemarks) to suppress inclusion of Police/Fire/Ambulance details, otherwise omit. -->
}}
Parameters
editFor automated features
editFeature | Required fields |
---|---|
Basic function | official_name – defaults to {{{PAGENAME}}} country (?) England only: region (?) |
Maps | coordinates country England only: region (= London) OR metropolitan_county OR shire_county OR unitary_england (= Bristol, Isle of Wight, Southampton) Scotland only: unitary_scotland Note that by default, the coordinates are displayed to the right of the title, at the top of the page. This can cause an error if there is more than one set of coordinates in the article. To override the display in the title, use If you wish to include an additional custom {{location map}} (typically for the local area), use |
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 |
London Assembly | london_borough |
Footer lists | country london_borough OR shire_county OR metropolitan_county OR lieutenancy_england OR unitary_scotland OR unitary_wales OR lieutenancy_northern_ireland |
Commonly used
editAlthough not required for any of the automation, the following fields should normally be filled in |
For optional features
editOptional feature | Required fields |
---|---|
Other language names | gaelic_name OR scots_name OR welsh_name OR irish_name OR cornish_name OR manx_name |
Any other language name | other_language AND other_language_name local_name |
Languages spoken | language |
Static image(s) | static_image (deprecated) static_image_name static_image_width - defaults to 240px wide to match the maps. static_image_caption static_image_alt (see WP:ALT) static_image_2 (deprecated) static_image_2_name static_image_2_width - defaults to 240px wide to match the maps. static_image_2_caption static_image_2_alt |
Map label position | label_position Used to adjust position of label by dot on map– options are top, bottom, left, right, or none – defaults to right |
Smaller parts (e.g. boroughs of a city) | parts_type The label for the smaller subdivisions (defaults to Places). parts_style |
Area | area_total_sq_mi area_total_km2 area_footnotes Only one value needs to be entered as a number and it will be automatically formatted and converted to opposite system |
Population figures | population – must be a number population_density – will be calculated automatically if area and population are present. Will not display unless population supplied. population_ref (A good place to find the population figures is at www.nomisweb.co.uk) For Census 2001 use | population_ref = <ref>[[United Kingdom Census 2001|Census 2001]]</ref> For Census 2011 use | population_ref = <ref>[[United Kingdom Census 2011|Census 2011]]</ref> For Census 2021 use | population_ref = <ref>[[United Kingdom Census 2021|Census 2021]]</ref> |
Distance from capitals | Replace <capital> with belfast, cardiff, douglas, dublin, edinburgh, or london <capital>_distance_mi <capital>_distance_km Only one value needs to be entered as a number and it will be automatically formatted and converted to opposite system <capital>_distance Used for footnotes or direction – see Boxing the compass <capital_direction> Enter direction to capital e.g. W, E, NE, SW – it will be linked to Boxing the compass (Distances "as the crow flies" can be found from Genuki, or postcode.org.uk) |
Distance within London | Same as Distance from capitals above – replace <capital> with charingX |
Civil parish or Community | civil_parish OR community_wales (?) OR community_scotland (?) |
iso_code | ISO 3166 code; e.g. GB-BIR for Birmingham. If no specific code exists, the next highest-level code may be used, so again use GB-BIR for Bournville, which is part of Birmingham. |
Website link | website WARNING: overlong urls may result in the sides of the infobox being pushed sideways. If so, use a short link to the url e.g. [longurl.co.uk/home.html Short name] |
embedded | Embed another infobox in this one |
pushpin_map | Allows selection of another location map (e.g. Oxford (central)). This will combine with the default by radio button - (show within custom.name <default>, show default.name, show all) |
Places split by boundaries
editPlaces split by boundaries |
---|
Many locations straddle the boundaries of post towns, constituencies, districts or regions. Where a place straddles these, they can be accommodated with 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. |
TemplateData
editTemplateData for Infobox UK place
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
official name | official_name | defaults to {{{PAGENAME}}} | String | optional |
local name | local_name |
| String | optional |
country | country | England, Northern Ireland, Wales, Scotland - NOT [[linked]]
| String | optional |
Type | type | Type of human settlement (do not wikilink)
| String | suggested |
crown dependency | crown_dependency | Isle of Man - NOT [[linked]] (this removes formal mentions of the UK) | String | optional |
region | region | (England only) this should NOT be linked | String | optional |
region1 | region1 | for places split between regions | String | optional |
static image | static_image | now deprecated in favour of static_image_name (below); this is used for a static image (most commonly a skyline or landmark) | String | optional |
static image name | static_image_name | for a static image of the place, such as a skyline or defining local landmark | String | optional |
static image width | static_image_width | allows control of the image width. Should be omitted in most cases (will default to 240) | Number | optional |
static image caption | static_image_caption | optional caption for static image | String | optional |
static image alt | static_image_alt | for a description of the image per [[WP:ALT]] | String | optional |
static image 2 | static_image_2 | now deprecated in favour of static_image_2_name (below); this is used for a second static image (for example a town crest) | String | optional |
static image 2 name | static_image_2_name | for a second static image, such as a town crest; specified as filename.jpg | String | optional |
static image 2 width | static_image_2_width | allows control of the image width. Should not exceed 240 | Number | optional |
static image 2 caption | static_image_2_caption | optional caption for static image | String | optional |
static image 2 alt | static_image_2_alt | for a description of the image per [[WP:ALT]] | String | optional |
area total sq mi | area_total_sq_mi | square mile data as a number - will automatically provide conversion to km<sup>2</sup> | Number | optional |
area total km2 | area_total_km2 | sq km data as a number - will automatically provide conversion to square mile | Number | optional |
area footnotes | area_footnotes | to cite the values used in the area fields. Use the <ref> </ref> tags | String | optional |
population | population | Enter just the number | Number | optional |
population ref | population_ref | include a reference: e.g. <ref>Census, 2001</ref> | String | optional |
population density | population_density | for /sq mi ...use convert template {{Pop density mi2 to km2 | String | optional |
statistic | statistic | no description | String | optional |
statistic title | statistic_title | no description | String | optional |
statistic1 | statistic1 | no description | String | optional |
statistic title1 | statistic_title1 | no description | String | optional |
statistic2 | statistic2 | no description | String | optional |
statistic title2 | statistic_title2 | no description | String | optional |
population demonym | population_demonym |
| String | optional |
os grid reference | os_grid_reference |
| String | optional |
map type | map_type | type of map (leave blank for default map, or set to nomap, UK or Greater Belfast to force a particular map) | String | optional |
map alt | map_alt | alt text for map, for visually impaired and other readers who cannot see the image; see [[WP:ALT]] | String | optional |
label position | label_position | adjust position of label by dot – defaults to right | String | optional |
Coordinates | coordinates | Latitude and longitude. Use {{Coord}}. See the documentation for {{Coord}} for more details on usage.
| Template | optional |
pushpin_map | pushpin_map | 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 | String | optional |
post town | post_town | e.g. UXBRIDGE - converted automatically to upper case | String | optional |
post town1 | post_town1 | for places in more than one post town | String | optional |
post town2 | post_town2 | for places in more than one post town | String | optional |
postcode area | postcode_area | e.g. UB | String | optional |
postcode area1 | postcode_area1 | for places in more than one postcode area | String | optional |
postcode area2 | postcode_area2 | for places in more than one postcode area | String | optional |
postcode district | postcode_district | e.g. UB1, UB2 (this is displayed) | String | optional |
postcode district1 | postcode_district1 | for places in more than one postcode area | String | optional |
postcode district2 | postcode_district2 | for places in more than one postcode area | String | optional |
dial code | dial_code | e.g. 020, 0161 or 01332 - NOT +44... | String | optional |
dial code1 | dial_code1 | for places with more than one dial code | String | optional |
dial code2 | dial_code2 | for places with more than one dial code | String | optional |
constituency westminster | constituency_westminster | Use a link. e.g. [[Chiltern Hundreds]] | String | optional |
constituency westminster1 | constituency_westminster1 | for places in more than one constituency. Use a link. | String | optional |
constituency westminster2 | constituency_westminster2 | for places in more than one constituency. Use a link. | String | optional |
constituency westminster3 | constituency_westminster3 | for places in more than one constituency. Use a link. | String | optional |
civil parish | civil_parish | for places within a parish. Use a link, e.g. [[Odd Rode]] | String | optional |
civil parish1 | civil_parish1 | for places in more than one parish. Use a link. | String | optional |
civil parish2 | civil_parish2 | for places in more than one parish. Use a link. | String | optional |
london distance mi | london_distance_mi | for UK articles (outside of Greater London), distance to London as the crow flies | Number | optional |
london distance km | london_distance_km |
| Number | optional |
london distance | london_distance |
| Number | optional |
london direction | london_direction |
| String | optional |
belfast distance mi | belfast_distance_mi | NORTHERN IRISH articles only, distance to Belfast as the crow flies | Number | optional |
belfast distance km | belfast_distance_km |
| Number | optional |
belfast distance | belfast_distance |
| Number | optional |
belfast direction | belfast_direction |
| String | optional |
cardiff distance mi | cardiff_distance_mi | WELSH articles only, distance to Cardiff as the crow flies | Number | optional |
cardiff distance km | cardiff_distance_km |
| Number | optional |
cardiff distance | cardiff_distance |
| Number | optional |
cardiff direction | cardiff_direction |
| String | optional |
dublin distance mi | dublin_distance_mi | distance to Dublin – may be relevant to NORTHERN IRISH articles as the crow flies | Number | optional |
dublin distance km | dublin_distance_km |
| Number | optional |
dublin distance | dublin_distance |
| Number | optional |
dublin direction | dublin_direction |
| String | optional |
edinburgh distance mi | edinburgh_distance_mi | SCOTTISH articles only, distance to Edinburgh as the crow flies | Number | optional |
edinburgh distance km | edinburgh_distance_km |
| Number | optional |
edinburgh distance | edinburgh_distance |
| Number | optional |
edinburgh direction | edinburgh_direction |
| String | optional |
douglas distance mi | douglas_distance_mi | MANX articles only, distance to Douglas as the crow flies | Number | optional |
douglas distance km | douglas_distance_km |
| Number | optional |
douglas distance | douglas_distance |
| Number | optional |
douglas direction | douglas_direction |
| String | optional |
charingX distance mi | charingX_distance_mi | for places WITHIN Greater London ONLY as the crow flies | Number | optional |
charingX distance km | charingX_distance_km |
| Number | optional |
charingX distance | charingX_distance |
| Number | optional |
charingX direction | charingX_direction |
| String | optional |
gaelic name | gaelic_name |
| String | optional |
scots name | scots_name |
| String | optional |
community scotland | community_scotland | Use a link, e.g. [[Old Aberdeen]] | String | optional |
community scotland1 | community_scotland1 | for places in more than one | String | optional |
unitary scotland | unitary_scotland |
| String | optional |
unitary scotland1 | unitary_scotland1 | for places in more than one | String | optional |
lieutenancy scotland | lieutenancy_scotland |
| String | optional |
lieutenancy scotland1 | lieutenancy_scotland1 | for places in more than one | String | optional |
constituency scottish parliament | constituency_scottish_parliament |
| String | optional |
constituency scottish parliament1 | constituency_scottish_parliament1 | for places in more than one constituency | String | optional |
constituency scottish parliament2 | constituency_scottish_parliament2 | for places in more than one constituency | String | optional |
welsh name | welsh_name |
| String | optional |
community wales | community_wales | Use a link, e.g. [[Eglwyscummin]] | String | optional |
community wales1 | community_wales1 | for places in more than one | String | optional |
unitary wales | unitary_wales |
| String | optional |
unitary wales1 | unitary_wales1 | for places in more than one | String | optional |
lieutenancy wales | lieutenancy_wales |
| String | optional |
lieutenancy wales1 | lieutenancy_wales1 | for places in more than one | String | optional |
constituency welsh assembly | constituency_welsh_assembly |
| String | optional |
constituency welsh assembly1 | constituency_welsh_assembly1 | for places in more than one constituency | String | optional |
constituency welsh assembly2 | constituency_welsh_assembly2 | for places in more than one constituency | String | optional |
irish name | irish_name |
| String | optional |
irish grid reference | irish_grid_reference |
| String | optional |
unitary northern ireland | unitary_northern_ireland |
| String | optional |
unitary northern ireland1 | unitary_northern_ireland1 | for places in more than one | String | optional |
unitary northern ireland2 | unitary_northern_ireland2 | for places in more than one | String | optional |
lieutenancy northern ireland | lieutenancy_northern_ireland |
| String | optional |
lieutenancy northern ireland1 | lieutenancy_northern_ireland1 | for places in more than one | String | optional |
lieutenancy northern ireland2 | lieutenancy_northern_ireland2 | for places in more than one | String | optional |
constituency ni assembly | constituency_ni_assembly |
| String | optional |
constituency ni assembly1 | constituency_ni_assembly1 | for places in more than one | String | optional |
manx name | manx_name |
| String | optional |
manx parish | manx_parish | for places in the Isle of Man | String | optional |
manx sheading | manx_sheading | for places in the Isle of Man, also generates emergency services | String | optional |
constituency manx parliament | constituency_manx_parliament | for House of Keys constituency | String | optional |
metropolitan borough | metropolitan_borough |
| String | optional |
metropolitan borough1 | metropolitan_borough1 | for places in more than one | String | optional |
metropolitan county | metropolitan_county | Use a link. e.g. [[Tyne and Wear]] | String | optional |
metropolitan county1 | metropolitan_county1 | for places in more than one | String | optional |
shire district | shire_district |
| String | optional |
shire district1 | shire_district1 | for places in more than one | String | optional |
shire county | shire_county | Use a link. e.g. [[Devon]] | String | optional |
shire county1 | shire_county1 | for places in more than one | String | optional |
unitary england | unitary_england |
| String | optional |
unitary england1 | unitary_england1 | for places in more than one | String | optional |
lieutenancy england | lieutenancy_england | not required where shire or metropolitan is the same | String | optional |
lieutenancy england1 | lieutenancy_england1 | for places in more than one | String | optional |
london borough | london_borough | this should not be linked and simplified: e.g. Bromley NOT [[London Borough of Bromley]] | String | optional |
london borough1 | london_borough1 | for places in more than one borough (also produces London Assembly constituency) | String | optional |
london borough2 | london_borough2 | for places in more than one borough (also produces London Assembly constituency) | String | optional |
london borough3 | london_borough3 | special cases, does not produce London Assembly constituency) | String | optional |
london borough4 | london_borough4 | special cases, does not produce London Assembly constituency) | String | optional |
cornish name | cornish_name |
| String | optional |
other language name | other_language_name | any other alternative language name | String | optional |
other language | other_language | any other alternative language name | String | optional |
language | language | any locally spoken languages | String | optional |
language1 | language1 | any locally spoken languages | String | optional |
language2 | language2 | any locally spoken languages | String | optional |
website | website | Council website for place (specifically) | String | optional |
hide services | hide_services | Set to Yes to turn off Police/Fire/Ambulance | String | optional |
module | module | Adds modules like {{Infobox mapframe}} to the bottom of the infobox
| Unknown | optional |
Microformat
editThe HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates
editIf the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.
If it has a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
edithCard uses HTML classes including:
- adr
- agent
- category
- county-name
- extended-address
- fn
- label
- locality
- nickname
- note
- org
- region
- street-address
- uid
- url
- vcard
Geo is produced by calling {{coord}}, and uses HTML classes:
- geo
- latitude
- longitude
Please do not rename or remove these classes nor collapse nested elements which use them.
Precision
editWhen giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.