Difference between revisions of "Template:LilyPondTune"

From music @ maden.org
Jump to navigation Jump to search
Line 46: Line 46:
 
| mudcat={{#if: {{{mudcat|}}}|{{{mudcat}}}}}
 
| mudcat={{#if: {{{mudcat|}}}|{{{mudcat}}}}}
 
}}
 
}}
{{CategorySort|category={{{origin}}} {{Plural|{{{tunetype}}}}}|categorysort={{{titlesort}}}}}
+
{{CategorySort|category={{{origin}}} {{Plural|{{{tunetype}}}}}|categorysort={{#if: {{{titlesort|}}}|{{{titlesort}}}}}}}
{{CategorySort|category=Tunes in {{{key}}}|categorysort={{{titlesort}}}}}
+
{{CategorySort|category=Tunes in {{{key}}}|categorysort={{#if: {{{titlesort|}}}|{{{titlesort}}}}}}}}}}
 
<noinclude>
 
<noinclude>
 
== Usage ==
 
== Usage ==

Revision as of 20:55, 13 December 2014

[[File:{{{filename}}}.pdf|thumb|200px|“{{{title}}}.” Download [[Media:{{{filename}}}.pdf|the PDF]], [[Media:{{{filename}}}.midi|a MIDI rendering]], or [[Media:{{{filename}}}_tune.ly|the LilyPond source]] and [[Media:{{{filename}}}.ly|its wrapper file]] (and see also tunes from LilyPond).]] “{{{title}}}” is a {{{origin}}} {{{tunetype}}} in {{{key}}}.

External links

Template:CategorySort Template:CategorySort}}}

Usage

For tunes (but not songs!) that have LilyPond source files.

{{
LilyPondTune
| title=The Sample Tune
| titlesort=Sample Tune, The
| origin=imaginary
| tunetype=jeel
| key=A mixolydian
| composer=Some Guy
| filename=sample_tune
| altname=The Simple Tune
| altname2=Sampletown
| thesession=123
| wikipedia=The_Sample_Tune
| digitrad=54322
| mudcat=6411
}}