Jump to content

Template:Composition: Difference between revisions

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


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


{{#if:{{{Image|}}}|[[File:{{{Image}}}]]<br/>}}
{| 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}}}
|}


'''Composer{{#if:{{#explode:{{{Composer|}}}|,|2}}|s}}:'''
<!-- Categorisation -->
{{#arraymap:{{{Composer|}}}|;|x|[[x]]}}<br />
[[Category:Composition]]
{{#arraymap:{{{Style|}}}|;|@@|[[Category:Style:@@]]}}
[[Category:Compositions from {{{Date|Unknown}}}]]


{{#if:{{{Arranger|}}}|'''Arranger{{#if:{{#explode:{{{Arranger}}}|,|2}}|s}}:'''
</includeonly><noinclude>
{{#arraymap:{{{Arranger}}}|;|x|[[x]]}}<br />}}
This template displays and categorises a composition for the Benvenuti Music Library.


{{#if:{{{Subtitle|}}}|'''Subtitle:''' ''{{{Subtitle}}}''<br />}}
=== Required fields ===
{{#if:{{{Dedication|}}}|'''Dedication:''' {{{Dedication}}}<br/>}}
* Title (from page name)
{{#if:{{{Date|}}}|'''Date:''' {{{Date}}}<br />}}
* Composer (semicolon-separated list)
{{#if:{{{Style|}}}|'''Style:''' {{{Style}}}<br />}}


{{#if:{{{Instrumentation|}}}|'''Instrumentation:''' {{{Instrumentation}}}<br />}}
=== Optional fields ===
 
* Subtitle
{{#if:{{{PDF|}}}|'''Sheet Music (PDF):''' [{{{PDF}}} Download]<br />}}
* Dedication
{{#if:{{{Audio|}}}|'''Audio Recording:''' [[File:{{{Audio}}}|Listen]]<br />}}
* Arranger (semicolon-separated list)
{{#if:{{{YouTube|}}}|'''YouTube:''' [{{{YouTube}}} Watch on YouTube]<br/>}}
* Date
 
* Style (semicolon-separated list)
{{#if:{{{Notes|}}}|'''Notes:'''<br />{{{Notes}}}<br />}}
* Instrumentation
 
* PDF (filename only)
</div>
* Audio (filename only)
</includeonly>
* Image (filename only)
<noinclude>
* Notes (optional free text, supports wikitext formatting)
 
Usage:


=== Usage ===
<pre>
<pre>
{{Composition
{{Composition
|Composer=Allen, Thomas S.;Sousa, John Philip
| Subtitle = A lively military march
|Arranger=Smith, John;Brown, Jane
| Dedication = the brave men of the 3rd Queensland Infantry
|Subtitle=Optional Subtitle
| Composer = Gilbert, L. Wolfe, Muir, Lewis F.
|Dedication=Optional Dedication
| Arranger = Schulz, William
|Date=1904
| Date = 1916
|Style=March
| Style = March, Humoresque
|Instrumentation=Flute, Clarinet, Cornet, Trombone, Percussion, Strings
| Instrumentation = Wind Band
|PDF=Example_File.pdf
| PDF = BehindTheHounds.pdf
|Audio=Example_Audio.mp3
| Audio = BehindTheHounds.mp3
|Notes=Optional additional info here.
| Image = BehindTheHoundsCover.jpg
| Notes = This march was originally composed for a circus band and features a distinctive 6/8 lilt.
}}
}}
</pre>
</pre>
</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.
}}