Template:Music track map
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Polygon array | 1 | no description | String | required |
Center X | x | no description
| Number | suggested |
Center Y | y | no description
| Number | suggested |
Plane | plane | no description
| Number | optional |
Map ID | mapID | no description
| Number | optional |
Width | width | Map frame width
| Number | optional |
Height | height | Map frame height
| Number | optional |
Zoom level | zoom | no description | Number | optional |
Align | align | Map frame alignment
| String | optional |
Link target | link | The target link for the map page
| String | optional |
Link text | linktext | Link text, if the text is not the same as the default link target.
| String | optional |
List of songs | songs | Comma-separated list of music track pages.
| String | required |
List of music track files | files | CSV list of the file pages for the songs, including File: and .ogg extension
| String | required |
Is members only? | members | 'No' if free-to-play, 'Yes' if Members-only
| Boolean | required |