Template:FestivalsCountry: Difference between revisions

From International Robin Hood Bibliography
mNo edit summary
mNo edit summary
Line 1: Line 1:
<noinclude><div class="no-img">This template displays maps and charts for country landing pages in the festivals section of IRHB. It takes the following named parameters:
<includeonly>{{#vardefine:ctyLower|{{lc:{{{Country}}}}}}}
* '''Country '''
* '''Demonym'''
* '''CenterLat'''
* '''CenterLon'''.
* '''Zoom''' &ndash; zoom factor for the topmost map. Default is 9.</div></noinclude><includeonly>{{#vardefine:ctyLower|{{lc:{{{Country}}}}}}}
{{#ask: [[Category:{{{Demonym}}} festivals]]
{{#ask: [[Category:{{{Demonym}}} festivals]]
|?geopoint
|?geopoint
Line 49: Line 44:
{{#widget:FlCharts}}
{{#widget:FlCharts}}
</includeonly>
</includeonly>
<noinclude>
<templatedata>
{
"params": {
"Country": {
"label": "Country",
"description": "Country",
"type": "string",
"default": "England"
},
"Demonym": {
"label": "Demonym",
"description": "Demonym",
"example": "Scottish",
"type": "string",
"default": "English"
},
"CenterLat": {
"label": "CenterLat",
"description": "Latitude on which the map centers.",
"example": "Value in the interval 0-180",
"type": "number",
"suggested": true
},
"CenterLon": {
"label": "CenterLon",
"description": "Longitude on which the map centers.",
"example": "Value in the interval 0-90",
"type": "number",
"suggested": true
},
"Zoom": {
"label": "Zoom",
"description": "Zoom level for the map",
"type": "number",
"default": "9"
}
},
"description": "Displays maps and charts for country landing pages in Festivals section."
}
</templatedata>
</noinclude>

Revision as of 09:34, 23 December 2020


Displays maps and charts for country landing pages in Festivals section.

Template parameters

ParameterDescriptionTypeStatus
CountryCountry

Country

Default
England
Stringoptional
DemonymDemonym

Demonym

Default
English
Example
Scottish
Stringoptional
CenterLatCenterLat

Latitude on which the map centers.

Example
Value in the interval 0-180
Numbersuggested
CenterLonCenterLon

Longitude on which the map centers.

Example
Value in the interval 0-90
Numbersuggested
ZoomZoom

Zoom level for the map

Default
9
Numberoptional