Template:PlaceNamesClusterPage: Difference between revisions

From International Robin Hood Bibliography
m (Text replacement - "AdmDiv" to "AdministrativeDivision")
m (Text replacement - "NavMapEnglishPlaceNames" to "PlaceNamesNavigationMapEnglish")
Line 5: Line 5:
* '''KmlSource'''. Optional. Defaults to: ''Historical county boundary coordinates provided by the [http://www.county-borders.co.uk/ Historic Counties Trust]''.
* '''KmlSource'''. Optional. Defaults to: ''Historical county boundary coordinates provided by the [http://www.county-borders.co.uk/ Historic Counties Trust]''.
* '''AdministrativeDivisionPlurTerm'''. Optional. Defaults to: ''counties''.
* '''AdministrativeDivisionPlurTerm'''. Optional. Defaults to: ''counties''.
* '''CountryMapWidget'''. Optional. Defaults to: ''NavMapEnglishPlaceNames''.
* '''CountryMapWidget'''. Optional. Defaults to: ''PlaceNamesNavigationMapEnglish''.
</noinclude><includeonly>{{#vardefine:Cluster|{{Trim|{{#replace:{{PAGENAME}}|place-name cluster|}}}}}}{{#vardefine:Country|{{{Country|England}}}}}{{#vardefine:Demonym|{{{Demonym|English}}}}} {{#vardefine:ctyLower|{{lc:{{#var:Country}}}}}}{{#vardefine:CountryMapWidget|{{#ifeq:{{#var:ctyLower}}|england|NavMapEnglishPlaceNames|<!--insert name for other country-->}}}}{{#vardefine:AdministrativeDivisionPlurTerm|{{#ifeq:{{{AdministrativeDivisionPlurTerm|}}}||counties|{{{AdministrativeDivisionPlurTerm}}}}}}}{{#ask:
</noinclude><includeonly>{{#vardefine:Cluster|{{Trim|{{#replace:{{PAGENAME}}|place-name cluster|}}}}}}{{#vardefine:Country|{{{Country|England}}}}}{{#vardefine:Demonym|{{{Demonym|English}}}}} {{#vardefine:ctyLower|{{lc:{{#var:Country}}}}}}{{#vardefine:CountryMapWidget|{{#ifeq:{{#var:ctyLower}}|england|PlaceNamesNavigationMapEnglish|<!--insert name for other country-->}}}}{{#vardefine:AdministrativeDivisionPlurTerm|{{#ifeq:{{{AdministrativeDivisionPlurTerm|}}}||counties|{{{AdministrativeDivisionPlurTerm}}}}}}}{{#ask:
[[Category:{{PAGENAME}}]]
[[Category:{{PAGENAME}}]]
|?geopoint
|?geopoint

Revision as of 23:00, 5 January 2021

This template creates the maps and charts on place-name cluster pages. It takes the following named parameters:

  • County. The only non-optional parameter.
  • Country. Optional. Defaults to: England.
  • Demonym. Optional. Defaults to: English.
  • KmlSource. Optional. Defaults to: Historical county boundary coordinates provided by the Historic Counties Trust.
  • AdministrativeDivisionPlurTerm. Optional. Defaults to: counties.
  • CountryMapWidget. Optional. Defaults to: PlaceNamesNavigationMapEnglish.