Template:Instruments: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(second argument for extra comments)
(+ guitar)
Line 16: Line 16:
/(string ens\.*(emble)*)/i={{StrAcc|$1}}|
/(string ens\.*(emble)*)/i={{StrAcc|$1}}|
/(strings)/i={{StrAcc|$1}}|
/(strings)/i={{StrAcc|$1}}|
/(guitars?)/i={{GtrAcc|$1}}|
/(violins?)/i={{StrAcc|$1}}|
/(violins?)/i={{StrAcc|$1}}|
/((violon)?cellos?)/i={{StrAcc|$1}}|
/((violon)?cellos?)/i={{StrAcc|$1}}|

Revision as of 23:26, 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.