Jump to content

Template:Composition: Difference between revisions

From Benvenuti Music Library
No edit summary
Tag: Reverted
No edit summary
 
(106 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#cargo_store: _table=Compositions
<includeonly>
| Title       = {{{Title}}}
 
| Subtitle    = {{{Subtitle|}}}
<!-- Optional Image -->
| Composer   = {{{Composer}}}
{{#if:{{{Image|}}}|[[File:{{{Image}}}|left|450px]]}}
| Arranger   = {{{Arranger|}}}
 
| Dedication  = {{{Dedication|}}}
{| class="wikitable" style="margin-left: 0 px; margin-right: auto;"
| Date       = {{{Date|}}}
|-
| Notes      = {{{Notes|}}}
| '''Title''' || {{PAGENAME}}
| Style      = {{{Style|}}}
|-
| PDF        = {{{PDF|}}}
| '''Subtitle''' || {{#if:{{{Subtitle|}}}|''{{{Subtitle}}}''}}  
| Audio       = {{{Audio|}}}
|-
| YouTube    = {{{YouTube|}}}
| '''Dedication''' || {{#if:{{{Dedication|}}}|{{{Dedication}}} }}
| Image      = {{{Image|}}}
|-
| featured    = Boolean
| '''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:{{{Image|}}}|[[File:{{{Image}}}]]<br/>}}
<!-- Categorisation -->
[[Category:Composition]]
{{#arraymap:{{{Style|}}}|;|@@|[[Category:Style:@@]]}}
[[Category:Compositions from {{{Date|Unknown}}}]]


== {{{Title}}} ==
</includeonly><noinclude>
{{#if:{{{Subtitle|}}}|''{{{Subtitle}}}''}}
This template displays and categorises a composition for the Benvenuti Music Library.


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


== Files and Media ==
=== Optional fields ===
{{#if:{{{PDF|}}}|'''PDF:''' [[Media:{{{PDF}}}|Download score]]<br/>}}
* Subtitle
{{#if:{{{Audio|}}}|'''Audio:''' [[File:{{{Audio}}}|Listen to MP3]]<br/>}}
* Dedication
{{#if:{{{YouTube|}}}|'''YouTube:''' [{{{YouTube}}} Watch on YouTube]<br/>}}
* 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)


[[Category:Compositions]]
=== Usage ===
[[Category:Composer:{{{Composer}}}]]
<pre>
{{#if:{{{Arranger|}}}|[[Category:Arranger:{{{Arranger}}}]]}}
{{Composition
{{#if:{{{Style|}}}|[[Category:Style:{{{Style}}}]]}}
| 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.
}}
</pre>
</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.
}}