FANDOM

2,054,171 Pages

Usage

{{Bandcamp|<<Bandcamp Artist-ID>>|<<link text>>|<<Bandcamp Album/Track-ID>>}}

Where the Artist-ID is in red and the Album/Track-ID is in blue:

for artists 
https://alllevelsatonce.bandcamp.com/{{bandcamp|alllevelsatonce}}
for albums 
https://alllevelsatonce.bandcamp.com/album/tessellate{{bandcamp|alllevelsatonce||album/tessellate}}
for songs 
https://alllevelsatonce.bandcamp.com/track/lament{{bandcamp|alllevelsatonce||track/lament}}

The second parameter is optional. If omitted, link text defaults to artist name, album or song title, depending on page type.

Embedding

Bc embed

The embedded Bandcamp player uses a numerical ID instead of the text IDs as shown above. If the numerical ID is added as a fourth parameter to this template, the embedded player will be displayed for users who have enabled it in their preferences.

Note: This only works on song pages. The embedded player will be displayed in the upper right of the lyric box, below the song badges and embedded youtube video (if present).

Getting the ID

On the song's Bandcamp page, click on "Share / Embed", then on "Embed this track", select any of the available styles, and look for the .../track=123456789/... part in the embed code. Use only the numerical ID:

{{bandcamp|alllevelsatonce||track/lament|123456789}}

Embedding is not always available (example), in those cases the fourth parameter may be set to any non-numerical value (e.g. "-") to mark it as "not available" rather than "unknown":

{{bandcamp|monstermagnetofficial||track/i-live-behind-the-clouds|-}}

Enabling the embedded player

Go to your script preferences (accessible through the bottom menu, or via this link).

Script pref

Check "Audio Player" in the "Other" section. Click on the gear icon Icon-gear-black and make sure "Load the Bandcamp player" is checked, then save. You may have to bypass your browser's cache to see the changes.

Categories

Variables

  • None.
Community content is available under Copyright unless otherwise noted.