Template:Infobox map

From Guild Wars 2 Wiki
Jump to: navigation, search

This template is a wrapper for Widget:Infobox map, used in infoboxes to provide the GW2 map API with a marker indicating the NPC position.

Usage[edit]

{{Infobox map
| coordinates = 
| bounds = 
}}

Parameters[edit]

coordinates 
[X,Y] coordinate pair. Integers between 0 and 32000. Wrap each value pair in brackets. If multiple pairs are specified it is interpreted as a path instead of a marker - separate these multiple points with commas and wrap in an additional set of brackets. If a 3rd value in the first array is given, it will be interpreted as a floor. If a fourth value in the first array is given, it will be interpreted as a continent.
bounds 
Multiple [X,Y] coordinate pairs to form a polygon on the map.
type 
Optional. Used by non-npc infoboxes.
localtiles 
Optional. If set, will use wiki tiles instead of the API. Only useful if the tiles exist in Category:Map raster tiles.
requires 
Optional. If set to LWS4 or LWS5, localtiles will be used unless otherwise specified.

Example[edit]

{{Infobox map | coordinates = [16100,14800] }}

Interactive map

Used in[edit]

A quick guide to capturing coordinates[edit]

Primary article: Guild Wars 2 Wiki:Projects/NPC Coordinates/Guide
  • If it's an event, use Widget:Event table.
  • If it's a point of interest, or a heart NPC, use Widget:Map table.
  • For all other cases:
    • GW2Timer.com - clicking on any point generates the coordinates in the box in the bottom left corner.
    • GW2Navi ingame overlay - same as the above external website but uses your ingame data to determine your location.