Difference between revisions of "Template:LilyPondTune"
Jump to navigation
Jump to search
| (23 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
[[File:{{{filename}}}.pdf|thumb|200px|“[[{{PAGENAME}}|{{{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]]).]] | [[File:{{{filename}}}.pdf|thumb|200px|“[[{{PAGENAME}}|{{{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]]).]] | ||
| + | |||
[[{{PAGENAME}}|“{{{title}}}”]] | [[{{PAGENAME}}|“{{{title}}}”]] | ||
is | is | ||
| − | {{ | + | {{#if: {{{origin|}}} |
| − | #switch: {{#sub:{{{origin}}}|0|1}} | + | | {{#switch: {{#sub:{{{origin}}}|0|1}} |
| − | | a=an | A=an | + | | a=an | A=an |
| − | | e=an | E=an | + | | e=an | E=an |
| − | | i=an | I=an | + | | i=an | I=an |
| − | | o=an | O=an | + | | o=an | O=an |
| − | | u=an | U=an | + | | u=an | U=an |
| − | | a | + | | a |
| + | }} {{{origin}}} | ||
| + | | {{#if: {{{subtype|}}} | ||
| + | | {{#switch: {{#sub:{{{subtype}}}|0|1}} | ||
| + | | a=an | A=an | ||
| + | | e=an | E=an | ||
| + | | i=an | I=an | ||
| + | | o=an | O=an | ||
| + | | u=an | U=an | ||
| + | | 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 | ||
| + | }} | ||
| + | }} | ||
}} | }} | ||
| − | {{{ | + | {{#if: {{{subtype|}}} | {{{subtype}}} | {{{tunetype}}}}}{{#if: {{{key|}}}| in {{{key}}}}}{{#if: {{{composer|}}}| by {{{composer}}}}}. |
| − | {{{tunetype}}} | + | |
| − | in | ||
| − | {{{key}}}{{#if: {{{composer|}}}| by {{{composer}}}}}. | ||
{{#if: {{{altname|}}}| | {{#if: {{{altname|}}}| | ||
== Alternate names == | == Alternate names == | ||
| Line 38: | Line 56: | ||
{{#if: {{{altname20|}}}|* {{{altname20}}}}} | {{#if: {{{altname20|}}}|* {{{altname20}}}}} | ||
}} | }} | ||
| − | + | ||
| − | {{ | + | {{ |
| − | {{#if: {{{wikipedia|}}}| | + | ExternalLinks |
| − | {{#if: {{{digitrad|}}}| | + | | title={{{title}}} |
| − | {{#if: {{{ | + | | thesession={{#if: {{{thesession|}}}|{{{thesession}}}}} |
| + | | wikipedia={{#if: {{{wikipedia|}}}|{{{wikipedia}}}}} | ||
| + | | digitrad={{#if: {{{digitrad|}}}|{{{digitrad}}}}} | ||
| + | | mudcat={{#if: {{{mudcat|}}}|{{{mudcat}}}}} | ||
| + | | musicbrainz={{#if: {{{musicbrainz|}}}|{{{musicbrainz}}}}} | ||
| + | }} | ||
{{#if: {{{titlesort|}}} | {{#if: {{{titlesort|}}} | ||
| − | | [[Category:{{{origin}}} {{{tunetype}}}s|{{{titlesort}}}]][[Category:Tunes in {{{key}}}|{{{titlesort}}}]] | + | | {{#if: {{{subtype|}}} |
| − | | [[Category:{{{origin}}} {{{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 58: | Line 90: | ||
| origin=imaginary | | origin=imaginary | ||
| tunetype=jeel | | tunetype=jeel | ||
| + | | subtype=superfast jeel | ||
| key=A mixolydian | | key=A mixolydian | ||
| + | | composer=Some Guy | ||
| filename=sample_tune | | filename=sample_tune | ||
| + | | altname=The Simple Tune | ||
| + | | altname2=Sampletown | ||
| thesession=123 | | thesession=123 | ||
| wikipedia=The_Sample_Tune | | wikipedia=The_Sample_Tune | ||
| digitrad=54322 | | digitrad=54322 | ||
| mudcat=6411 | | mudcat=6411 | ||
| + | | musicbrainz=52d24891-c4ca-47d1-af68-a178c3bc603a | ||
}} | }} | ||
</pre> | </pre> | ||
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
}}