Template:Map/Link/doc


 * See also Template:Coords and Template:Map.

Use this template instead of creating text-links to maps. Why is that useful? Test it yourself:


 * 1) ordinary link: Brinversia
 * 2) fancy MLink:

As you can see, hovering over the MLink will show a small preview of the map and clicking on it will open the Map Lightbox instead of taking you directly to the map's file page.


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

Usage
zone


 * 1 or zone : name of the map zone; if you're unsure about the zone's name, check the master list!
 * alt (optional) : a small number of zones have multiple maps and you'll need this parameter to pick the right one; this can also be found in the master list
 * text (optional) : use this parameter if you want to show text other than the zone's name
 * size (optional) : size of the preview map in pixels (but without units!); defaults to 300
 * usemap (optional) : use the file name instead of the zone name as the display text; this option overrides both the default and the text option!

Examples
1.) basic example:

will be rendered as:

2.) unneccessarily complicated example:

will be rendered as: