Template:FestivalsAdministrativeDivision: Difference between revisions

From International Robin Hood Bibliography
mNo edit summary
mNo edit summary
Line 10: Line 10:
* '''CenterLon'''
* '''CenterLon'''
* '''Zoom''' &ndash; For the counties map, defaults to 9.</div></noinclude><includeonly>
* '''Zoom''' &ndash; For the counties map, defaults to 9.</div></noinclude><includeonly>
{{#vardefine:Country|{{#ifeq:{{{Country|}}}||England|{{{Country}}} }}}}{{#vardefine:ctyLower|{{lc:{{#var:Country}}}}}}{{#vardefine:CountryMapWidget|{{#ifeq:{{#var:ctyLower}}|england|NavMapEnglishFestivals|NavMapScottishFestivals}}}}{{#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 &ndash; 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 &ndash; 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.

Revision as of 20:49, 26 April 2019

This template renders the infobox, maps and charts on landing pages for administrative divisions in the festivals section of IRHB. It takes the following parameters:
  • Country – Defaults to England.
  • Demonym – Defaults to English.
  • AdmDiv
  • Abbrev
  • Population
  • Lat
  • Lon
  • CenterLat
  • CenterLon
  • Zoom – For the counties map, defaults to 9.