Template:Coords

From Warcraft Wiki
Jump to navigation Jump to search

Displays location coordinates in a superscript. Hovering over the coordinates displays them on the zone's map (requires Javascript).

Basic example usage:

[[Dalaran]] {{Coords|70|45|Dalaran}}Dalaran [70, 45]

An example of linking to a different article and using a different phase

[[Gilneas (starting zone)|Gilneas]] {{Coords|70|45|Gilneas||2|link=Gilneas (starting zone)}}Gilneas [70, 45]

Syntax

{{Coords|<x>|<y>|<zone>|<section>|<phase>}}

x
X coordinate; 0 at the left edge of the map, 100 at the right edge of the map.
y
Y coordinate; 0 at the top edge of the map, 100 at the bottom edge of the map.
zone
Wowpedia article title for this zone; usually the zone name, without "The " prefix.
section
Optional zone map section for zones with multiple maps (e.g. instances).
phase
Optional terrain phase, for zones with phased terrain (e.g. Gilneas, Mount Hyjal, Krasarang Wilds).
old
Optional old map, used for articles that need to display an older map like Night Elf Mohawk which was available prior to Cataclysm.
link
Optional link to another article, used if the article named after the map redirects to a different article than anticipated. e.g. using the Gilneas maps but needs to be linked to Gilneas (starting zone) since Gilneas redirects to the kingdom article. Also useful for Classic articles such as Elwynn Forest and Elwynn Forest (Classic).

Maps

Coords uses VZ-maps to draw the blips on. A VZ-map is a file redirect to the coordinate-safe map named using the name Blizzard gave to the map as found in the game files. VZ-map redirects should be created according to the following pattern:

File:VZ-Zone name on Wowpedia.jpg

Instances and select capital cities have multiple floors drawn as separate maps. As an example, Orgrimmar has the main map (WorldMap-Orgrimmar.jpg) and the Cleft of Shadow (WorldMap-Orgrimmar1.jpg). These are accessed via the VZ-maps VZ-Orgrimmar.jpg and VZ-Orgrimmar-s1.jpg.

Blizzard is not always consistent as far as numbering is concerned, so look at the maps section of the main article for the zone to see how Blizzard decided to number the maps. Dalaran, for instance, is drawn as WorldMap-Dalaran.jpg (main map) and WorldMap-Dalaran1.jpg (Underbelly). As an exception, these maps have differently-named VZ-maps redirecting to them: VZ-Dalaran.jpg points to the main map, whereas VZ-Underbelly.jpg redirects to the Underbelly map. The standard VZ-Dalaran-s1.jpg VZ-map also work for the Underbelly.

Zones with phased terrains have a similar syntax. The Krasarang Wilds map (VZ-Krasarang Wilds.jpg) exists as a file redirect to WorldMap-Krasarang.jpg. Since Krasarang has an alternate phase map (WorldMap-Krasarang_Terrain1.jpg), the VZ-map redirecting to it would be VZ-Krasarang Wilds-t1.jpg.

Maps with older versions of itself may still be useful for content that was removed, especially for World of Warcraft: Classic. The Eastern Kingdoms map from Vanilla, VZ-Eastern Kingdoms-old.jpg, exists as a file redirect to WorldMap-Azeroth-vanilla.jpg. The VZ-Eastern Kingdoms-old1.jpg (TBC) exists as a file redirect to WorldMap-Azeroth-tbc.jpg. The VZ-Eastern Kingdoms-old3.jpg (Cata) exists as a file redirect to WorldMap-Azeroth.jpg.