Template:Map

The template places a map, optionally with notes and map markers on a wiki page. 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 - map name
 * zone - map sub-zone name or number
 * size - display map width in pixels, height is assumed to be 2/3 of width. default is 501
 * notes - extra wiki code or html that is to be displayed with the map. optional
 * The 'notes' field is 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.


 * Examples

Map only

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: - This template. Does not normally need maintenance.
 * Template:/File - Generates final image file name. Change this template to add or change simple map names and map them to wiki 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 files.
 * Template:/Settings - Map common settings template. Does not normally need maintenance.
 * MediaWiki:Map/code.js
 * MediaWiki:Common.css
 * MediaWiki:Common.js

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.

