Jump to content

Template:Infobox UK place/full syntax

From Wikipedia, the free encyclopedia
{{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. -->
}}