Composition
Jump to navigation
Jump to search
| Line 6: | Line 6: | ||
{{{Composition:Description|}}} | {{{Composition:Description|}}} | ||
<htmltag tagname="input" type="hidden" name="composer" value="{{{Composition:Composer|}}}"></htmltag> | <htmltag tagname="input" type="hidden" name="composer" value="{{{Composition:Composer|}}}"></htmltag> | ||
<htmltag tagname="input" type="hidden" name="title" value="{{{Composition:Title|}}}"></htmltag> | |||
{{#if: {{{Composition:SpotifyURL|}}} | {{#if: {{{Composition:SpotifyURL|}}} | ||
| <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> | | <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> | ||
Revision as of 09:24, 3 August 2023
This is the "Composition" template.
It should be called in the following format:
{{Composition
|Composition:Composer=
|Composition:Title=
|Composition:Date=
|Composition:CatalogNr=
|Composition:Score=
|Composition:Description=
|Composition:SpotifyURL=
|Composition:YouTubeURL=
}}
Edit the page to see the template text.