Difference between revisions of "Template:Instruments"

From ChoralWiki
Jump to navigation Jump to search
(Accompaniment templates)
(add mixed ensemble, brass ensemble)
Line 12: Line 12:
 
/(flute)([^s])/i={{FluteAcc|$1}}$2|
 
/(flute)([^s])/i={{FluteAcc|$1}}$2|
 
/(\s)(lutes?)/i=$1{{LuteAcc|$2}}|
 
/(\s)(lutes?)/i=$1{{LuteAcc|$2}}|
 +
/(mixed ens\.*(emble)*)/i={{MxEnsAcc|$1}}|
 +
/(brass ens\.*(emble)*)/i={{BrassAcc|$1}}|
 
/(string ens\.*(emble)*)/i={{StrAcc|$1}}|
 
/(string ens\.*(emble)*)/i={{StrAcc|$1}}|
 
/(strings)/i={{StrAcc|$1}}|
 
/(strings)/i={{StrAcc|$1}}|

Revision as of 16:25, 25 April 2014

Syntax:

{{Instruments|<instrumentation as typed by the user>}}

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.}}

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.

and categorizes the page in all pertinent accompaniment categories.