Template:PlaceNamesAdministrativeDivision: Difference between revisions
From International Robin Hood Bibliography
mNo edit summary |
mNo edit summary |
||
(36 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
* '''Country''' – Defaults to: England. | * '''Country''' – Defaults to: England. | ||
* '''Demonym''' – Defaults to: English. | * '''Demonym''' – Defaults to: English. | ||
* ''' | * '''AdministrativeDivision''' – County/shire name. | ||
* '''Abbrev''' – Abbreviated form of name of administrative division. | * '''Abbrev''' – Abbreviated form of name of administrative division. | ||
* '''Population''' – Figure from 1891 census. | * '''Population''' – Figure from 1891 census. | ||
Line 13: | Line 13: | ||
|header1 = Adm. div. | |header1 = Adm. div. | ||
|label2=Full name | |label2=Full name | ||
|data2=[[ | |data2=[[AdministrativeDivision::{{{AdministrativeDivision}}}]] | ||
|label3 = Abbreviation | |label3 = Abbreviation | ||
|data3 = [[ | |data3 = [[AdministrativeDivisionAbbreviated::{{{Abbrev}}}]] | ||
|label4 = Coordinate | |label4 = Coordinate | ||
|data4 = [[Geopoint::{{{Lat}}},{{{Lon}}}]] | |data4 = [[Geopoint::{{{Lat}}},{{{Lon}}}]] | ||
|label5 = Area ( | |label5 = Area (1801) | ||
|data5 = [[Area::{{{Area}}}]] | |data5 = [[Area::{{{Area}}}]] km2<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 – The Online Historical Population Reports Website: Population tables I, Vol. I. England and Wales. Divisions I-VII, 1851 – Page clxviii] (University of Essex). [https://www.google.com/search?q=acres+to+km2 Google: Acres to km2.]</ref> | ||
|label6 = Population ( | |label6 = Population (1801) | ||
|data6 = [[Population::{{{Population}}}]]<ref | |data6 = [[Population::{{{Population}}}]]<ref name="census1801" />}} | ||
{{#ask: | {{#ask: | ||
[[Category:{{{ | [[Category:{{{AdministrativeDivision}}} place-names]] | ||
|?geopoint | |?geopoint | ||
|? | |?AdministrativeDivision | ||
|? | |?Vicinity | ||
|? | |?PlaceNamesType | ||
|? | |?PlaceNamesInterest | ||
|? | |?PlaceNamesStatus | ||
|? | |?FirstRecord# | ||
|? | |?CenturyOrdinal | ||
|? | |?Image | ||
|showtitle=yes | |showtitle=yes | ||
|format=leaflet | |format=leaflet | ||
|template= | |template=PlaceNamesPopUp | ||
|markercluster=yes | |markercluster=yes | ||
|clustergridsize=15 | |clustergridsize=15 | ||
|clustermaxradius=50 | |||
|clusterspiderfy=yes | |||
|height=550 | |height=550 | ||
|width=34% | |width=34% | ||
|geojson= | |geojson={{SERVER}}/w/geo/england/counties/{{{AdministrativeDivision}}}.json | ||
|enablefullscreen=yes | |enablefullscreen=yes | ||
|copycoords=yes | |copycoords=yes | ||
|zoom={{{Zoom|9}}} | |zoom={{{Zoom|9}}} | ||
}} | }} | ||
<div id="ctyMapLegend">Localities named after Robin Hood (or members of his band) in {{{ | <div id="ctyMapLegend">Localities named after Robin Hood (or members of his band) in {{{AdministrativeDivision}}}. Click cluster marker for locality markers. Click locality marker for link to page. Historical county boundary co­ordi­nates 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 • View <span id='choroMapLegend2'></span> choropleth • View <span id='choroMapLegend3'></span> choropleth • [[Place-name choropleths|About the choropleths.]] County boundary data provided by the [http://www.county-borders.co.uk/ Historic Counties Trust]. </div>{{#Widget:PlaceNamesNavigationMapEnglish}}<div class="jsCharts" id="tChart"> | ||
<div class="jsCharts" id="tChart"> | {{#ask: [[Category:{{{AdministrativeDivision}}} place-names]] | ||
{{#ask: [[Category:{{{ | |?PlaceNamesType | ||
|? | |||
|format=template | |format=template | ||
|template= | |template=ChartsData | ||
}} | }} | ||
</div> | </div> | ||
<div class="jsCharts" id="cChart"> | <div class="jsCharts" id="cChart"> | ||
{{#ask: | {{#ask: | ||
[[Category:{{{ | [[Category:{{{AdministrativeDivision}}} place-names]] | ||
|? | |?CenturyOrdinal | ||
|format=template | |format=template | ||
|template= | |template=ChartsData | ||
}} | }} | ||
</div> | </div> | ||
<div class="jsCharts" id="iChart"> | <div class="jsCharts" id="iChart"> | ||
{{#ask: [[Category:{{{ | {{#ask: [[Category:{{{AdministrativeDivision}}} place-names]] | ||
|? | |?PlaceNamesInterest | ||
|format=template | |format=template | ||
|template= | |template=ChartsData | ||
}} | }} | ||
</div> | </div> | ||
<div class="jsCharts" id="sChart"> | <div class="jsCharts" id="sChart"> | ||
{{#ask: [[Category:{{{ | {{#ask: [[Category:{{{AdministrativeDivision}}} place-names]] | ||
|? | |?PlaceNamesStatus | ||
|format=template | |format=template | ||
|template= | |template=ChartsData | ||
}} | }} | ||
</div> | </div> | ||
<div class="jsCharts" id="tline"> | <div class="jsCharts" id="tline"> | ||
{{#ask: | {{#ask: | ||
[[Category:{{{ | [[Category:{{{AdministrativeDivision}}} place-names]] | ||
|? | |?FirstRecord# | ||
|format=template | |format=template | ||
|template=timeline | |template=timeline | ||
|sort= | |sort=FirstRecord, | ||
|link=none | |link=none | ||
}} | }} | ||
</div> | </div>{{#widget:PlaceNamesCharts}}</includeonly> | ||
{{#widget: | <noinclude> | ||
</ | <templatedata> | ||
{ | |||
"params": { | |||
"Country": { | |||
"description": "The country of which the administrative unit forms part", | |||
"type": "string", | |||
"default": "England" | |||
}, | |||
"AdministrativeDivision": { | |||
"description": "A second (for US etc., third) level admininstrative unit, e.g. an English county or shire", | |||
"type": "string" | |||
}, | |||
"Abbrev": { | |||
"description": "Abbreviated form of the name of the admininstrative unit", | |||
"example": "Staffs (for Staffordshire)", | |||
"type": "string" | |||
}, | |||
"Lat": { | |||
"label": "Latitude", | |||
"description": "Latitude of a point taken as a centre point of the administrative unit", | |||
"example": "53.167", | |||
"type": "number" | |||
}, | |||
"Lon": { | |||
"label": "Longitude", | |||
"description": "Longitude of a point taken as a centre point of the administrative unit", | |||
"example": "-2.58", | |||
"type": "number" | |||
}, | |||
"Area": { | |||
"description": "The area in km2 of the administrative unit", | |||
"example": "2861.44315 km2", | |||
"type": "number" | |||
}, | |||
"Population": { | |||
"description": "The size of the population of the administrative unit", | |||
"example": "192305", | |||
"type": "number" | |||
}, | |||
"Zoom": { | |||
"description": "Level to which the map should be zoomed in initially", | |||
"type": "number" | |||
}, | |||
"Demonym": { | |||
"description": "Demonym connected with the country in which the administratice unit is situated", | |||
"example": "e.g. English", | |||
"type": "string" | |||
} | |||
}, | |||
"description": "Creates map and charts on pages for administrative divisions in IRHB's place-names section" | |||
} | |||
</templatedata> | |||
</noinclude> |
Latest revision as of 11:16, 6 June 2022
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.
- AdministrativeDivision – 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.
Creates map and charts on pages for administrative divisions in IRHB's place-names section
Parameter | Description | Type | Status | |
---|---|---|---|---|
Country | Country | The country of which the administrative unit forms part
| String | optional |
AdministrativeDivision | AdministrativeDivision | A second (for US etc., third) level admininstrative unit, e.g. an English county or shire | String | optional |
Abbrev | Abbrev | Abbreviated form of the name of the admininstrative unit
| String | optional |
Latitude | Lat | Latitude of a point taken as a centre point of the administrative unit
| Number | optional |
Longitude | Lon | Longitude of a point taken as a centre point of the administrative unit
| Number | optional |
Area | Area | The area in km2 of the administrative unit
| Number | optional |
Population | Population | The size of the population of the administrative unit
| Number | optional |
Zoom | Zoom | Level to which the map should be zoomed in initially | Number | optional |
Demonym | Demonym | Demonym connected with the country in which the administratice unit is situated
| String | optional |