Template:PlaceNamesAdministrativeDivision: Difference between revisions

From International Robin Hood Bibliography
mNo edit summary
mNo edit summary
(16 intermediate revisions by the same user not shown)
Line 18: Line 18:
  |label4 = Coordinate
  |label4 = Coordinate
  |data4 = [[Geopoint::{{{Lat}}},{{{Lon}}}]]
  |data4 = [[Geopoint::{{{Lat}}},{{{Lon}}}]]
  |label5 = Area (1891)
  |label5 = Area (1801)
  |data5 = [[Area::{{{Area}}}]] km<sup>2</sup><ref>[http://www.histpop.org/ohpr/servlet/PageBrowser?path=Browse/Census%20(by%20date)/1891&active=yes&mno=64&tocstate=expandnew&tocseq=500&display=sections&display=tables&display=pagetitles&pageseq=first-nonblank Histpop - The Online Historical Population Reports Website: Population. Administrative counties, England and Wales. Vol. I, 1891 &ndash; Page vi] (University of Essex).</ref>
  |data5 = [[Area::{{{Area}}}]] km<sup>2</sup><ref name="census1801">[http://www.histpop.org/ohpr/servlet/PageBrowser?path=Browse/Census%20(by%20date)/1851&active=yes&mno=27&tocstate=expandnew&tocseq=13700&display=sections&display=tables&display=pagetitles&pageseq=first-nonblank Histpop &ndash; The Online Historical Population Reports Website: Population tables I, Vol. I. England and Wales. Divisions I-VII, 1851 &ndash; Page clxviii] (University of Essex). [https://www.google.com/search?q=acres+to+km2 Google: Acres to km2.]</ref>
  |label6 = Population (1891)
  |label6 = Population (1801)
  |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 name="census1801" />}}
}}
{{#ask:
{{#ask:
[[Category:{{{AdmDiv}}} place-names]]
[[Category:{{{AdmDiv}}} place-names]]
Line 47: Line 46:
|copycoords=yes
|copycoords=yes
|zoom={{{Zoom|9}}}
|zoom={{{Zoom|9}}}
|layers=OpenStreetMap,MtbMap
}}
}}
<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 88: Line 85:
|link=none
|link=none
}}
}}
</div>
</div>{{#widget:PnCharts}}</includeonly>
{{#widget:PnCharts}}
</includeonly>

Revision as of 10:52, 6 June 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.