BandcampLazyloader

BandcampLazyloader inserts play buttons into the page that when clicked load Bandcamp widgets. It is mostly useful for wikis with large lists of soundtracks available for listening, where scripts such as BandcampPlayer would place a huge load on the client by loading tens or hundreds of Bandcamp widgets at once.
== ==
== ==
To get your first Bandcamp lazyloaded widget embedded into your wiki page, do the following after the installation instructions above:
# Copy over the contents of Template:BandcampLazyloader onto the same template on your wiki.
# Open the track on Bandcamp which you want to embed, for example https://tobyfox.bandcamp.com/track/the-world-revolving, then click on the Share/Embed link and then "Embed this track".
# Customize the widget the way you want, then select the option for embedding on wordpress.com, which will look something like [bandcamp width=100% height=120 album=4122870521 size=large bgcol=181a1b linkcol=056cc4 tracklist=false artwork=small track=3560257017].
# Replace the BBCode you copied with wikitext syntax, for the above example:
{{BandcampLazyloader|album=4122870521|size=large|bgcol=181a1b|linkcol=056cc4|tracklist=false|artwork=small|track=3560257017}}
and put it on a page.
# You should get a widget looking like this:
Congratulations! You can now repeat this process for each new Bandcamp widget you want lazily embedded into your pages. You can also look at the template documentation for an explanation of all the parameters available.
== ==
* BandcampPlayer