Jump to: navigation, search

Difference between revisions of "Template:PnAdmDiv"

m
m
Line 47: Line 47:
 
|zoom={{{Zoom|9}}}
 
|zoom={{{Zoom|9}}}
 
}}
 
}}
<div id="ctyMapLegend">Localities named after Robin Hood (or members of his band) in {{{AdmDiv}}}. Click locality marker for link to page. Historical county boundary coordinates provided by the [http://www.county-borders.co.uk/ Historic Counties Trust.]</div>
+
<div id="ctyMapLegend">Localities named after Robin Hood (or members of his band) in {{{AdmDiv}}}. Click cluster marker for locality markers. Click locality marker for link to page. Historical county boundary coordinates provided by the [http://www.county-borders.co.uk/ Historic Counties Trust].</div><div id="navMap"></div><div id="navMapLegend">{{{Demonym}}} counties. Click within any county to go to its landing page. There are also pages on: '''[[London place-names|London]]''', the '''[[East Riding of Yorkshire place-names|East]]''', '''[[North Riding of Yorkshire place-names|North]]''' and '''[[West Riding of Yorkshire place-names|West]]''' Riding of Yorkshire. Historical county boundary coordinates provided by the [http://www.county-borders.co.uk/ Historic Counties Trust].</div><div id="choroMap"></div><div id="choroMapLegend">Viewing '''<span id='choroMapLegend1'></span>''' choropleth &bull; View <span id='choroMapLegend2'></span> choropleth &bull; View <span id='choroMapLegend3'></span> choropleth &bull; [[Place-name choropleths|About the choropleths.]] County boundary data provided by the [http://www.county-borders.co.uk/ Historic Counties Trust]. </div>{{#Widget:NavMapEnglishPlaceNames}}<div class="jsCharts" id="tChart">
<div class="jsCharts" id="tChart">
 
 
{{#ask: [[Category:{{{AdmDiv}}} place-names]]
 
{{#ask: [[Category:{{{AdmDiv}}} place-names]]
 
|?pntype
 
|?pntype
Line 86: Line 85:
 
|link=none
 
|link=none
 
}}
 
}}
</div>
+
</div>{{#widget:PnChartsX}}</includeonly>
{{#widget:PnCharts}}
 
</includeonly>
 

Revision as of 12:06, 29 May 2019

This template renders the infobox, maps and charts on landing pages for administrative divisions in the place-names section of IRHB. It takes the following parameters:
  • Country – Defaults to: England.
  • Demonym – Defaults to: English.
  • AdmDiv – County/shire name.
  • Abbrev – Abbreviated form of name of administrative division.
  • Population – Figure from 1891 census.
  • Lat – Latitude in decimal degrees.
  • Lon – Longitude in decimal degrees.
  • CenterLat Latitude (in decimal degrees) on which map will be centred.
  • CenterLon Longitude (in decimal degrees) on which map will be centred.
  • Zoom – For the counties map, defaults to 9.