Template:PlaceNamesClusterPage: Difference between revisions
From International Robin Hood Bibliography
m (Henryfunk moved page Template:PnClusterPage to Template:PlaceNamesClusterPage without leaving a redirect) |
mNo edit summary |
||
Line 8: | Line 8: | ||
</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: | </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 | ||
|?AdministrativeDivision | |?AdministrativeDivision | ||
|?Vicinity | |?Vicinity | ||
|?PlaceNamesType | |?PlaceNamesType | ||
|?PlaceNamesInterest | |?PlaceNamesInterest | ||
|? | |?PlaceNamesStatus | ||
|?FirstRecord# | |?FirstRecord# | ||
|?CenturyOrdinal | |?CenturyOrdinal | ||
Line 64: | Line 64: | ||
{{#ask: | {{#ask: | ||
[[Category:{{PAGENAME}}]] | [[Category:{{PAGENAME}}]] | ||
|? | |?PlaceNamesStatus | ||
|format=template | |format=template | ||
|template=chart-data | |template=chart-data |
Revision as of 23:34, 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.