Wikivoyage:Marker Package

Index > Dokumentation > Software-Pakete > Marker Package

The Marker Package provides Lua modules and JavaScript scripts for the support of map markers.


The Marker Package consists of

JavaScript scripts implementationBearbeiten

InitListingTools.js calls both the ListingEditor and the ListingInfo. Please add the JavaScript scripts to the pages MediaWiki:Common.js and MediaWiki:Mobile.js, respectively.

// Wrapping li/dd/p/div containers which contain vCard templates for maintenance
// See also MediaWiki:Gadget-vCards-Notes.css
mw.loader.load( '//' );

// Initialization of listing editor and listing info
mw.loader.load( "//" );

// Adding marker tooltips
mw.loader.load( '//' );

Please note the slight difference between MediaWiki:Common.js and MediaWiki:Mobile.js.

Style sheetsBearbeiten


See alsoBearbeiten