Wikivoyage:Marker Package

Aus Wikivoyage
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 implementation[Bearbeiten]

Gadget-InitListingTools.js calls both the Gadget-ListingEditor and the Gadget-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 sheets[Bearbeiten]


See also[Bearbeiten]