Template:PlaceNamesAdHocGroup: Difference between revisions

From International Robin Hood Bibliography
mNo edit summary
mNo edit summary
Line 30: Line 30:
}}
}}
<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 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="irhbCharts" id="typesChart">
<div class="jsCharts" id="tChart">
{{#ask: {{{Query}}}
{{#ask: {{{Query}}}
|?pntype
|?pntype
Line 38: Line 38:
}}
}}
</div>
</div>
<div class="irhbCharts" id="centuryChart">
<div class="jsCharts" id="cChart">
{{#ask: {{{Query}}}
{{#ask: {{{Query}}}
|?century
|?century
Line 46: Line 46:
}}
}}
</div>
</div>
<div class="irhbCharts" id="interestChart">
<div class="jsCharts" id="iChart">
{{#ask: {{{Query}}}
{{#ask: {{{Query}}}
|?pninterest
|?pninterest
Line 54: Line 54:
}}
}}
</div>
</div>
<div class="irhbCharts" id="statusChart">
<div class="jsCharts" id="sChart">
{{#ask: {{{Query}}}
{{#ask: {{{Query}}}
|?pnstatus
|?pnstatus
Line 62: Line 62:
}}
}}
</div>
</div>
<div id="timeline">
<div class="jsCharts" id="tline">
{{#ask: {{{Query}}}
{{#ask: {{{Query}}}
|?pnfirstrecord#
|?pnfirstrecord#
Line 68: Line 68:
|format=template
|format=template
|template=timeline
|template=timeline
|sort=pnfirstrecord,
|link=none
}}
}}
</div>
</div>
{{#widget:PnCharts}}
{{#widget:PnChartsX}}
</includeonly>
</includeonly>

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