Template:Infobox music/doc
This template is used on music pages as an infobox. If you are looking to update the leitmotifs field in this infobox, please visit the Leitmotifs page and update them there instead! If the infobox is throwing errors, check whether the page name is properly included in Module:Soundtrack/data.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Track title | title | Title of the track. Leave blank if same as page name.
| String | optional |
| Image | image | Image of an instance where this track is played
| File | suggested |
| Track number and album | number | Number of the track and in which album it plays. Albums have to be specified using their short names, which you can find in the "id" parameter of their respective album pages.
| Content | required |
| Time | time | The length of the track. | String | suggested |
| Author | author | Author of the track. | String | optional |
| Japanese name | jpname | Japanese version of the soundtrack title | String | suggested |
| Romaji | romaji | Romaji version of the Japanese track name. | String | suggested |
| Japanese translation | jptranslation | Translation of the Japanese track name to English. | Unknown | suggested |
| Filename | filename | The name of the song in the game files. | Content | suggested |
| Location(s) played | location | Instances in which the track is played. | Content | suggested |
| BPM | bpm | Tempo (beats per minute) of the track. | Content | suggested |
| Key | key | Key signature of the track. | Content | suggested |
| Time signature | timesig | Time signature of the track. | Content | suggested |
| Bandcamp track ID | bandcamp | ID of this track on Bandcamp, used for embedding the Bandcamp widget. You can find this value by visiting the track page on Bandcamp, selecting the "Share / Embed" button, generating an embed and looking into the generated HTML for the "track=" parameter. | Number | suggested |
| Spotify track ID | spotify | ID of the track on Spotify. You can find the track ID from the part after "/track/" in the track URL. For example, in https://open.spotify.com/track/1J03Vp93ybKIxfzYI4YJtL the track ID is 1J03Vp93ybKIxfzYI4YJtL.
| String | suggested |
| YouTube track ID | youtube | ID the track on YouTube and YouTube Music. You can find the track ID after the "v=" parameter in a YouTube URL. For example, the track ID in https://www.youtube.com/watch?v=0FCvzsVlXpQ is 0FCvzsVlXpQ.
| String | suggested |
| Apple Music track ID | apple | ID of the track on Apple Music. You can find the track ID as the only number in the track URL. For example, in https://music.apple.com/us/song/megalovania/1528217897, the track ID is 1528217897.
| Number | suggested |
| Deezer track ID | deezer | ID of the track on Deezer. You can find it by taking the part of the track URL after "/track/". For example, in https://www.deezer.com/us/track/413935242, the track ID is 413935242.
| Number | suggested |
| Tidal track ID | tidal | ID of the track on Tidal. You can find it by taking the part of the track URL after "/track/". For example, in tidal.com/album/79569863/track/79569877, the track ID is 79569877.
| Number | suggested |
| Qobuz track ID | qobuz | ID of the track on Qobuz. You can find it by taking the part of the track URL after "/track/". For example, in open.qobuz.com/track/80327502, the track ID is 80327502.
| Number | suggested |
{{Infobox music
|title = Heartache
|number =
* 12 (Demo OST)
* 14 (OST, Complete OST)
|image = Heartache soundtrack.png
|author = Toby Fox, Not Toby Fox
|time = 9:99
|jpname = 心の痛み
|filename = mus_something
|location = [[Hotland]]
|bpm = 999
|key = C minor
|timesig = 4/4
|bandcamp = 3892137683
|spotify = 6cQuiiADGJDs4H7SfIJdYF
|youtube = HQj78oXGrhw
|apple = 1528217897
|deezer = 413934712
|tidal = 79569877
|qobuz = 80327502
}}gives...
- Category:Music for usage examples
- Module:Soundtrack for the Lua module performing auto-categorization and displaying track navigation.
- MediaWiki:Infobox.css for the styles used in the template.