ebooksgratis.com

See also ebooksgratis.com: no banners, no cookies, totally FREE.

CLASSICISTRANIERI HOME PAGE - YOUTUBE CHANNEL
Privacy Policy Cookie Policy Terms and Conditions
Template:Infobox UK place - Wikipedia, the free encyclopedia

Template:Infobox UK place

From Wikipedia, the free encyclopedia

This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the local /Test or your user space before changing anything here.
[edit] Template documentation

Contents

Required fields and automation

Automated features

Feature Required fields
Basic function official_name
country (?)
England only: region (?)
Maps latitude
longitude
country
England only: region (= London) OR metropolitan_county OR shire_county OR unitary_england (= Bristol, Isle of Wight, Southampton)
Scotland only: unitary_scotland
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

Normally used features

Although not required for any of the automation, the following fields would normally be filled in
  • constituency_westminster
  • 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 (?)

Optional features

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
Area area_footnotes
area_total_sq_mi
area_total_km2
Only one value needs to be entered in RAW format as it will be automatically formatted and converted to opposite system
Distances from capitals london_distance
edinburgh_distance
cardiff_distance
belfast_distance
douglas_distance
(Distances "as the crow flies" can be found from Genuki, or postcode.org.uk)
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
static_image_2
static_image_2_caption
Please set photographs to 240px wide.

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 accommodated in its own field:

  • post_town AND post_town1 AND post_town2
  • civil_parish AND civil_parish1
  • 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.

Examples

England

See: England documentation

Scotland and Wales

See: Examples

Full syntax

 
 {{Infobox UK place 
 | official_name=         
 | local_name=
 | country=               <!-- England, Northern Ireland, Wales, Scotland - NOT [[linked]] (also produces EU constituency) -->
 | crown_dependency = <!--- Isle of Man - NOT [[linked]] (this removes formal mentions of the UK)
 | 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 (most commonly a skyline or landmark) -->
 | static_image_caption=  <!-- optional caption for static image (Use <small>Small text</small>)-->

 | static_image_2=          <!-- this is used for a second static image (for example a town crest) -->
 | static_image_caption_2=  <!-- optional caption for static image (Use <small>Small text</small>)-->

 | area_footnotes=         <!--to cite the values used in the area fields.  Use the <ref> </ref> tags -->
 | area_total_sq_mi=      <!-- Enter square mile data in RAW format (no commas or spaces) will automatically convert km² (if blank)-->
 | area_total_km2 =       <!-- Enter square kilometre data in RAW format (no commas or spaces) will automatically convert sq mi (if blank)-->

 | 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=    <!--for /sq mi ...use convert template {{Pop density mi2 to km2|(enter value) |precision=1|abbr=yes|wiki=yes}}  -->
  <!--    if pop density/km² is known use  {{Pop density km2 to mi2|(enter value) |precision=1|abbr=yes|wiki=yes}}      -->


 | 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) -->
 | latitude=              <!-- location of the place, puts a dot on the map -->
 | longitude=             <!-- location of the place, puts a dot on the map -->
 | scale=                 <!-- optionally include a scale parameter in the coor title link (default is city scale) -->

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

 <!-- you can use the template {{mi to km|(enter data)|precision=0}}  to help convert miles to km automatically; both are displayed -->

 | 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 -->
 | douglas_distance=                      <!-- MANX articles only, distance to Douglas -->

 | 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 -->
 | constituency_ni_assembly=
 | constituency_ni_assembly1=         <!-- for places in more than one -->
         
 | manx_name=
 | manx_parish=                     <!-- for places in the Isle of Man -->
 | manx_shedding=                   <!-- for places in the Isle of Man, also generates emergency services -->
 | constituency_manx_parliament=    <!-- for House of Keys constituency -->

 | 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=                     <!-- Council website for place (specifically) -->

 | hide_services=                 Set to Yes to turn off Police/Fire/Ambulance
 }}

Microformat

The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article 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.

hCard uses HTML classes including:

  • "adr"
  • "county-name"
  • "fn"
  • "label"
  • "locality"
  • "nickname"
  • "note"
  • "org"
  • "region"
  • "street-address"
  • "vcard"

Geo is produced by calling {{coord}}, and uses HTML classes:

  • "geo"
  • "latitude"
  • "longitude"

Please do not rename or remove these classes.

When giving coordinates, please don't be overly precise.


aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -