Template:Instruments: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 39: Line 39:


'''Example:'''
'''Example:'''
:{{tl|Instruments|A cappella (opt. piano/organ accompaniment); OR String ens. (i.e. Strings: violins or 1 violin, viols and cello), flutes and B. Cont.; OR Lutes, winds (or 1 flute) & continuo| (lute, harp or harpsichord).|pre=different mixed ensembles: }}
:{{tl|Instruments|A cappella (opt. piano/organ accompaniment); OR String ens. (i.e. Strings: violins or 1 violin, viols and cello), flutes and B. Cont.; OR Lutes, winds (or 1 flute) & continuo (lute, harp or harpsichord).|pre=different mixed ensembles: }}
produces the text
produces the text


:'''Instruments:''' ''
:'''Instruments:''' ''[[:Category:A cappella|A cappella]]'' (opt. [[:Category:Piano accompaniment|piano]]/[[:Category:Organ accompaniment|organ]] accompaniment); OR [[:Category:String ensemble accompaniment|String ens.]] (i.e. [[:Category:String ensemble accompaniment|Strings]]: [[:Category:String ensemble accompaniment|violins]] or 1 [[:Category:String ensemble accompaniment|violin]], [[:Category:Viol consort accompaniment|viols]] and [[:Category:Cello accompaniment|cello]]), [[:Category:Wind ensemble accompaniment|flutes]] and [[:Category:Basso continuo|B. Cont.]]; OR [[:Category:Lute accompaniment|Lutes]], [[:Category:Wind ensemble accompaniment|winds]] (or 1 [[:Category:Flute accompaniment|flute]]) & [[:Category:Basso continuo|continuo]] (lute, harp or harpsichord).
[[:Category:A cappella|A cappella]]'' (opt.  
[[:Category:Piano accompaniment|piano]]/
[[:Category:Organ accompaniment|organ]] accompaniment); OR  
[[:Category:String ensemble accompaniment|String ens.]] (i.e.  
[[:Category:String ensemble accompaniment|Strings]]:  
[[:Category:String ensemble accompaniment|violins]] or 1  
[[:Category:String ensemble accompaniment|violin]],  
[[:Category:Viol consort accompaniment|viols]] and  
[[:Category:Cello accompaniment|cello]]),  
[[:Category:Wind ensemble accompaniment|flutes]] and  
[[:Category:Basso continuo|B. Cont.]]; OR  
[[:Category:Lute accompaniment|Lutes]],  
[[:Category:Wind ensemble accompaniment|winds]] (or 1  
[[:Category:Flute accompaniment|flute]]) &  
[[:Category:Basso continuo|continuo]]  
(lute, harp or harpsichord).


and categorizes the page in all associated  
and categorizes the page in all associated [[:Category:Accompaniment|accompaniment categories]].
 
[[Category:Accompaniment|accompaniment categories]].
}}
}}
[[Category:DPL templates]]
[[Category:DPL templates]]
[[Category:Accompaniment templates]]
[[Category:Accompaniment templates]]
</noinclude>
</noinclude>

Revision as of 15:21, 6 March 2021

Syntax:

{{Instruments|<instrumentation as normal text>}}

Syntax with optional parameters:

{{Instruments|<instrumentation as normal text>|<post text>|pre=<previous text>}}

The previous and post texts will not be analyzed, even if they cite instrumentations.

Example:

{{Instruments|A cappella (opt. piano/organ accompaniment); OR String ens. (i.e. Strings: violins or 1 violin, viols and cello), flutes and B. Cont.; OR Lutes, winds (or 1 flute) & continuo (lute, harp or harpsichord).}}

produces the text

Instruments: A cappella (opt. piano/organ accompaniment); OR String ens. (i.e. Strings: violins or 1 violin, viols and cello), flutes and B. Cont.; OR Lutes, winds (or 1 flute) & continuo (lute, harp or harpsichord).

and categorizes the page in all associated accompaniment categories.