Template:Composition: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
== {{PAGENAME}} == | == {{PAGENAME}} == | ||
{{#if:{{{Subtitle|}}}|<div><b>Subtitle:</b> ''{{{Subtitle}}}''</div>}} | |||
{{#if:{{{Composer|}}}|<div><b>Composer{{#if:{{#explode:{{{Composer}}}|;|2}}|s}}:</b> {{#arraymap:{{{Composer}}}|;|x|[[x]]}}</div>}} | {{#if:{{{Composer|}}}|<div><b>Composer{{#if:{{#explode:{{{Composer}}}|;|2}}|s}}:</b> {{#arraymap:{{{Composer}}}|;|x|[[x]]}}</div>}} | ||
{{#if:{{{Arranger|}}}|<div><b>Arranger{{#if:{{#explode:{{{Arranger}}}|;|2}}|s}}:</b> {{#arraymap:{{{Arranger}}}|;|x|[[x]]}}</div>}} | {{#if:{{{Arranger|}}}|<div><b>Arranger{{#if:{{#explode:{{{Arranger}}}|;|2}}|s}}:</b> {{#arraymap:{{{Arranger}}}|;|x|[[x]]}}</div>}} | ||
{{#if:{{{Dedication|}}}|<div><b>Dedication:</b> {{{Dedication}}}</div>}} | |||
{{#if:{{{ | |||
{{#if:{{{Date|}}}|<div><b>Date:</b> {{{Date}}}</div>}} | {{#if:{{{Date|}}}|<div><b>Date:</b> {{{Date}}}</div>}} | ||
{{#if:{{{Style|}}}|<div><b>Style:</b> {{{Style}}}</div>}} | {{#if:{{{Style|}}}|<div><b>Style:</b> {{{Style}}}</div>}} | ||
{{#if:{{{PDF|}}}|<div><b>Sheet Music (PDF):</b> [{{{PDF}}} Download]</div>}} | {{#if:{{{PDF|}}}|<div><b>Sheet Music (PDF):</b> [{{{PDF}}} Download]</div>}} | ||
{{#if:{{{Audio|}}}|<div><b>Audio Recording:</b> [[Media:{{{Audio}}}|Listen]]</div>}} | {{#if:{{{Audio|}}}|<div><b>Audio Recording:</b> [[Media:{{{Audio}}}|Listen]]</div>}} | ||
{{#if:{{{Notes|}}}|<div><b>Notes:</b><br />{{{Notes}}}</div>}} | {{#if:{{{Notes|}}}|<div><b>Notes:</b><br />{{{Notes}}}</div>}} | ||
</div> | </div> | ||
</includeonly> | </includeonly> | ||
Line 26: | Line 21: | ||
<pre> | <pre> | ||
{{Composition | {{Composition | ||
|Subtitle=Optional Subtitle | |||
|Composer=Sousa, John Philip;Allen, Thomas S. | |Composer=Sousa, John Philip;Allen, Thomas S. | ||
|Arranger=Smith, John | |Arranger=Smith, John | ||
| | |Dedication=Dedicated to my Dad | ||
|Date=1914 | |Date=1914 | ||
|Style=March | |Style=March | ||
|PDF=example_score.pdf | |PDF=example_score.pdf | ||
|Audio=example_audio.mp3 | |Audio=example_audio.mp3 |
Revision as of 04:24, 23 July 2025
Usage:
{{Composition |Subtitle=Optional Subtitle |Composer=Sousa, John Philip;Allen, Thomas S. |Arranger=Smith, John |Dedication=Dedicated to my Dad |Date=1914 |Style=March |PDF=example_score.pdf |Audio=example_audio.mp3 |Notes=Some optional historical notes here. }}
Separate multiple composers/arrangers using a **semicolon (;)**