Jump to content

Template:Composition: Difference between revisions

From Benvenuti Music Library
No edit summary
No edit summary
Line 4: Line 4:
== {{PAGENAME}} ==
== {{PAGENAME}} ==


{{#if:{{{Image|}}}|[[File:{{{Image}}}]]<br/>}}
{{#if:{{{Composer|}}}|<div><b>Composer{{#if:{{#explode:{{{Composer}}}|;|2}}|s}}:</b> {{#arraymap:{{{Composer}}}|;|x|[[x]]}}</div>}}


'''Composer{{#if:{{#explode:{{{Composer|}}}|,|2}}|s}}:'''
{{#if:{{{Arranger|}}}|<div><b>Arranger{{#if:{{#explode:{{{Arranger}}}|;|2}}|s}}:</b> {{#arraymap:{{{Arranger}}}|;|x|[[x]]}}</div>}}
{{#arraymap:{{{Composer|}}}|;|x|[[x]]}}<br />


{{#if:{{{Arranger|}}}|'''Arranger{{#if:{{#explode:{{{Arranger}}}|,|2}}|s}}:'''
{{#if:{{{Subtitle|}}}|<div><b>Subtitle:</b> ''{{{Subtitle}}}''</div>}}
{{#arraymap:{{{Arranger}}}|;|x|[[x]]}}<br />}}
{{#if:{{{Date|}}}|<div><b>Date:</b> {{{Date}}}</div>}}
{{#if:{{{Style|}}}|<div><b>Style:</b> {{{Style}}}</div>}}
{{#if:{{{Instrumentation|}}}|<div><b>Instrumentation:</b> {{{Instrumentation}}}</div>}}


{{#if:{{{Subtitle|}}}|'''Subtitle:''' ''{{{Subtitle}}}''<br />}}
{{#if:{{{PDF|}}}|<div><b>Sheet Music (PDF):</b> [{{{PDF}}} Download]</div>}}
{{#if:{{{Dedication|}}}|'''Dedication:''' {{{Dedication}}}<br/>}}
{{#if:{{{Audio|}}}|<div><b>Audio Recording:</b> [[Media:{{{Audio}}}|Listen]]</div>}}
{{#if:{{{Date|}}}|'''Date:''' {{{Date}}}<br />}}
{{#if:{{{Style|}}}|'''Style:''' {{{Style}}}<br />}}


{{#if:{{{Instrumentation|}}}|'''Instrumentation:''' {{{Instrumentation}}}<br />}}
{{#if:{{{Notes|}}}|<div><b>Notes:</b><br />{{{Notes}}}</div>}}
 
{{#if:{{{PDF|}}}|'''Sheet Music (PDF):''' [{{{PDF}}} Download]<br />}}
{{#if:{{{Audio|}}}|'''Audio Recording:''' [[File:{{{Audio}}}|Listen]]<br />}}
{{#if:{{{YouTube|}}}|'''YouTube:''' [{{{YouTube}}} Watch on YouTube]<br/>}}
 
{{#if:{{{Notes|}}}|'''Notes:'''<br />{{{Notes}}}<br />}}


</div>
</div>
</includeonly>
</includeonly>
<noinclude>
<noinclude>
Usage:
Usage:


<pre>
<pre>
{{Composition
{{Composition
|Composer=Allen, Thomas S.;Sousa, John Philip
|Composer=Sousa, John Philip;Allen, Thomas S.
|Arranger=Smith, John;Brown, Jane
|Arranger=Smith, John
|Subtitle=Optional Subtitle
|Subtitle=Optional Subtitle
|Dedication=Optional Dedication
|Date=1914
|Date=1904
|Style=March
|Style=March
|Instrumentation=Flute, Clarinet, Cornet, Trombone, Percussion, Strings
|Instrumentation=Flute, Clarinet, Cornet, Trombone, Percussion, Strings
|PDF=Example_File.pdf
|PDF=example_score.pdf
|Audio=Example_Audio.mp3
|Audio=example_audio.mp3
|Notes=Optional additional info here.
|Notes=Some optional historical notes here.
}}
}}
</pre>
</pre>
Separate multiple composers/arrangers using a **semicolon (;)**
</noinclude>
</noinclude>

Revision as of 04:03, 23 July 2025


Usage:

{{Composition
|Composer=Sousa, John Philip;Allen, Thomas S.
|Arranger=Smith, John
|Subtitle=Optional Subtitle
|Date=1914
|Style=March
|Instrumentation=Flute, Clarinet, Cornet, Trombone, Percussion, Strings
|PDF=example_score.pdf
|Audio=example_audio.mp3
|Notes=Some optional historical notes here.
}}

Separate multiple composers/arrangers using a **semicolon (;)**