Jump to: navigation, search

Difference between revisions of "Template:PnChoropleths"

(Created page with "<noinclude><div class="no-img">This template displays choropleths and tables with choropleth data on the 'Place-name choropleths' page. It takes noparameters.</div></noinclude...")
 
m
Line 1: Line 1:
 
<noinclude><div class="no-img">This template displays choropleths and tables with choropleth data on the 'Place-name choropleths' page. It takes noparameters.</div></noinclude><includeonly>
 
<noinclude><div class="no-img">This template displays choropleths and tables with choropleth data on the 'Place-name choropleths' page. It takes noparameters.</div></noinclude><includeonly>
{{#ask:[[Category:{{{Demonym}}} place-names]]
+
<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:PnChoropleths}}
|?geopoint
 
|?pnadmdiv
 
|?pnvicinity
 
|?pntype
 
|?pninterest
 
|?pnstatus
 
|?pnfirstrecord#
 
|?century
 
|?pnimage
 
|showtitle=yes
 
|limit=2000
 
|format=leaflet
 
|template=PnPopUp
 
|markercluster=yes
 
|clustermaxradius=50
 
|clusterspiderfy=yes
 
|height=550
 
|width=34%
 
|enablefullscreen=yes
 
|copycoords=yes
 
|geojson=https://www.irhb.org/wiki/geo/{{#var:ctyLower}}/country/{{{Country}}}.json
 
}}
 
<div id="ctyMapLegend">Localities named after Robin Hood (or members of his band) in {{{Country}}}. 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:{{#var:CountryMapWidget}}}}
 
<div class="jsCharts" id="tChart">
 
{{#ask: [[Category:{{{Demonym}}} place-names]]
 
|?pntype
 
|limit=2000
 
|format=template
 
|template=chart-data
 
}}
 
</div>
 
<div class="jsCharts" id="cChart">
 
{{#ask: [[Category:{{{Demonym}}} place-names]]
 
|?century
 
|limit=1000
 
|format=template
 
|template=chart-data
 
}}
 
</div>
 
<div class="jsCharts" id="iChart">
 
{{#ask: [[Category:{{{Demonym}}} place-names]]
 
|?pninterest
 
|limit=2000
 
|format=template
 
|template=chart-data
 
}}
 
</div>
 
<div class="jsCharts" id="sChart">
 
{{#ask: [[Category:{{{Demonym}}} place-names]]
 
|?pnstatus
 
|limit=2000
 
|format=template
 
|template=chart-data
 
}}
 
</div>
 
<div class="jsCharts" id="tline">
 
{{#ask: [[Category:{{{Demonym}}} place-names]]
 
|?pnfirstrecord#
 
|limit=2000
 
|format=template
 
|template=timeline
 
|sort=pnfirstrecord,
 
|link=none
 
}}
 
</div>
 
{{#widget:PnCharts}}
 
 
</includeonly>
 
</includeonly>

Revision as of 06:25, 2 June 2019

This template displays choropleths and tables with choropleth data on the 'Place-name choropleths' page. It takes noparameters.