Template:FestivalsPopUp: Difference between revisions

From International Robin Hood Bibliography
(Created page with "<noinclude>This template generates the pop-up that is displayed when the user clicks a pointer in a GoogleMap on a festivals landing page. It is called in a Semantic MediaWiki...")
 
mNo edit summary
Line 1: Line 1:
<noinclude>This template generates the pop-up that is displayed when the user clicks a pointer in a GoogleMap on a festivals landing page. It is called in a Semantic MediaWiki query.</noinclude><includeonly>{{#vardefine:image|{{#ifeq:{{{9|}}}||{{#ifeq:{{#rpos:{{{8|}}}|.jpg}}|-1|{{#ifeq:{{#rpos:{{{8|}}}|.png}}|-1|{{#ifeq:{{#rpos:{{{7|}}}|.jpg}}|-1|{{#ifeq:{{#rpos:{{{7|}}}|.png}}|-1||{{{7|}}}}}|{{{7|}}}}}|{{{8|}}}}}|{{{8|}}}}}|{{{9|}}}}}}}
<noinclude>This template generates the pop-up that is displayed when the user clicks a pointer in a GoogleMap on a festivals landing page. It is called in a Semantic MediaWiki query.</noinclude><includeonly>{{#vardefine:image|{{#ifeq:{{{9|}}}||{{#ifeq:{{#rpos:{{{8|}}}|.jpg}}|-1|{{#ifeq:{{#rpos:{{{8|}}}|.png}}|-1|{{#ifeq:{{#rpos:{{{7|}}}|.jpg}}|-1|{{#ifeq:{{#rpos:{{{7|}}}|.png}}|-1||{{{7|}}}}}|{{{7|}}}}}|{{{8|}}}}}|{{{8|}}}}}|{{{9|}}}}}}}
{{#vardefine:century|{{#switch: {{{8|}}} |?|14th|15th|16th|17th|18th|19th|20th|21st = {{{8|}}}|{{#ifeq:{{{8|}}}||?|{{#switch:{{{7|}}}|?|14th|15th|16th|17th|18th|19th|20th|21st = {{{7|}}} |{{#ifeq:{{{7|}}}||?|}}}}}}}}}}
{{#vardefine:fstrec|{{#ifeq:{{{7|}}}||?|{{#iferror:{{#expr:{{{7|}}}}}|?|{{{7|}}}}}}}}}
{{#ifeq:{{#var:image}}|||[[File:{{#var:image}}|thumb|left|class=popupimg|link={{{1|}}}]]}}<div class="pnpopup"></div>
{{#ifeq:{{#var:image}}|||[[File:{{#var:image}}|thumb|left|class=popupimg|link={{{1|}}}]]}}<div class="pnpopup"></div>
<table class="pnpopup">
<table class="pnpopup">
Line 9: Line 7:
<tr><td>Began</td><td>{{{5|}}}</td></tr>
<tr><td>Began</td><td>{{{5|}}}</td></tr>
<tr><td>Ended</td><td>{{{6|}}}</td></tr>
<tr><td>Ended</td><td>{{{6|}}}</td></tr>
<tr><td>Events</td><td>{{#var:fstrec}}</td></tr>
<tr><td>Events</td><td>{{{7|}}}</td></tr>
</table></includeonly>
</table></includeonly>

Revision as of 18:26, 30 May 2018

This template generates the pop-up that is displayed when the user clicks a pointer in a GoogleMap on a festivals landing page. It is called in a Semantic MediaWiki query.