Template:FestivalsPopUp: Difference between revisions
From International Robin Hood Bibliography
mNo edit summary |
m (Henryfunk moved page Template:FlPopUp to Template:FestivalsPopUp without leaving a redirect) |
||
(38 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:image|{{#ifeq:{{#rpos:{{{7|}}}|.jpg}}|-1|{{#ifeq:{{#rpos:{{{6|}}}|.jpg}}|-1|{{#ifeq:{{#rpos:{{{5|}}}|.jpg}}|-1||{{{5|}}}}}|{{{6|}}}}}|{{{7|}}}}}}}{{#ifeq:{{#var:image}}|||[[File:{{#var:image}}|thumb|left|class=popupimg|link={{{2}}} festivals]]}}<div class="pnpopup"></div><table class="pnpopup"> | |||
<table class="pnpopup"> | |||
<tr><td>Adm. Div.</td><td>{{{1|}}}</td></tr> | <tr><td>Adm. Div.</td><td>{{{1|}}}</td></tr> | ||
<tr><td> | <tr><td>Locality</td><td>{{{2|}}}</td></tr> | ||
<tr><td>Vicinity</td><td>{{{ | <tr><td>Vicinity</td><td>{{{4|}}}</td></tr> | ||
<tr><td> | <tr><td>Began</td><td>{{{6|?}}}</td></tr> | ||
<tr><td> | <tr><td>Ended</td><td>{{{7|?}}}</td></tr> | ||
<tr><td> | <tr><td>Events</td><td>{{{3|}}}</td></tr> | ||
< | </table> | ||
</includeonly> | |||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Adm Div", | |||
"description": "Administrative division (county)", | |||
"example": "Berkshire", | |||
- | "type": "string", | ||
"required": true | |||
}, | |||
"2": { | |||
"label": "Locality", | |||
"description": "The name of the locality at which the festival occurred", | |||
"example": "Ashburton", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"3": { | |||
"label": "Events", | |||
"description": "Semi-colon-separated list of events, or short descriptive text", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"4": { | |||
"label": "Vicinity", | |||
"description": "The vicinity in which the festival occurred", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"5": { | |||
"label": "Image", | |||
"description": "Name of image file", | |||
"type": "string" | |||
}, | |||
"6": { | |||
"label": "Began", | |||
"description": "The earliest year for which there is evidence", | |||
"type": "number", | |||
"required": true | |||
}, | |||
"7": { | |||
"label": "Ended", | |||
"description": "The latest year for which there is evidence", | |||
"type": "number" | |||
} | |||
}, | |||
"description": "Generates pop-up displayed when user clicks marker on interactive map on Festivals landing page; used by SMW; not for human use." | |||
} | |||
</templatedata> | |||
</noinclude> |
Latest revision as of 13:38, 7 January 2021
Generates pop-up displayed when user clicks marker on interactive map on Festivals landing page; used by SMW; not for human use.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Adm Div | 1 | Administrative division (county)
| String | required |
Locality | 2 | The name of the locality at which the festival occurred
| String | required |
Events | 3 | Semi-colon-separated list of events, or short descriptive text | String | required |
Vicinity | 4 | The vicinity in which the festival occurred | String | required |
Image | 5 | Name of image file | String | optional |
Began | 6 | The earliest year for which there is evidence | Number | required |
Ended | 7 | The latest year for which there is evidence | Number | optional |