Composition

From Young Beethoven
Jump to navigation Jump to search
Line 10: Line 10:
     | <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="{{{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>
}}
}}
{{#rmatch:{{{Composition:YouTubeURL|}}}|[^/]*$|then=$#}}
{{#rmatch:{{{Composition:YouTubeURL|}}}|[^/]*$|then={{{$#}}}}}
{{#if: {{{Composition:YouTubeURL|}}}
{{#if: {{{Composition:YouTubeURL|}}}
<iframe width="560" height="315" src="https://www.youtube.com/embed/{{#rmatch:{{{Composition:YouTubeURL|}}}|[^/]*$|$#}}" title="YouTube video player" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/{{#rmatch:{{{Composition:YouTubeURL|}}}|[^/]*$|$#}}" title="YouTube video player" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Revision as of 09:41, 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.