Jump to content

Template:Composition: Difference between revisions

From Benvenuti Music Library
No edit summary
No edit summary
 
(91 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<div class="composition-entry">


{{#if:{{{Image|}}}|[[File:{{{Image}}}]]}}
<!-- Optional Image -->
{{#if:{{{Image|}}}|[[File:{{{Image}}}|left|450px]]}}


== {{PAGENAME}} ==
{| class="wikitable" style="margin-left: 0 px; margin-right: auto;"
|-
| '''Title''' || {{PAGENAME}}  
|-
| '''Subtitle''' || {{#if:{{{Subtitle|}}}|''{{{Subtitle}}}''}}
|-
| '''Dedication''' || {{#if:{{{Dedication|}}}|{{{Dedication}}} }}
|-
| '''Composer''' || {{#arraymap:{{{Composer}}}|;|@@|[[@@]]|;&#32;}}
|-
| '''Arranger''' || {{#if:{{{Arranger|}}}|{{#arraymap:{{{Arranger}}}|;|@@|[[@@]]|;&#32;}} }}
|-
| '''Date''' || {{{Date}}}
|-
| '''Style''' || {{#arraymap:{{{Style}}}|;|@@|[[:Category:Style:@@|@@]]|,&#32;}}
|-
| '''Instrumentation''' || {{{Instrumentation}}}
|-
| '''Score/Parts''' || [[Media:{{{PDF}}}|Download]]
|-
| '''Audio''' || {{#if:{{{Audio|}}}|[[File:{{{Audio}}}|Listen to Audio]]}}
|-
| '''Notes''' || {{{Notes}}}
|}


{{#if:{{{Subtitle|}}}|<div><b>Subtitle:</b> ''{{{Subtitle}}}''</div>}}
<!-- Categorisation -->
{{#if:{{{Composer|}}}|<div><b>Composer{{#if:{{#explode:{{{Composer}}}|;|2}}|s}}:</b> {{#arraymap:{{{Composer}}}|;|x|[[x]]}}</div>}}
[[Category:Composition]]
{{#if:{{{Arranger|}}}|<div><b>Arranger{{#if:{{#explode:{{{Arranger}}}|;|2}}|s}}:</b> {{#arraymap:{{{Arranger}}}|;|x|[[x]]}}</div>}}
{{#arraymap:{{{Style|}}}|;|@@|[[Category:Style:@@]]}}
{{#if:{{{Dedication|}}}|<div><b>Dedication:</b> {{{Dedication}}}</div>}}
[[Category:Compositions from {{{Date|Unknown}}}]]
{{#if:{{{Date|}}}|<div><b>Date:</b> {{{Date}}}</div>}}
{{#if:{{{Style|}}}|<div><b>Style:</b> {{{Style}}}</div>}}
{{#if:{{{PDF|}}}|<div><b>Sheet Music (PDF):</b> [[Media:{{{PDF}}}|Download]]</div>}}
{{#if:{{{Audio|}}}|<div><b>Audio Recording:</b> [[File:{{{Audio}}}|Listen]]</div>}}
{{#if:{{{Notes|}}}|<div><b>Notes:</b><br />{{{Notes}}}</div>}}
</div>
</includeonly>


<noinclude>
</includeonly><noinclude>
Usage:
This template displays and categorises a composition for the Benvenuti Music Library.


=== Required fields ===
* Title (from page name)
* Composer (semicolon-separated list)
=== Optional fields ===
* Subtitle
* Dedication
* Arranger (semicolon-separated list)
* Date
* Style (semicolon-separated list)
* Instrumentation
* PDF (filename only)
* Audio (filename only)
* Image (filename only)
* Notes (optional free text, supports wikitext formatting)
=== Usage ===
<pre>
<pre>
{{Composition
{{Composition
|Subtitle=Optional Subtitle
| Subtitle = A lively military march
|Composer=Sousa, John Philip;Allen, Thomas S.
| Dedication = the brave men of the 3rd Queensland Infantry
|Arranger=Smith, John
| Composer = Gilbert, L. Wolfe, Muir, Lewis F.
|Dedication=Dedicated to my Dad
| Arranger = Schulz, William
|Date=1914
| Date = 1916
|Style=March
| Style = March, Humoresque
|PDF=example_score.pdf
| Instrumentation = Wind Band
|Audio=example_audio.mp3
| PDF = BehindTheHounds.pdf
|Notes=Some optional historical notes here.
| Audio = BehindTheHounds.mp3
| Image = BehindTheHoundsCover.jpg
| Notes = This march was originally composed for a circus band and features a distinctive 6/8 lilt.
}}
}}
</pre>
</pre>
Separate multiple composers/arrangers using a **semicolon (;)**
</noinclude>
</noinclude>

Latest revision as of 08:10, 28 July 2025

This template displays and categorises a composition for the Benvenuti Music Library.

Required fields

  • Title (from page name)
  • Composer (semicolon-separated list)

Optional fields

  • Subtitle
  • Dedication
  • Arranger (semicolon-separated list)
  • Date
  • Style (semicolon-separated list)
  • Instrumentation
  • PDF (filename only)
  • Audio (filename only)
  • Image (filename only)
  • Notes (optional free text, supports wikitext formatting)

Usage

{{Composition
| Subtitle = A lively military march
| Dedication = the brave men of the 3rd Queensland Infantry
| Composer = Gilbert, L. Wolfe, Muir, Lewis F.
| Arranger = Schulz, William
| Date = 1916
| Style = March, Humoresque
| Instrumentation = Wind Band
| PDF = BehindTheHounds.pdf
| Audio = BehindTheHounds.mp3
| Image = BehindTheHoundsCover.jpg
| Notes = This march was originally composed for a circus band and features a distinctive 6/8 lilt.
}}