Template:FestivalsAdministrativeDivision: Difference between revisions
From International Robin Hood Bibliography
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:Country|{{#ifeq:{{{Country|}}}||England|{{{Country}}} }}}}{{#vardefine:ctyLower|{{lc:{{#var:Country}}}}}}{{#vardefine:demonym|{{{Demonym}}}}}{{#vardefine:Folder|{{#ifeq:{{{AdmDiv|}}}|London|cities|counties}}}}{{#vardefine:File|{{#ifeq:{{#pos:{{{AdmDiv|}}}|of Yorkshire|0}}||{{{AdmDiv}}}|yorkshire}}}}{{#vardefine:AdmEntity|{{#ifeq:{{{AdmDiv}}}|London|Greater London|{{{AdmDiv}}}}}}}{{#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/wiki/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/wiki/List_of_counties_of_Scotland_1890%E2%80%931975 Wikipedia: List of counties of Scotland 1890–1975.]}}}} | |||
{{#vardefine:Country|{{#ifeq:{{{Country|}}}||England|{{{Country}}} }}}}{{#vardefine:ctyLower|{{lc:{{#var:Country}}}}}}{{#vardefine:demonym|{{{Demonym}}}}}{{#vardefine:Folder|{{#ifeq:{{{AdmDiv|}}}|London|cities|counties}}}}{{#vardefine:File|{{#ifeq:{{#pos:{{{AdmDiv|}}}|of Yorkshire|0}}||{{{AdmDiv}}}|yorkshire}}}}{{#vardefine:AdmEntity|{{#ifeq:{{{AdmDiv}}}|London|Greater London|{{{AdmDiv}}}}}}}{{#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/wiki/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/wiki/List_of_counties_of_Scotland_1890%E2%80%931975 Wikipedia: List of counties of Scotland 1890–1975.]}}}} | |||
{{Infobox | {{Infobox | ||
|header1 = Adm. div. | |header1 = Adm. div. | ||
Line 67: | Line 54: | ||
}} | }} | ||
</div> | </div> | ||
{{#widget:FlCharts}} | {{#widget:FlCharts}}</includeonly><noinclude> | ||
</ | <templatedata> | ||
{ | |||
"params": { | |||
"Country": { | |||
"label": "Country", | |||
"description": "Country", | |||
"type": "string", | |||
"default": "England" | |||
}, | |||
"Demonym": { | |||
"label": "Demonym", | |||
"description": "Demonym", | |||
"type": "string", | |||
"default": "English" | |||
}, | |||
"AdmDiv": { | |||
"label": "Administrative Division", | |||
"description": "Administrative division, typically one the 39 English pre-1972 counties", | |||
"example": "Yorkshire", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"Abbrev": { | |||
"label": "Abbreviated county name", | |||
"description": "Abbreviated name of county (administrative division)", | |||
"example": "Berks", | |||
"type": "string" | |||
}, | |||
"Lat": { | |||
"label": "Latitude", | |||
"description": "Latitude in decimal format.", | |||
"example": "42.356", | |||
"type": "number", | |||
"suggested": true | |||
}, | |||
"Lon": { | |||
"label": "Longitude", | |||
"description": "Longitude in decimal format", | |||
"example": "2.46", | |||
"type": "number", | |||
"suggested": true | |||
}, | |||
"Area": { | |||
"label": "Area", | |||
"description": "Area of county (administrative unit) as per 1891 census", | |||
"example": "36465", | |||
"type": "number" | |||
}, | |||
"Population": { | |||
"label": "Population", | |||
"description": "Size of population as per 1891 census", | |||
"example": "135894", | |||
"type": "number" | |||
}, | |||
"CenterLat": { | |||
"label": "CenterLon", | |||
"description": "Latitude on which to center the map", | |||
"example": "2.3456", | |||
"type": "number" | |||
}, | |||
"CenterLon": { | |||
"label": "CenterLon", | |||
"description": "Longitude on which to center the map", | |||
"example": "49.456", | |||
"type": "number" | |||
}, | |||
"Zoom": { | |||
"description": "Zoom level for the map", | |||
"example": "9", | |||
"type": "number" | |||
}, | |||
"Glondon": { | |||
"label": "Glondon", | |||
"description": "Does all or part of the county now belong to London", | |||
"example": "Any values means \"yes\"", | |||
"default": "No", | |||
"required": true | |||
}, | |||
"Riding": { | |||
"label": "Riding", | |||
"description": "One of the three Yorkshire ridings: East, North or West" | |||
} | |||
}, | |||
"description": "Renders infobox, maps and charts on landing pages for administrative divisions in festivals section." | |||
} | |||
</templatedata> | |||
</noinclude> |
Revision as of 09:25, 23 December 2020
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 |
Administrative Division | AdmDiv | Administrative division, typically one the 39 English pre-1972 counties
| String | required |
Abbreviated county name | 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 | required |
Riding | Riding | One of the three Yorkshire ridings: East, North or West | Unknown | optional |