Template:Instruments: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
mNo edit summary
(In fact the mandatory space before lute is necessary to diferenciate from flute)
Line 11: Line 11:
/(flutes)/i={{WindAcc|$1}}|
/(flutes)/i={{WindAcc|$1}}|
/(flute)([^s])/i={{FluteAcc|$1}}$2|
/(flute)([^s])/i={{FluteAcc|$1}}$2|
/(lutes?)/i={{LuteAcc|$1}}|
/(\s)(lutes?)/i=$1{{LuteAcc|$2}}|
/(mixed ens\.*(emble)*)/i={{MxEnsAcc|$1}}|
/(mixed ens\.*(emble)*)/i={{MxEnsAcc|$1}}|
/(brass ens\.*(emble)*)/i={{BrassAcc|$1}}|
/(brass ens\.*(emble)*)/i={{BrassAcc|$1}}|

Revision as of 01:15, 18 May 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.