Template:FestivalsAdministrativeDivision: Difference between revisions
From International Robin Hood Bibliography
mNo edit summary |
m (Text replacement - "/wiki/" to "/w/") |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:Country|{{#ifeq:{{{Country|}}}||England|{{{Country}}} }}}}{{#vardefine:ctyLower|{{lc:{{#var:Country}}}}}}{{#vardefine:Demonym|{{{Demonym}}}}}{{#vardefine:Folder|{{#ifeq:{{{AdministrativeDivision|}}}|London|cities|counties}}}}{{#vardefine:File|{{#ifeq:{{#pos:{{{AdministrativeDivision|}}}|of Yorkshire|0}}||{{{AdministrativeDivision}}}|yorkshire}}}}{{#vardefine:AdmEntity|{{#ifeq:{{{AdministrativeDivision}}}|London|Greater London|{{{AdministrativeDivision}}}}}}}{{#vardefine:AreaRef|}}{{#vardefine:PopStatRef|{{#ifeq:{{#var:Country}}|England|[http://www.histpop.org/ohpr/servlet/PageBrowser?path=Browse/Census%20(by%20date)/1891&active=yes&mno=64&tocstate=expandnew&tocseq=500&display=sections&display=tables&display=pagetitles&pageseq=first-nonblank Histpop - The Online Historical Population Reports Website: Population. Administrative counties, England and Wales. Vol. I, 1891 – Page vi] (University of Essex).|[http://www.histpop.org/ohpr/servlet/PageBrowser?path=Browse/Census%20(by%20geography)/Scotland/1891&active=yes&mno=63&tocstate=expandnew&tocseq=1700&display=sections&display=tables&display=pagetitles&pageseq=first-nonblank Population report, Scotland. Vol. I, 1891 – Page xxii] (University of Essex).}}}}{{#vardefine:AreaRef|{{#ifeq:{{#var:Country}}|England|[https://en.wikipedia.org/ | <includeonly>{{#vardefine:Country|{{#ifeq:{{{Country|}}}||England|{{{Country}}} }}}}{{#vardefine:ctyLower|{{lc:{{#var:Country}}}}}}{{#vardefine:Demonym|{{{Demonym}}}}}{{#vardefine:Folder|{{#ifeq:{{{AdministrativeDivision|}}}|London|cities|counties}}}}{{#vardefine:File|{{#ifeq:{{#pos:{{{AdministrativeDivision|}}}|of Yorkshire|0}}||{{{AdministrativeDivision}}}|yorkshire}}}}{{#vardefine:AdmEntity|{{#ifeq:{{{AdministrativeDivision}}}|London|Greater London|{{{AdministrativeDivision}}}}}}}{{#vardefine:AreaRef|}}{{#vardefine:PopStatRef|{{#ifeq:{{#var:Country}}|England|[http://www.histpop.org/ohpr/servlet/PageBrowser?path=Browse/Census%20(by%20date)/1891&active=yes&mno=64&tocstate=expandnew&tocseq=500&display=sections&display=tables&display=pagetitles&pageseq=first-nonblank Histpop - The Online Historical Population Reports Website: Population. Administrative counties, England and Wales. Vol. I, 1891 – Page vi] (University of Essex).|[http://www.histpop.org/ohpr/servlet/PageBrowser?path=Browse/Census%20(by%20geography)/Scotland/1891&active=yes&mno=63&tocstate=expandnew&tocseq=1700&display=sections&display=tables&display=pagetitles&pageseq=first-nonblank Population report, Scotland. Vol. I, 1891 – Page xxii] (University of Essex).}}}}{{#vardefine:AreaRef|{{#ifeq:{{#var:Country}}|England|[https://en.wikipedia.org/w/List_of_ancient_counties_of_England_by_area_in_1891 Wikipedia: List of ancient counties of England by area in 1891] (adapted from 1891 census).|[https://en.wikipedia.org/w/List_of_counties_of_Scotland_1890%E2%80%931975 Wikipedia: List of counties of Scotland 1890–1975.]}}}}{{#vardefine:Utitle|{{#replace:{{uc:{{PAGENAME}}}}|'|'}}}} | ||
{{Infobox | {{Infobox | ||
|header1 = Adm. div. | |header1 = Adm. div. | ||
Line 24: | Line 24: | ||
|limit=2000 | |limit=2000 | ||
|format=leaflet | |format=leaflet | ||
|template= | |template=FestivalsPopUp | ||
|markercluster=yes | |markercluster=yes | ||
|height=550 | |height=550 | ||
|width=34% | |width=34% | ||
|geojson= | |geojson={{SERVER}}/w/geo/{{#var:ctyLower}}/{{#var:Folder}}/{{#var:File}}.json | ||
|enablefullscreen=yes | |enablefullscreen=yes | ||
|copycoords=yes | |copycoords=yes | ||
Line 42: | Line 42: | ||
|limit=2000 | |limit=2000 | ||
|format=template | |format=template | ||
|template= | |template=ChartsData | ||
}} | }} | ||
</div> | </div> |
Latest revision as of 03:56, 6 June 2022
Renders infobox, maps and charts on landing pages for administrative divisions in festivals section.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Country | Country | Country
| String | optional |
Demonym | Demonym | Demonym
| String | optional |
AdministrativeDivision | AdministrativeDivision | Administrative division, typically one the 39 English pre-1972 counties
| String | required |
Abbrev | Abbrev | Abbreviated name of county (administrative division)
| String | optional |
Latitude | Lat | Latitude in decimal format.
| Number | suggested |
Longitude | Lon | Longitude in decimal format
| Number | suggested |
Area | Area | Area of county (administrative unit) as per 1891 census
| Number | optional |
Population | Population | Size of population as per 1891 census
| Number | optional |
CenterLon | CenterLat | Latitude on which to center the map
| Number | optional |
CenterLon | CenterLon | Longitude on which to center the map
| Number | optional |
Zoom | Zoom | Zoom level for the map
| Number | optional |
Glondon | Glondon | Does all or part of the county now belong to London?
| Unknown | optional |
Riding | Riding | One of the three Yorkshire ridings: East, North or West | String | optional |