Template:Zone Map Note/doc

From Warcraft Watch Secrets
Revision as of 02:31, 13 March 2024 by imported>Wards
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Creates a map note for use with the {{Zone Map}} template.

Usage

{{Zone Map Note|<X-coordinate>|<Y-coordinate>|<Icon name>|<Hover text>}}

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
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.
For icons commonly seen on the mini-map, use "OBJ#", where # is the number of the icon, e.g. "OBJ35" for a battle pet master.
If the name is not recognised, the icon defaults to a blip.
Hover text
The text to display when hovering with the mouse pointer over the note icon.

Example

{{Zone Map|zone=Elwynn Forest|notes=
{{Zone Map Note|25.8|89.6|Skull|Hogger}}
{{Zone Map Note|39.4|60.5|Star|Graveyard}}
{{Zone Map Note|24.4|78|Cross|Raid meets here}}
{{Zone Map Note|85|63|POI38|Horse stables}}
{{Zone Map Note|40|66|OBJ35|Battle pet trainer}}
}}

Icons

Default

Faction

Subzone

Raid

Quests

Gossip

Tracking

Portals

Other

Landmarks

File:POIIcons.png
POIIcons.blp, Landmarks for API GetMapLandmarkInfo.

Minimap blips

Minimap blips are downscaled to 18px in {{Zone Map Note}}

API Minimap SetBlipTexture