Template:Music track map

This is the current revision of this page, as edited by Alex (talk | contribs) at 15:35, 16 October 2024 (Created page with "<includeonly>{{#if:{{{1|}}}|{{#tag:mapframe |{ "type": "FeatureCollection", "features": [{{#vardefineecho:geoJSON|{ "type": "Feature", "geometry": { "type": "Polygon", "coordinates": {{{1}}} }, "properties": { "mapID": {{{mapID|-1}}}, "plane": {{{plane|0}}} } } }}] } |width={{{width|300}}} |height={{{height|300}}} |zoom={{{zoom|2}}} |mapid={{{mapID|-1}}} |plane={{{plane|0}}} |x={{{x|3200}}} |y={{{y|3200}}} |align={{{align|center}}} |frameless={{#..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation
This documentation is transcluded from Template:Music track map/doc. [edit] [history] [purge]

This template can be used on Map pages to create a music track map. This template will include a notice about the function of the page, as well as providing the relevant categories and SMW properties to the page. The first unnamed parameter must be the coordinates for the polygon indicating the music track area.

Example

{{Music track map
|songs=Dreamstate
|files=File:Dreamstate.ogg
|x=1760|y=5088|plane=2
|align=right|[
[ [1728,5056],[1728,5120],[1792,5120],[1792,5056] ],
[ [1744,5072],[1744,5104],[1776,5104],[1776,5072] ]
]}}

See also

Parameters

Attributes other than the mandatory coordinate data can be specified like they can in {{Map}}:

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Polygon array1

no description

Stringrequired
Center Xx

no description

Default
3200
Numbersuggested
Center Yy

no description

Default
3200
Numbersuggested
Planeplane

no description

Default
0
Numberoptional
Map IDmapID

no description

Default
-1
Numberoptional
Widthwidth

Map frame width

Default
300
Numberoptional
Heightheight

Map frame height

Default
300
Numberoptional
Zoom levelzoom

no description

Numberoptional
Alignalign

Map frame alignment

Default
center
Stringoptional
Link targetlink

The target link for the map page

Default
(Map page name)
Example
Varrock
Stringoptional
Link textlinktext

Link text, if the text is not the same as the default link target.

Example
Varrock music
Stringoptional
List of songssongs

Comma-separated list of music track pages.

Example
Harmony, Flute salad
Stringrequired
List of music track filesfiles

CSV list of the file pages for the songs, including File: and .ogg extension

Example
File:Harmony.ogg, File:Flute Salad.ogg
Stringrequired
Is members only?members

'No' if free-to-play, 'Yes' if Members-only

Default
yes
Example
no
Booleanrequired