Template:Infobox UK place/sandbox

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Infobox UK place/sandbox
Police  
Fire  
Ambulance  
List of places
United Kingdom
Template documentation[view] [edit] [history] [purge]
{{{official_name}}}
Scottish Gaelic: {{{gaelic_name}}}
Scots: {{{scots_name}}}
Cornish: {{{cornish_name}}}
Welsh: {{{welsh_name}}}
Irish: {{{irish_name}}}
Manx: {{{manx_name}}}
[[{{{other_language}}}|{{{other_language_name}}}]]
{{{local_name}}}
—  {{{type}}}  —
[[Image:{{{static_image_name}}}|alt={{{static_image_alt}}}|{{{static_image_width}}}
]]
{{{static_image_caption}}}
{{{static_image_2}}}
{{{static_image_2_caption}}}
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_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 {{{civil_parish}}}
{{{civil_parish1}}}
Community {{{community_wales}}}
Principal area {{{unitary_wales}}}
{{{unitary_wales1}}}
{{{unitary_wales2}}}
{{{unitary_wales3}}}
Metropolitan borough {{{metropolitan_borough}}}
{{{metropolitan_borough1}}}
{{{metropolitan_borough2}}}
{{{metropolitan_borough3}}}
District {{{shire_district}}}
{{{shire_district1}}}
{{{shire_district2}}}
{{{shire_district3}}}
Unitary authority {{{unitary_england}}}
{{{unitary_england1}}}
{{{unitary_england2}}}
{{{unitary_england3}}}
Council area {{{unitary_scotland}}}
{{{unitary_scotland1}}}
{{{unitary_scotland2}}}
{{{unitary_scotland3}}}
District {{{unitary_northern_ireland}}}
{{{unitary_northern_ireland1}}}
{{{unitary_northern_ireland2}}}
Parish {{{manx_parish}}}
Ceremonial county {{{lieutenancy_wales}}}
{{{lieutenancy_wales1}}}
{{{lieutenancy_wales2}}}
{{{lieutenancy_wales3}}}
Greater London
Shire county {{{shire_county}}}
{{{shire_county1}}}
{{{shire_county2}}}
{{{shire_county3}}}
Metropolitan county {{{metropolitan_county}}}
{{{metropolitan_county1}}}
{{{metropolitan_county2}}}
{{{metropolitan_county3}}}
Ceremonial county {{{lieutenancy_england}}}
{{{lieutenancy_england1}}}
{{{lieutenancy_england2}}}
{{{lieutenancy_england3}}}
Lieutenancy area {{{lieutenancy_scotland}}}
{{{lieutenancy_scotland1}}}
{{{lieutenancy_scotland2}}}
{{{lieutenancy_scotland3}}}
County {{{lieutenancy_northern_ireland}}}
{{{lieutenancy_northern_ireland1}}}
{{{lieutenancy_northern_ireland2}}}
Region
Country [[{{{country}}}]]
Sovereign state United Kingdom
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  
EU Parliament
UK Parliament {{{constituency_westminster}}}
{{{constituency_westminster1}}}
{{{constituency_westminster2}}}
……
{{{constituency_westminster8}}}
Scottish Parliament {{{constituency_scottish_parliament}}}
{{{constituency_scottish_parliament1}}}
{{{constituency_scottish_parliament2}}}
……
{{{constituency_scottish_parliament10}}}
London Assembly
Welsh Assembly {{{constituency_welsh_assembly}}}
{{{constituency_welsh_assembly1}}}
{{{constituency_welsh_assembly2}}}
House of Keys {{{constituency_manx_parliament}}}
NI Assembly {{{constituency_ni_assembly}}}
{{{constituency_ni_assembly1}}}
{{{constituency_ni_assembly2}}}
{{{constituency_ni_assembly3}}}
Website {{{website}}}
List of places
United Kingdom

{{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[change source]

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)

Full syntax[change source]

{{Infobox UK place
<!---------------BASICS---------------->
| official_name =           <!-- defaults to {{PAGENAME}} -->
| local_name = 
| 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) -->
<!---------------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 http://neighbourhood.statistics.gov.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 </nowiki>[[WP:ALT]]<nowiki> -->
| 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|precision=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 = 
| 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 -->
| hide_services =           <!-- Set as "yes" (without quotemarks) to suppress inclusion of Police/Fire/Ambulance details, otherwise omit. -->
}}

Parameters[change source]

For automated features[change source]

Feature 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 |display=inline inside of {{Coord}}.

If you wish to include an additional custom {{location map}} (typically for the local area), use |pushpin_map=location map name where location map name is the name of the location map.

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
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[change source]

Although not required for any of the automation, the following fields should normally be filled in
  • constituency_westminster (?)
  • map_alt
  • os_grid_reference OR irish_grid_reference
  • dial_code (this may be of help finding the dialling code)
  • Northern Ireland only: lieutenancy_northern_ireland (?)
  • Wales only: lieutenancy_wales (?)
  • Scotland only: lieutenancy_scotland (?)

For optional features[change source]

Optional 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
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
population_ref
(A good place to find the population figures is at neighbourhood.statistics.gov.uk)
For Census 2001 use | population_ref = <ref>[[United Kingdom Census 2001|Census 2001]]</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 (?)
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[change source]

Places 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:

  • post_town AND post_town1 AND post_town2
  • civil_parish AND civil_parish1AND civil_parish2
  • shire_district AND shire_district1 AND shire_district2
  • region AND region1
  • westminster_constituency AND westminster_constituency1 AND westminster_constituency2

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[change source]

This is the TemplateData documentation for this template used by VisualEditor and other tools;

TemplateData 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. 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.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
official nameofficial_name

defaults to {{{PAGENAME}}}

Stringoptional
local namelocal_name

Stringoptional
countrycountry

England, Northern Ireland, Wales, Scotland - NOT [[linked]] (also produces EU constituency)

Stringoptional
crown dependencycrown_dependency

Isle of Man - NOT [[linked]] (this removes formal mentions of the UK)

Stringoptional
regionregion

(England only) this should NOT be linked (also produces EU constituency)

Stringoptional
region1region1

for places split between regions

Stringoptional
static imagestatic_image

now deprecated in favour of static_image_name (below); this is used for a static image (most commonly a skyline or landmark)

Stringoptional
static image namestatic_image_name

for a static image of the place, such as a skyline or defining local landmark

Stringoptional
static image widthstatic_image_width

allows control of the image width. Should be omitted in most cases (will default to 240)

Numberoptional
static image captionstatic_image_caption

optional caption for static image

Stringoptional
static image altstatic_image_alt

for a description of the image per [[WP:ALT]]

Stringoptional
static image 2static_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)

Stringoptional
static image 2 namestatic_image_2_name

for a second static image, such as a town crest; specified as filename.jpg

Stringoptional
static image 2 widthstatic_image_2_width

allows control of the image width. Should not exceed 240

Numberoptional
static image 2 captionstatic_image_2_caption

optional caption for static image

Stringoptional
static image 2 altstatic_image_2_alt

for a description of the image per [[WP:ALT]]

Stringoptional
area total sq miarea_total_sq_mi

square mile data as a number - will automatically provide conversion to km<sup>2</sup>

Numberoptional
area total km2area_total_km2

sq km data as a number - will automatically provide

Numberoptional
area footnotesarea_footnotes

to cite the values used in the area fields. Use the <ref> </ref> tags

Stringoptional
populationpopulation

Enter just the number

Numberoptional
population refpopulation_ref

include a reference: e.g. <ref>Census, 2001</ref>

Stringoptional
population densitypopulation_density

for /sq mi ...use convert template {{Pop density mi2 to km2

Stringoptional
statisticstatistic

no description

Stringoptional
statistic titlestatistic_title

no description

Stringoptional
statistic1statistic1

no description

Stringoptional
statistic title1statistic_title1

no description

Stringoptional
statistic2statistic2

no description

Stringoptional
statistic title2statistic_title2

no description

Stringoptional
population demonympopulation_demonym

Stringoptional
os grid referenceos_grid_reference

Stringoptional
map typemap_type

type of map (leave blank for default map, or set to nomap, UK or Greater Belfast to force a particular map)

Stringoptional
map altmap_alt

alt text for map, for visually impaired and other readers who cannot see the image; see [[WP:ALT]]

Stringoptional
label positionlabel_position

adjust position of label by dot – defaults to right

Stringoptional
Coordinatescoordinates

Latitude and longitude. Use {{Coord}}. See the documentation for {{Coord}} for more details on usage.

Example
{{coord|41|50|15|N|87|40|55|W}}
Templateoptional
pushpin_mappushpin_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

Stringoptional
post townpost_town

e.g. UXBRIDGE - converted automatically to upper case

Stringoptional
post town1post_town1

for places in more than one post town

Stringoptional
post town2post_town2

for places in more than one post town

Stringoptional
postcode areapostcode_area

e.g. UB

Stringoptional
postcode area1postcode_area1

for places in more than one postcode area

Stringoptional
postcode area2postcode_area2

for places in more than one postcode area

Stringoptional
postcode districtpostcode_district

e.g. UB1, UB2 (this is displayed)

Stringoptional
postcode district1postcode_district1

for places in more than one postcode area

Stringoptional
postcode district2postcode_district2

for places in more than one postcode area

Stringoptional
dial codedial_code

e.g. 020, 0161 or 01332 - NOT +44...

Stringoptional
dial code1dial_code1

for places with more than one dial code

Stringoptional
dial code2dial_code2

for places with more than one dial code

Stringoptional
constituency westminsterconstituency_westminster

Use a link. e.g. [[Chiltern Hundreds]]

Stringoptional
constituency westminster1constituency_westminster1

for places in more than one constituency. Use a link.

Stringoptional
constituency westminster2constituency_westminster2

for places in more than one constituency. Use a link.

Stringoptional
constituency westminster3constituency_westminster3

for places in more than one constituency. Use a link.

Stringoptional
civil parishcivil_parish

for places within a parish. Use a link, e.g. [[Odd Rode]]

Stringoptional
civil parish1civil_parish1

for places in more than one parish. Use a link.

Stringoptional
civil parish2civil_parish2

for places in more than one parish. Use a link.

Stringoptional
london distance milondon_distance_mi

for UK articles (outside of Greater London), distance to London as the crow flies

Numberoptional
london distance kmlondon_distance_km

Numberoptional
london distancelondon_distance

Numberoptional
london directionlondon_direction

Stringoptional
belfast distance mibelfast_distance_mi

NORTHERN IRISH articles only, distance to Belfast as the crow flies

Numberoptional
belfast distance kmbelfast_distance_km

Numberoptional
belfast distancebelfast_distance

Numberoptional
belfast directionbelfast_direction

Stringoptional
cardiff distance micardiff_distance_mi

WELSH articles only, distance to Cardiff as the crow flies

Numberoptional
cardiff distance kmcardiff_distance_km

Numberoptional
cardiff distancecardiff_distance

Numberoptional
cardiff directioncardiff_direction

Stringoptional
dublin distance midublin_distance_mi

distance to Dublin – may be relevant to NORTHERN IRISH articles as the crow flies

Numberoptional
dublin distance kmdublin_distance_km

Numberoptional
dublin distancedublin_distance

Numberoptional
dublin directiondublin_direction

Stringoptional
edinburgh distance miedinburgh_distance_mi

SCOTTISH articles only, distance to Edinburgh as the crow flies

Numberoptional
edinburgh distance kmedinburgh_distance_km

Numberoptional
edinburgh distanceedinburgh_distance

Numberoptional
edinburgh directionedinburgh_direction

Stringoptional
douglas distance midouglas_distance_mi

MANX articles only, distance to Douglas as the crow flies

Numberoptional
douglas distance kmdouglas_distance_km

Numberoptional
douglas distancedouglas_distance

Numberoptional
douglas directiondouglas_direction

Stringoptional
charingX distance micharingX_distance_mi

for places WITHIN Greater London ONLY as the crow flies

Numberoptional
charingX distance kmcharingX_distance_km

Numberoptional
charingX distancecharingX_distance

Numberoptional
charingX directioncharingX_direction

Stringoptional
gaelic namegaelic_name

Stringoptional
scots namescots_name

Stringoptional
unitary scotlandunitary_scotland

Stringoptional
unitary scotland1unitary_scotland1

for places in more than one

Stringoptional
lieutenancy scotlandlieutenancy_scotland

Stringoptional
lieutenancy scotland1lieutenancy_scotland1

for places in more than one

Stringoptional
constituency scottish parliamentconstituency_scottish_parliament

Stringoptional
constituency scottish parliament1constituency_scottish_parliament1

for places in more than one constituency

Stringoptional
constituency scottish parliament2constituency_scottish_parliament2

for places in more than one constituency

Stringoptional
welsh namewelsh_name

Stringoptional
community walescommunity_wales

Use a link, e.g. [[Eglwyscummin]]

Stringoptional
community wales1community_wales1

for places in more than one

Stringoptional
unitary walesunitary_wales

Stringoptional
unitary wales1unitary_wales1

for places in more than one

Stringoptional
lieutenancy waleslieutenancy_wales

Stringoptional
lieutenancy wales1lieutenancy_wales1

for places in more than one

Stringoptional
constituency welsh assemblyconstituency_welsh_assembly

Stringoptional
constituency welsh assembly1constituency_welsh_assembly1

for places in more than one constituency

Stringoptional
constituency welsh assembly2constituency_welsh_assembly2

for places in more than one constituency

Stringoptional
irish nameirish_name

Stringoptional
irish grid referenceirish_grid_reference

Stringoptional
unitary northern irelandunitary_northern_ireland

Stringoptional
unitary northern ireland1unitary_northern_ireland1

for places in more than one

Stringoptional
unitary northern ireland2unitary_northern_ireland2

for places in more than one

Stringoptional
lieutenancy northern irelandlieutenancy_northern_ireland

Stringoptional
lieutenancy northern ireland1lieutenancy_northern_ireland1

for places in more than one

Stringoptional
lieutenancy northern ireland2lieutenancy_northern_ireland2

for places in more than one

Stringoptional
constituency ni assemblyconstituency_ni_assembly

Stringoptional
constituency ni assembly1constituency_ni_assembly1

for places in more than one

Stringoptional
manx namemanx_name

Stringoptional
manx parishmanx_parish

for places in the Isle of Man

Stringoptional
manx sheadingmanx_sheading

for places in the Isle of Man, also generates emergency services

Stringoptional
constituency manx parliamentconstituency_manx_parliament

for House of Keys constituency

Stringoptional
metropolitan boroughmetropolitan_borough

Stringoptional
metropolitan borough1metropolitan_borough1

for places in more than one

Stringoptional
metropolitan countymetropolitan_county

Use a link. e.g. [[Tyne and Wear]]

Stringoptional
metropolitan county1metropolitan_county1

for places in more than one

Stringoptional
shire districtshire_district

Stringoptional
shire district1shire_district1

for places in more than one

Stringoptional
shire countyshire_county

Use a link. e.g. [[Devon]]

Stringoptional
shire county1shire_county1

for places in more than one

Stringoptional
unitary englandunitary_england

Stringoptional
unitary england1unitary_england1

for places in more than one

Stringoptional
lieutenancy englandlieutenancy_england

not required where shire or metropolitan is the same

Stringoptional
lieutenancy england1lieutenancy_england1

for places in more than one

Stringoptional
london boroughlondon_borough

this should not be linked and simplified: e.g. Bromley NOT [[London Borough of Bromley]]

Stringoptional
london borough1london_borough1

for places in more than one borough (also produces London Assembly constituency)

Stringoptional
london borough2london_borough2

for places in more than one borough (also produces London Assembly constituency)

Stringoptional
london borough3london_borough3

special cases, does not produce London Assembly constituency)

Stringoptional
london borough4london_borough4

special cases, does not produce London Assembly constituency)

Stringoptional
cornish namecornish_name

Stringoptional
other language nameother_language_name

any other alternative language name

Stringoptional
other languageother_language

any other alternative language name

Stringoptional
languagelanguage

any locally spoken languages

Stringoptional
language1language1

any locally spoken languages

Stringoptional
language2language2

any locally spoken languages

Stringoptional
websitewebsite

Council website for place (specifically)

Stringoptional
hide serviceshide_services

Set to Yes to turn off Police/Fire/Ambulance

Stringoptional

Microformat[change source]

The 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[change source]

If the place or venue has an "established", "founded", "opened" or similar date, use {{start date}} unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes[change source]

hCard 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[change source]

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.

Tracking category[change source]