Composition
Jump to navigation
Jump to search
| Line 8: | Line 8: | ||
<htmltag tagname="input" type="hidden" name="composer" value="{{{Composition:Composer|}}}"></htmltag> | <htmltag tagname="input" type="hidden" name="composer" value="{{{Composition:Composer|}}}"></htmltag> | ||
{{#if: {{{Composition:SpotifyURL|}}} | {{#if: {{{Composition:SpotifyURL|}}} | ||
| <htmltag tagname="iframe" class="spotify" src="{{{Composition:SpotifyURL|}}}?utm_source=generator&theme=0" width="100%" height="380" frameBorder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture"></htmltag> | | <htmltag tagname="iframe" class="spotify" src="https://open.spotify.com/embed/{{#rmatch:{{{Composition:SpotifyURL|}}}|pattern=album|then=album|else=playlist}}/{{#rmatch:{{{Composition:SpotifyURL|}}}|pattern=[^/]*$|then=$0}}?utm_source=generator&theme=0" width="100%" height="380" frameBorder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture"></htmltag> | ||
}} | }} | ||
{{#if: {{{Composition:YouTubeURL|}}} | {{#if: {{{Composition:YouTubeURL|}}} | ||
Revision as of 10:02, 22 June 2022
This is the "Composition" template.
It should be called in the following format:
{{Composition
|Composition:Composer=
|Composition:Title=
|Composition:CatalogNr=
|Composition:Score=
|Composition:Description=
|Composition:SpotifyURL=
|Composition:YouTubeURL=
}}
Edit the page to see the template text.