Template:Composition: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
== {{PAGENAME}} == | |||
{{#if:{{{Image|}}}|[[File:{{{Image}}}]]}} | <!-- Optional Image --> | ||
{{#if:{{{Image|}}}|[[File:{{{Image}}}|thumb|center]]}} | |||
== {{ | <!-- Subtitle --> | ||
{{#if:{{{Subtitle|}}}|''{{{Subtitle}}}''}} | |||
<!-- Contributors --> | |||
== Contributors == | |||
{{#if:{{{Composer|}}}|'''Composer(s):''' {{#arraymap:{{{Composer}}}|,|@@|[[@@]]|, }} }} | |||
{{#if:{{{Arranger|}}}|'''Arranger(s):''' {{#arraymap:{{{Arranger}}}|,|@@|[[@@]]|, }} }} | |||
<!-- Metadata --> | |||
== Details == | |||
{{#if:{{{Date|}}}|* '''Date:''' {{{Date}}} }} | |||
{{#if:{{{Style|}}}|* '''Style(s):''' {{#arraymap:{{{Style}}}|,|@@|[[Category:Style:@@]]@@|, }} }} | |||
{{#if:{{{Instrumentation|}}}|* '''Instrumentation:''' {{{Instrumentation}}} }} | |||
<!-- Files --> | |||
== Media == | |||
{{#if:{{{PDF|}}}|* [[:File:{{{PDF}}}|Download PDF Score]] }} | |||
{{#if:{{{Audio|}}}|* [[Media:{{{Audio}}}|Listen to Audio]] }} | |||
<!-- Categorisation --> | |||
[[Category:Compositions]] | |||
{{#arraymap:{{{Composer|}}}|,|@@|[[Category:Contributor:@@]]}} | |||
{{#arraymap:{{{Arranger|}}}|,|@@|[[Category:Contributor:@@]]}} | |||
{{#arraymap:{{{Style|}}}|,|@@|[[Category:Style:@@]]}} | |||
</includeonly><noinclude> | |||
This template displays and categorises a composition for the Benvenuti Music Library. | |||
=== Required fields === | |||
* Title (from page name) | |||
=== Optional fields === | |||
* Subtitle | |||
* Composer (comma-separated list) | |||
* Arranger (comma-separated list) | |||
* Date | |||
* Style (comma-separated list) | |||
* Instrumentation | |||
* PDF (filename only) | |||
* Audio (filename only) | |||
* Image (filename only) | |||
=== Usage === | |||
<pre> | <pre> | ||
{{ | {{Compositions | ||
|Subtitle= | | Subtitle = A lively military march | ||
|Composer= | | Composer = Gilbert, L. Wolfe, Muir, Lewis F. | ||
|Arranger= | | Arranger = Schulz, William | ||
| | | Date = 1916 | ||
| | | Style = March, Humoresque | ||
| | | Instrumentation = Wind Band | ||
|PDF= | | PDF = BehindTheHounds.pdf | ||
|Audio= | | Audio = BehindTheHounds.mp3 | ||
| | | Image = BehindTheHoundsCover.jpg | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> |
Revision as of 22:10, 23 July 2025
This template displays and categorises a composition for the Benvenuti Music Library.
Required fields
- Title (from page name)
Optional fields
- Subtitle
- Composer (comma-separated list)
- Arranger (comma-separated list)
- Date
- Style (comma-separated list)
- Instrumentation
- PDF (filename only)
- Audio (filename only)
- Image (filename only)
Usage
{{Compositions | Subtitle = A lively military march | 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 }}