Template:Map

The template places a map on a wiki page, optionally with notes and map markers. This is the main template for this Wiki map system, and all related templates are sub-templates of this template. See also Category: Templates.


 * Usage
 * 1 or zone or instance - common map, region, or area name
 * 2 or area or phase or alt - map sub-zone name or number. Optional
 * size or width - embedded map width in pixels. Default is 501
 * float - css float the embedded map, 'left' or 'right'. Optional
 * notes - extra wiki code or html that is to be displayed with the map. Optional


 * Notes on 'notes' field: Designed to work with the map notation template. Simply placing 'Map/Note's inside the 'notes' parameter will automatically place map notes and markers inside the map.


 * Other Map Styles and Utilities
 * Template:/Link - map text link, with a hover pop-up map
 * Template:/Coords - formatted map coordinate text, with a hover pop-up map
 * Template:/Icon - marker icon image to use for standalone wiki text icon images

Map only
 * Examples

A basic map with markers

This template can be renamed with the 'rename sub-pages' option for use on wikis that may want to use a different name or already have a template called map. After a rename all of the template functionality should remain the same, and the caller can simply use the new template name instead of. If the name is changed, the include in each map template must be fixed to match the new name, and the 'MAPBASENAME' setting or other settings in Template:/Settings must also be changed.
 * For Admins and Maintainers

Map templates and files:
 * Template: - Generate an embedded map on a wiki page.
 * Template:/File - Generates final map file name. Change this template to add or change simple map names and map them to wiki image files.
 * Template:/Note - Generates map markers with notes. Change this template to add or change simple names for marker types and map them to wiki image files.
 * Template:/Coords - Creates a coordinate text as with a hover popup map.
 * Template:/Link - Creates wiki link with a hover popup map.
 * Template:/Icon - Generates a marker icon wiki image.
 * Template:/Settings - Map common settings. Change this to change global map settings.
 * Template:/Clip - Utility to clip numeric values.
 * Template:/Point - Utility to set linear scaled point variables.
 * Template:/Extents - Sets map coordinate system and extent variables.
 * Module:Map - Map Lua code.
 * MediaWiki:Map/code.js - Map JavaScript code.
 * MediaWiki:Common.css
 * MediaWiki:Common.js

Test and example files:
 * Template:/Test - Test pad for testing map configurations.
 * File:WorldMap-Elwynn.jpg - Image used in Map Template examples. Used in examples.
 * File:Auridon_Map.png - Image used on the Map Test page. Useful for generic testing.

Extensions:
 * mw:Extension:Variables - Use Special:Contact/general to request adding "Extension_Variables" to your wiki
 * Help:JavaScript review process - Use Special:Contact/general to enable Custom JavaScript for your wiki
 * Help:Community CSS and JS - If your Wiki was created before 2015, consider using Special:Contact/general to request to enable MediaWiki:Common.css for all themes, so that each theme and mobile can use the same common Map css

WoW Specific Templates:
 * Template:/Percentage - Utility to clip numeric values. Old version of Map/Clip. Template Deprecated.
 * Template:MapIcon - Map/Icon for pages that are 'Map unaware', follows wow wiki name convention.
 * Template:Coords - Old name of Map/Coords. Name Deprecated.
 * Template:MLink - Old name of Map/Link. Name Deprecated.
 * Template:Map File - Old name of Map/File. Name Deprecated.
 * Template:Zone Map Note - Old name of Map/Note. Name Deprecated.

Implementation origin copy:
 * Wikia Licks Toads - Map module derived from the original Map development wiki

The lack of '/doc' files for template documentation is on purpose for this utility, and was done in order to make it easier to copy, rename, and to simplify file compares and updates between sites for maintenance.

See Template:/doc for any additional wiki specific information.

