« Modèle:Bandcamp » : différence entre les versions

De Musique du Saguenay–Lac-Saint-Jean
Aller à la navigation Aller à la recherche
Bandcamp>Mr Pie 5
Aucun résumé des modifications
 
m (1 version importée)
 
(Aucune différence)

Version actuelle datée du 13 mai 2025 à 17:22

Template-info.svg Documentation The documentation below is transcluded from Modèle:Bandcamp/doc.

Used for embedding Bandcamp tracks. Requires an embed link for the track rather than a normal link. To prevent mixed content errors, links must use https. This template uses JavaScript found on Mediawiki:Bandcamp.js.

Usage

Parameter Data type Optional Default Description
link URL Embed link for a Bandcamp track. Must use https.
width CSS unit Yes 100% Width of the embedded player.
height CSS unit Yes 45px Height of the embedded player.
text Wikitext Yes [{{{link|}}} Listen on Bandcamp] Text to display if the embedded player has not loaded for some reason.

Example

{{Bandcamp|link=https://bandcamp.com/EmbeddedPlayer/album=408983280/size=small/bgcol=000/linkcol=0687f5/artwork=none/track=3630660485/transparent=true/}}
Produces: