Template:PlaceNamesAdHocGroup: Difference between revisions
From International Robin Hood Bibliography
mNo edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
* '''CenterLat''' – Decimal latitude on which to center map. Mandatory. | * '''CenterLat''' – Decimal latitude on which to center map. Mandatory. | ||
* '''CenterLon''' – Decimal longitude on which to center map. Mandatory. | * '''CenterLon''' – Decimal longitude on which to center map. Mandatory. | ||
* '''Query''' – the SMW Ask string to be used, for instance "<nowiki>[[Category:Robinhood place-names]] AND [[Category:English place-names]]</nowiki>". Mandatory | * '''Query''' – the SMW Ask string to be used, for instance "<nowiki>[[Category:Robinhood place-names]] AND [[Category:English place-names]]</nowiki>". Mandatory.</div></noinclude><includeonly> | ||
{{#vardefine:Country|{{{Country|England}}}}}{{#vardefine:ctyLower|{{lc:{{{Country}}}}}}}{{#vardefine:CountryMapWidget|{{#ifeq:{{#var:ctyLower}}|england|NavMapEnglishPlaceNames|<!--insert name for other country-->}}}} | {{#vardefine:Country|{{{Country|England}}}}}{{#vardefine:ctyLower|{{lc:{{{Country}}}}}}}{{#vardefine:CountryMapWidget|{{#ifeq:{{#var:ctyLower}}|england|NavMapEnglishPlaceNames|<!--insert name for other country-->}}}} | ||
{{#ask: {{{Query}}} | {{#ask: {{{Query}}} | ||
Line 30: | Line 29: | ||
|copycoords=yes | |copycoords=yes | ||
}} | }} | ||
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="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 class="jsCharts" id="tChart"> | <div class="jsCharts" id="tChart"> | ||
{{#ask: {{{Query}}} | {{#ask: {{{Query}}} |
Revision as of 16:46, 29 May 2019
This template can be used for displaying maps and charts for English place-names based on ad hoc criteria. It takes the following named parameter:
- Country – Defaults to England. At present other values are ignored.
- Demonym – Defaults to English. At present other values are ignored.
- CenterLat – Decimal latitude on which to center map. Mandatory.
- CenterLon – Decimal longitude on which to center map. Mandatory.
- Query – the SMW Ask string to be used, for instance "[[Category:Robinhood place-names]] AND [[Category:English place-names]]". Mandatory.