This is a documentation subpage for Template:Music map.
It contains usage information, categories, and other content that is not part of the original template page.
Template:Music map invokes function main in Module:Music map using Lua.

This template takes a list of unnamed parameters that specify polygons on the world map, prefixed by the music track name. For relevant music tracks, the popup text when clicking on the track's polygon will omit the (music track) page suffix. Example:

{{Music map|width=300|height=300|x=3232|y=3232|align=right|zoom=0
|categories=[[Is members only::false]]
}}
-1-2

This template may also take a nopreprocess parameter if the output should not be processed into a map.

The template also has an optional smw parameter which can be set to hist to obtain the historical map data where available, or onlyhist to only obtain the historical data, and ignore all current maps.

Template data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

Generate a map with tiles for each music track's unlock location(s).

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Categoriescategories

Which categories to filter on

Example
[[Is members only::false]]
Unknownoptional
Map widthwidth

The width of the map

Default
500
Numberoptional
Map heightheight

The height of the map

Default
500
Numberoptional
Center-Xx

X coordinate to center map on

Default
3200
Numberoptional
Center-Yy

Y coordinate to center map on

Default
3200
Numberoptional
Zoom levelzoom

Default zoom level

Default
1
Numberoptional
Alignalign

How to align the map

Default
center
Stringoptional
SMWsmw

Which SMW property to retrieve; empty is the default location JSON.

Example
hist
Stringoptional