Template:EdCha: Difference between revisions
Jump to navigation
Jump to search
Documentation
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{1|}}}|arr={{#dplvar:set|arrx|{{{2|}}}}}{{#if:{{{cap|}}}}|A|a}}rranged by {{cat|{{{2|}}} arrangements|{{{2|}}}}}|ins={{#dplvar:set|insx|{{{2|}}}}}{{#if:{{{cap|}}}|W|w}}ith {{Instruments2|{{{2|}}}|dis=no}}|lan={{#dplvar:set|lanx|{{{2|}}}}}{{#if:{{{cap|}}}|I|i}}n {{cat|Works in {{{2|}}}|{{{2|}}}}}|aun={{#dplvar:set|aunx|{{{2|}}}}}{{#if:{{{cap|}}}|L|l}}yrics by {{cat|Works with {{{2|}}} text|{{{2|}}}}}|ayr={{#dplvar:set|ayrx|{{{2|}}}}}, {{{2|}}}|atx={{#dplvar:set|atxx|{{{2|}}}}},{{#if:{{{cap|}}}|W|w}}hich starts {{{2|}}}|txp={{#dplvar:set|txpx|{{{2|}}}}},{{#if:{{{cap|}}}|S|s}}ee text at [[{{{2|}}}}}]] page|von={{#dplvar:set|vonx|{{{2|}}}}},{{#if:{{{cap|}}}|F|f}}or {{cat|{{{2|}}}-part choral music|{{{2|}}}}} voices|voi={{#dplvar:set|voix|{{{2|}}}}},{{#if:{{{cap|}}}|For| }}{{Vcat|{{{2|}}}|{{{2|}}}}}}}{{#if:{{#dplvar:aunx}}|{{#if:{{#dplvar:ayrx}}|{{#if:{{#dplvar:atxx}}|{{#if:{{#dplvar:txpx}}|{{Author|{{#dplvar:aunx}}|text={{#dplvar:atxx}}|page={{#dplvar:txpx}}|year={{#dplvar:ayrx}}|dis=no}}|{{Author|{{#dplvar:aunx}}|text={{#dplvar:atxx}}|year={{#dplvar:ayrx}}|dis=no}}}}|{{#if:{{#dplvar:txpx}}|{{Author|{{#dplvar:aunx}}|text={{#dplvar:txpx}}|page={{#dplvar:txpx}}|year={{#dplvar:ayrx}}|dis=no}}|{{Author|{{#dplvar:aunx}}|year={{#dplvar:ayr}}|dis=no}}}}}}|{{#if:{{#dplvar:atxx}}|{{#if:{{#dplvar:txpx}}|{{Author|{{#dplvar:aunx}}|text={{#dplvar:atxx}}|page={{#dplvar:txpx}}|dis=no}}|{{Author|{{#dplvar:aunx}}|text={{#dplvar:atxx}}|dis=no}}}}|{{#if:{{#dplvar:txpx}}|{{Author|{{#dplvar:aunx}}|text={{#dplvar:txpx}}|page={{#dplvar:txpx}}|dis=no}}|{{Author|{{#dplvar:aunx}}| | <includeonly>{{#switch:{{{1|}}}|arr={{#dplvar:set|arrx|{{{2|}}}}}{{#if:{{{cap|}}}}|A|a}}rranged by {{cat|{{{2|}}} arrangements|{{{2|}}}}}|ins={{#dplvar:set|insx|{{{2|}}}}}{{#if:{{{cap|}}}|W|w}}ith {{Instruments2|{{{2|}}}|dis=no}}|lan={{#dplvar:set|lanx|{{{2|}}}}}{{#if:{{{cap|}}}|I|i}}n {{cat|Works in {{{2|}}}|{{{2|}}}}}|aun={{#dplvar:set|aunx|{{{2|}}}}}{{#if:{{{cap|}}}|L|l}}yrics by {{cat|Works with {{{2|}}} text|{{{2|}}}}}|ayr={{#dplvar:set|ayrx|{{{2|}}}}}, {{{2|}}}|atx={{#dplvar:set|atxx|{{{2|}}}}},{{#if:{{{cap|}}}|W|w}}hich starts {{{2|}}}|txp={{#dplvar:set|txpx|{{{2|}}}}},{{#if:{{{cap|}}}|S|s}}ee text at [[{{{2|}}}}}]] page|von={{#dplvar:set|vonx|{{{2|}}}}},{{#if:{{{cap|}}}|F|f}}or {{cat|{{{2|}}}-part choral music|{{{2|}}}}} voices|voi={{#dplvar:set|voix|{{{2|}}}}},{{#if:{{{cap|}}}|For| }}{{Vcat|{{{2|}}}|{{{2|}}}}}}}{{#if:{{#dplvar:aunx}}|{{#if:{{#dplvar:ayrx}}|{{#if:{{#dplvar:atxx}}|{{#if:{{#dplvar:txpx}}|{{Author|{{#dplvar:aunx}}|text={{#dplvar:atxx}}|page={{#dplvar:txpx}}|year={{#dplvar:ayrx}}|dis=no}}|{{Author|{{#dplvar:aunx}}|text={{#dplvar:atxx}}|year={{#dplvar:ayrx}}|dis=no}}}}|{{#if:{{#dplvar:txpx}}|{{Author|{{#dplvar:aunx}}|text={{#dplvar:txpx}}|page={{#dplvar:txpx}}|year={{#dplvar:ayrx}}|dis=no}}|{{Author|{{#dplvar:aunx}}|year={{#dplvar:ayr}}|dis=no}}}}}}|{{#if:{{#dplvar:atxx}}|{{#if:{{#dplvar:txpx}}|{{Author|{{#dplvar:aunx}}|text={{#dplvar:atxx}}|page={{#dplvar:txpx}}|dis=no}}|{{Author|{{#dplvar:aunx}}|text={{#dplvar:atxx}}|dis=no}}}}|{{#if:{{#dplvar:txpx}}|{{Author|{{#dplvar:aunx}}|text={{#dplvar:txpx}}|page={{#dplvar:txpx}}|dis=no}}|{{Author|{{#dplvar:aunx}}|page=line}}}}}}}}}}</includeonly><noinclude>{{Doc|1= | ||
This template is intended for use within the {{tl|EdNotes}} template. It should not be used elsewhere. | This template is intended for use within the {{tl|EdNotes}} template. It should not be used elsewhere. |
Revision as of 19:29, 31 May 2021
This template is intended for use within the {{EdNotes}} template. It should not be used elsewhere.
Syntax {{EdChange|<Integer>|<Code>|<Value>}}, with three parameters, all required:
- 1. An integer number corresponding to the position of this call in the text output: 1 appears first in the text output, etc.
- 2. One of eight codes for conditions that change in this edition: arr, dis, inst, lan, lyr, text, vo, or voic.
- 3. The value for the code in parameter 2.
This template is called by {{EdChange}} – Please see that template for details. This template will work by itself, but {{EdChange}} can change several categories at the same time.
Examples
- 1. {{EdCha|1|arr|George Jones}} → Arranged by George Jones
- 2. {{EdCha|3|voic|STTBB}} → , for STTBB
- 3. {{EdCha|6|lan|German}} → , in German. (if item 6 is the last in the list)
- – The items in blue color have been placed in an category.