Composition

From Young Beethoven
Jump to navigation Jump to search
 
(41 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Composition:Composer (property=Composition:Composer)|Composition:Title (property=Composition:Name)|Composition:CatalogNr (property=Composition:CatalogNr)|Composition:Score (property=Composition:Score)}}
{{#template_params:Composition:Composer (property=Composition:Composer)|Composition:Title (property=Composition:Title)|Composition:Date (property=Composition:Date)|Composition:CatalogNr (property=Composition:CatalogNr)|Composition:Score (property=Composition:Score)|Composition:Description (property=Composition:Description)|Composition:SpotifyURL (property=Composition:SpotifyURL)|Composition:YouTubeURL (property=Composition:YouTubeURL)}}
</noinclude><includeonly>
</noinclude><includeonly>{{#set: Composition:Date={{{Composition:Date|}}} }}
<strong>{{{Composition:CatalogNr|}}}</strong>
<strong>{{{Composition:CatalogNr|}}}</strong>


{{{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|}}}
    | <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|}}}
    | <htmltag tagname="iframe" width="560" height="315" src="https://www.youtube.com/embed/{{#rmatch:{{{Composition:YouTubeURL|}}}|pattern=[^/]*$|then=$0}}" title="YouTube video player" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></htmltag>
}}
{{#if: {{{Composition:Score|}}}
    | <htmltag tagname="iframe" class="score" src="{{filepath:{{{Composition:Score|}}}}}"></htmltag>
}}


[[Category:Composition]]
[[Category:Composition]]
</includeonly>
</includeonly>

Latest revision as of 09:28, 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.