Jump to: navigation, search

Difference between revisions of "Template:PnAdmDiv"

m
m
Line 23: Line 23:
 
  |data6 = [[Population::{{{Population}}}]]<ref>[https://en.wikipedia.org/wiki/List_of_ancient_counties_of_England_by_area_in_1891 Wikipedia: List of ancient counties of England by area in 1891] (adapted from 1891 census).</ref>
 
  |data6 = [[Population::{{{Population}}}]]<ref>[https://en.wikipedia.org/wiki/List_of_ancient_counties_of_England_by_area_in_1891 Wikipedia: List of ancient counties of England by area in 1891] (adapted from 1891 census).</ref>
 
  }}
 
  }}
{{#ask:
+
<!--{{#ask:
 
[[Category:{{{AdmDiv}}} place-names]]
 
[[Category:{{{AdmDiv}}} place-names]]
 
|?geopoint
 
|?geopoint
Line 47: Line 47:
 
|copycoords=yes
 
|copycoords=yes
 
|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 locality marker for link to page. Historical county boundary coordinates provided by the [http://www.county-borders.co.uk/ Historic Counties Trust.]</div>-->
<!--{{#Widget:NavMapEnglishPlaceNames}}
+
<div class="jsCharts" id="tChart">
<div id="navMapLegend">{{{Demonym}}} counties. Click within any county to go to its landing page. For London and the ridings of Yorkshire, click marker to go to landing page. Hover over marker to see name of county, city or riding. Historical county boundary coordinates provided by the [http://www.county-borders.co.uk/ Historic Counties Trust].</div>-->
 
<div class="irhbCharts" id="typesChart">
 
 
{{#ask: [[Category:{{{AdmDiv}}} place-names]]
 
{{#ask: [[Category:{{{AdmDiv}}} place-names]]
 
|?pntype
 
|?pntype
Line 58: Line 56:
 
}}
 
}}
 
</div>
 
</div>
<div class="irhbCharts" id="centuryChart">
+
<div class="jsCharts" id="cChart">
 
{{#ask:  
 
{{#ask:  
 
[[Category:{{{AdmDiv}}} place-names]]
 
[[Category:{{{AdmDiv}}} place-names]]
Line 66: Line 64:
 
}}
 
}}
 
</div>
 
</div>
<div class="irhbCharts" id="interestChart">
+
<div class="jsCharts" id="iChart">
 
{{#ask: [[Category:{{{AdmDiv}}} place-names]]
 
{{#ask: [[Category:{{{AdmDiv}}} place-names]]
 
|?pninterest
 
|?pninterest
Line 73: Line 71:
 
}}
 
}}
 
</div>
 
</div>
<div class="irhbCharts" id="statusChart">
+
<div class="jsCharts" id="sChart">
 
{{#ask: [[Category:{{{AdmDiv}}} place-names]]
 
{{#ask: [[Category:{{{AdmDiv}}} place-names]]
 
|?pnstatus
 
|?pnstatus
Line 80: Line 78:
 
}}
 
}}
 
</div>
 
</div>
<div id="timeline">
+
<div class="jsCharts" id="tline">
 
{{#ask:  
 
{{#ask:  
 
[[Category:{{{AdmDiv}}} place-names]]
 
[[Category:{{{AdmDiv}}} place-names]]
Line 86: Line 84:
 
|format=template
 
|format=template
 
|template=timeline
 
|template=timeline
 +
|sort=pnfirstrecord,
 +
|link=none
 
}}
 
}}
 
</div>
 
</div>
 
{{#widget:PnCharts}}
 
{{#widget:PnCharts}}
 
</includeonly>
 
</includeonly>

Revision as of 18:10, 12 April 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.