Difference between revisions of "Template:LilyPondTune"
Jump to navigation
Jump to search
(The Session link) |
|||
(33 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 [[ | + | [[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}} | ||
+ | | a=an | A=an | ||
+ | | e=an | E=an | ||
+ | | i=an | I=an | ||
+ | | o=an | O=an | ||
+ | | u=an | U=an | ||
+ | | 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}}}}}. | ||
+ | |||
+ | {{#if: {{{altname|}}}| | ||
+ | == Alternate names == | ||
+ | * {{{altname}}} | ||
+ | {{#if: {{{altname2|}}}|* {{{altname2}}}}} | ||
+ | {{#if: {{{altname3|}}}|* {{{altname3}}}}} | ||
+ | {{#if: {{{altname4|}}}|* {{{altname4}}}}} | ||
+ | {{#if: {{{altname5|}}}|* {{{altname5}}}}} | ||
+ | {{#if: {{{altname6|}}}|* {{{altname6}}}}} | ||
+ | {{#if: {{{altname7|}}}|* {{{altname7}}}}} | ||
+ | {{#if: {{{altname8|}}}|* {{{altname8}}}}} | ||
+ | {{#if: {{{altname9|}}}|* {{{altname9}}}}} | ||
+ | {{#if: {{{altname10|}}}|* {{{altname10}}}}} | ||
+ | {{#if: {{{altname11|}}}|* {{{altname11}}}}} | ||
+ | {{#if: {{{altname12|}}}|* {{{altname12}}}}} | ||
+ | {{#if: {{{altname13|}}}|* {{{altname13}}}}} | ||
+ | {{#if: {{{altname14|}}}|* {{{altname14}}}}} | ||
+ | {{#if: {{{altname15|}}}|* {{{altname15}}}}} | ||
+ | {{#if: {{{altname16|}}}|* {{{altname16}}}}} | ||
+ | {{#if: {{{altname17|}}}|* {{{altname17}}}}} | ||
+ | {{#if: {{{altname18|}}}|* {{{altname18}}}}} | ||
+ | {{#if: {{{altname19|}}}|* {{{altname19}}}}} | ||
+ | {{#if: {{{altname20|}}}|* {{{altname20}}}}} | ||
+ | }} | ||
+ | |||
{{ | {{ | ||
− | # | + | ExternalLinks |
− | | | + | | title={{{title}}} |
− | | | + | | thesession={{#if: {{{thesession|}}}|{{{thesession}}}}} |
− | | | + | | wikipedia={{#if: {{{wikipedia|}}}|{{{wikipedia}}}}} |
− | | | + | | digitrad={{#if: {{{digitrad|}}}|{{{digitrad}}}}} |
− | | | + | | mudcat={{#if: {{{mudcat|}}}|{{{mudcat}}}}} |
− | | | + | | musicbrainz={{#if: {{{musicbrainz|}}}|{{{musicbrainz}}}}} |
+ | }} | ||
+ | |||
+ | {{#if: {{{titlesort|}}} | ||
+ | | {{#if: {{{subtype|}}} | ||
+ | | [[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 29: | 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 | ||
+ | | wikipedia=The_Sample_Tune | ||
+ | | digitrad=54322 | ||
+ | | 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 }}