Jump to content

Template:Composition: Difference between revisions

From Benvenuti Music Library
Created page with "<includeonly> <div class="composition-box"> <h2>{{{Title}}}</h2> <noinclude>{{#if:{{{Subtitle|}}}|<h3><i>{{{Subtitle}}}</i></h3>}}</noinclude> '''Composer:''' [[Composer:{{{Composer}}}]]<br/> {{#if:{{{Arranger|}}}|'''Arranger:''' [[Arranger:{{{Arranger}}}]]<br/>}} {{#if:{{{Dedication|}}}|'''Dedication:''' {{{Dedication}}}<br/>}} {{#if:{{{Date|}}}|'''Date of Composition:''' {{{Date}}}<br/>}} {{#if:{{{Style|}}}|'''Style:''' [[Category:Style:{{{Style}}}|{{{Style}}}]]<br/>}..."
 
No edit summary
 
(140 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<div class="composition-box">
<h2>{{{Title}}}</h2>
<noinclude>{{#if:{{{Subtitle|}}}|<h3><i>{{{Subtitle}}}</i></h3>}}</noinclude>


'''Composer:''' [[Composer:{{{Composer}}}]]<br/>
<!-- Optional Image -->
{{#if:{{{Arranger|}}}|'''Arranger:''' [[Arranger:{{{Arranger}}}]]<br/>}}
{{#if:{{{Image|}}}|[[File:{{{Image}}}|left|450px]]}}
{{#if:{{{Dedication|}}}|'''Dedication:''' {{{Dedication}}}<br/>}}
{{#if:{{{Date|}}}|'''Date of Composition:''' {{{Date}}}<br/>}}
{{#if:{{{Style|}}}|'''Style:''' [[Category:Style:{{{Style}}}|{{{Style}}}]]<br/>}}
{{#if:{{{Notes|}}}|'''Notes:''' {{{Notes}}}<br/><br/>}}


== Files and Media ==
{| class="wikitable" style="margin-left: 0 px; margin-right: auto;"
{{#if:{{{PDF|}}}|'''PDF:''' [[Media:{{{PDF}}}|Download score]]<br/>}}
|-
{{#if:{{{Audio|}}}|'''Audio:''' [[Media:{{{Audio}}}|Listen to MP3]]<br/>}}
| '''Title''' || {{PAGENAME}}
{{#if:{{{YouTube|}}}|'''YouTube:''' [{{{YouTube}}} Watch on YouTube]<br/>}}
|-
| '''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}}}
|}


[[Category:Compositions]]
<!-- Categorisation -->
[[Category:Composer:{{{Composer}}}]]
[[Category:Composition]]
{{#if:{{{Arranger|}}}|[[Category:Arranger:{{{Arranger}}}]]}}
{{#arraymap:{{{Style|}}}|;|@@|[[Category:Style:@@]]}}
</div>
[[Category:Compositions from {{{Date|Unknown}}}]]
</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
| Title      = Title of the Work
| Subtitle = A lively military march
| Subtitle    = Optional subtitle
| Dedication = the brave men of the 3rd Queensland Infantry
| Composer   = Lastname, Firstname
| Composer = Gilbert, L. Wolfe, Muir, Lewis F.
| Arranger   = Optional arranger name
| Arranger = Schulz, William
| Dedication  = Optional dedication
| Date = 1916
| Date       = 1889
| Style = March, Humoresque
| Notes      = Some interesting background on the piece.
| Instrumentation = Wind Band
| Style      = March
| PDF = BehindTheHounds.pdf
| PDF         = ExampleMarch.pdf
| Audio = BehindTheHounds.mp3
| Audio       = ExampleMarch.mp3
| Image = BehindTheHoundsCover.jpg
| YouTube    = https://youtu.be/abcd1234
| 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.
}}