Template:PlaceNamesRiding: Difference between revisions
From International Robin Hood Bibliography
mNo edit summary |
m (Text replacement - "https://www.irhb.org/" to "{{SERVER}}/") |
||
(19 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
* '''Country''' | * '''Country''' | ||
* '''Demonym''' | * '''Demonym''' | ||
* ''' | * '''AdministrativeDivision''' | ||
* '''Abbrev''' | * '''Abbrev''' | ||
* '''Population ''' | * '''Population ''' | ||
Line 9: | Line 9: | ||
* '''CenterLat''' | * '''CenterLat''' | ||
* '''CenterLon''' | * '''CenterLon''' | ||
</div></noinclude><includeonly>{{#vardefine:ctyLower|{{lc:{{{Country}}}}}}}{{#vardefine:CountryMapWidget|{{#ifeq:{{#var:ctyLower}}|england| | </div></noinclude><includeonly>{{#vardefine:ctyLower|{{lc:{{{Country}}}}}}}{{#vardefine:CountryMapWidget|{{#ifeq:{{#var:ctyLower}}|england|PlaceNamesNavigationMapEnglish|<!--insert name for other country-->}}}}{{Infobox | ||
|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 = Coordinates | |label4 = Coordinates | ||
|data4 = [[Geopoint::{{{Lat}}},{{{Lon}}}]] | |data4 = [[Geopoint::{{{Lat}}},{{{Lon}}}]] | ||
Line 22: | Line 22: | ||
|data6 = [[Population::{{{Population}}}]]<ref name="census1801" />}} | |data6 = [[Population::{{{Population}}}]]<ref name="census1801" />}} | ||
{{#ask: | {{#ask: | ||
[[Category:{{{ | [[Category:{{{AdministrativeDivision}}} place-names]] | ||
|? | |?Geopoint | ||
|? | |?AdministrativeDivision | ||
|? | |?Vicinity | ||
|? | |?PlaceNamesType | ||
|? | |?PlaceNamesInterest | ||
|? | |?PlaceNamesStatus | ||
|? | |?FirstRecord# | ||
|? | |?CenturyOrdinal | ||
|? | |?Image | ||
|showtitle=yes | |showtitle=yes | ||
|limit=2000 | |limit=2000 | ||
|format=leaflet | |format=leaflet | ||
|template= | |template=PlaceNamesPopUp | ||
|markercluster=yes | |markercluster=yes | ||
|clustergridsize=15 | |clustergridsize=15 | ||
|clusterspiderfy=yes | |||
|height=550 | |height=550 | ||
|width=34% | |width=34% | ||
|geojson= | |geojson={{SERVER}}/w/geo/{{lc:{{{Country}}}}}/counties/Yorkshire.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 the {{{ | <div id="ctyMapLegend">Localities named after Robin Hood (or members of his band) in the {{{AdministrativeDivision}}}. 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 • 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:{{#var:CountryMapWidget}}}} | ||
<div class="jsCharts" id="tChart"> | <div class="jsCharts" id="tChart"> | ||
{{#ask: [[Category:{{{ | {{#ask: [[Category:{{{AdministrativeDivision}}} place-names]] | ||
|? | |?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=FirstRecord, | |||
|link=none | |link=none | ||
}} | }} | ||
</div> | </div> | ||
{{#widget: | {{#widget:PlaceNamesCharts}} | ||
</includeonly> | </includeonly> |
Latest revision as of 03:56, 6 June 2022
This template renders the infobox, maps and charts on landing pages for ridings in the place-names section of IRHB. It takes the following parameters:
- Country
- Demonym
- AdministrativeDivision
- Abbrev
- Population
- Lat
- Lon
- CenterLat
- CenterLon