Template:Map/Note/doc

Creates a map note for use with the Map template (and previously the deprectaed templates: Zone Map or Instance Map). Template:Map Note redirects here.


 * Dependencies
 * Requires specially sized images ("map safe").
 * Requires specially named images (InstanceMap-zone#.jpg or WorldMap-zone#.jpg).
 * Requires Percentage for param validation?
 * Requires Map File for map lookup.
 * Requires Map as wrapper.
 * Requires Javascript (MapCoords) at MediaWiki:Common.js.
 * Requires Extension:Variables.

Usage
X-coordinate
 * X-coordinate, Y-coordinate : The coordinates of the map note. Any number of decimal places can be used: 52, 52.3, 52.2995843, etc. These coordinates conform to the in-game coordinates, with X=0.0 at the left, X=100.0 at the right, Y=0.0 at the top and Y=100.0 at the bottom.
 * Icon name (optional) : The icon to use, from the list below. For landmarks, use "POI#", where # is the number of the landmark, e.g. "POI45" for a white flag. If the name is not recognised, the icon defaults to a blip.
 * Hover text (optional) : The text to display when hovering with the mouse pointer over the note icon.
 * Legend (optional) : How and where to show the note in the map's legend . More on that below.

Legend
 Only map notes with a legend parameter are featured in the legend. The rest is omitted! A legend entry consists of two parts:  The category of the legend entry and the actual name of the entry  The two parts are separated by  or          </li>  </li> </ol> The category comes first - followed by the entry name. </li> There are no predefined categories or entry types. They simply spring to life when you use them. For the most part you should stick to the names associated with the icons though.</li> There are two kinds of legend entries:  Indexed entries These are useful when the note stands for something generic.   </li>  </li> </ol> Indexed entries are separated by  and are rendered like this: Services  Taxi 1 2 PLEASE NOTE: Indexed entries are presented as numbers even if there's no duplicate in the legend! </li> Named entries These are useful when the note stands for a unique place or creature.   </li>  </li> </ol> Named entries are separated by  and are rendered like this: Profession Trainer Arnold Leland  Services  Bank of Orgrimmar PLEASE NOTE: Named entries are treated like indexed entries if there's a duplicate in the legend. </li> </ol> </li>  A legend category may have both - indexed and named - entries. Indexed entries are listed first. Both groups are sorted alphabetically. </li>  Any map note may have more than one entry in the legend. Make use of this feature liberally! <ol> <li> </li> </ol> Multiple entries are separated by    Profession Trainer   Leatherworking 1   Skinning 1  Jalane The order does not matter and the entries do not need to be in the same category. </li> </ol>