openlayer map with popup tooltips (including page title)

From semantic-mediawiki.org

I'd like to create a tooltip like the ones at this page: http://techslides.com/demos/openlayers/openlayers-plotting-tooltips2.html simply displaying the PAGE TITLE, using <a href="{{fullurl:pagename}}">{{PAGENAME}}</a> or something similar. I couldn't find any info on how to do this with semantic maps so far :( any ideas?

Second question: how do I make it so that if I click on the marker, the previously mentioned tooltip doesn't work as "hover" but remains on until the marker is clicked again?

18:26, 3 June 2015