Difference between revisions of "Template:LilyPondTune"
Jump to navigation
Jump to search
(6 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
| u=an | U=an | | u=an | U=an | ||
| a | | a | ||
− | + | }} {{{origin}}} | |
− | | {{#switch: {{#sub:{{{ | + | | {{#if: {{{subtype|}}} |
+ | | {{#switch: {{#sub:{{{subtype}}}|0|1}} | ||
| a=an | A=an | | a=an | A=an | ||
| e=an | E=an | | e=an | E=an | ||
Line 19: | Line 20: | ||
| u=an | U=an | | u=an | U=an | ||
| a | | a | ||
+ | }} | ||
+ | | {{#switch: {{#sub:{{{tunetype}}}|0|1}} | ||
+ | | a=an | A=an | ||
+ | | e=an | E=an | ||
+ | | i=an | I=an | ||
+ | | o=an | O=an | ||
+ | | u=an | U=an | ||
+ | | a | ||
+ | }} | ||
}} | }} | ||
}} | }} | ||
− | {{{tunetype}}}{{#if: {{{key|}}}| in {{{key}}}}}{{#if: {{{composer|}}}| by {{{composer}}}}}. | + | {{#if: {{{subtype|}}} | {{{subtype}}} | {{{tunetype}}}}}{{#if: {{{key|}}}| in {{{key}}}}}{{#if: {{{composer|}}}| by {{{composer}}}}}. |
{{#if: {{{altname|}}}| | {{#if: {{{altname|}}}| | ||
Line 58: | Line 68: | ||
{{#if: {{{titlesort|}}} | {{#if: {{{titlesort|}}} | ||
− | | [[Category:{{{origin}}} {{#switch:{{{tunetype}}}|waltz=waltzes|{{{tunetype}}}s}}|{{{titlesort}}}]] [[Category:Tunes in {{{key}}}|{{{titlesort}}}]] | + | | {{#if: {{{subtype|}}} |
− | | [[Category:{{{origin}}} {{#switch:{{{tunetype}}}|waltz=waltzes|{{{tunetype}}}s}}]] [[Category:Tunes in {{{key}}}]] | + | | [[Category:{{#if:{{{origin|}}}|{{{origin}}}}} {{#switch:{{{subtype}}}|waltz=waltzes|{{{subtype}}}s}}|{{{titlesort}}}]] |
+ | | [[Category:{{#if:{{{origin|}}}|{{{origin}}}}} {{#switch:{{{tunetype}}}|waltz=waltzes|{{{tunetype}}}s}}|{{{titlesort}}}]] | ||
+ | }} | ||
+ | {{#if:{{{key|}}}|[[Category:Tunes in {{{key}}}|{{{titlesort}}}]]}} | ||
+ | | {{#if: {{{subtype|}}} | ||
+ | | [[Category:{{#if:{{{origin|}}}|{{{origin}}}}} {{#switch:{{{subtype}}}|waltz=waltzes|{{{subtype}}}s}}]] | ||
+ | | [[Category:{{#if:{{{origin|}}}|{{{origin}}}}} {{#switch:{{{tunetype}}}|waltz=waltzes|{{{tunetype}}}s}}]] | ||
+ | }} | ||
+ | {{#if:{{{key|}}}|[[Category:Tunes in {{{key}}}]]}} | ||
}} | }} | ||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
− | For tunes | + | For tunes or songs that have [[LilyPond]] source files. |
<pre> | <pre> | ||
{{ | {{ | ||
Line 72: | Line 90: | ||
| origin=imaginary | | origin=imaginary | ||
| tunetype=jeel | | tunetype=jeel | ||
+ | | subtype=superfast jeel | ||
| key=A mixolydian | | key=A mixolydian | ||
| composer=Some Guy | | composer=Some Guy |
Latest revision as of 13:12, 16 September 2023
[[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 {{{tunetype}}}.
External links
[[Category: {{{tunetype}}}s]]
Usage
For tunes or songs that have LilyPond source files.
{{ LilyPondTune | title=The Sample Tune | titlesort=Sample Tune, The | origin=imaginary | tunetype=jeel | subtype=superfast 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 | musicbrainz=52d24891-c4ca-47d1-af68-a178c3bc603a }}