Difference between revisions of "Template:Instruments"

From ChoralWiki
Jump to navigation Jump to search
(+ guitar)
(various corrections)
Line 3: Line 3:
 
/(a cap\.)/i={{acap|$1}}|
 
/(a cap\.)/i={{acap|$1}}|
 
/(a capella)/i={{acap|$1}}|
 
/(a capella)/i={{acap|$1}}|
/((basso )*continuo)/i={{BsCont|$1}}|
+
/((basso )?continuo)/i={{BsCont|$1}}|
 
/(b\.?\s?c(ont)*\.?)/i={{BsCont|$1}}|
 
/(b\.?\s?c(ont)*\.?)/i={{BsCont|$1}}|
 
/(pianos?)/i={{PnoAcc|$1}}|
 
/(pianos?)/i={{PnoAcc|$1}}|
Line 10: Line 10:
 
/(winds)/i={{WindAcc|$1}}|
 
/(winds)/i={{WindAcc|$1}}|
 
/(flutes)/i={{WindAcc|$1}}|
 
/(flutes)/i={{WindAcc|$1}}|
/(flute)([^s])/i={{FluteAcc|$1}}$2|
+
/(flute)([^s]*)/i={{FluteAcc|$1}}$2|
/(\s)(lutes?)/i=$1{{LuteAcc|$2}}|
+
/([^f]*)(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}}|
/(string ens\.*(emble)*)/i={{StrAcc|$1}}|
+
/(string ens\.?(emble)?)/i={{StrAcc|$1}}|
 
/(strings)/i={{StrAcc|$1}}|
 
/(strings)/i={{StrAcc|$1}}|
 
/(guitars?)/i={{GtrAcc|$1}}|
 
/(guitars?)/i={{GtrAcc|$1}}|
 
/(violins?)/i={{StrAcc|$1}}|
 
/(violins?)/i={{StrAcc|$1}}|
/((violon)?cellos?)/i={{StrAcc|$1}}|
+
/((violon)?cellos?)/i={{CelloAcc|$1}}|
 
/(viols?)([^io])/i={{ViolAcc|$1}}$2|
 
/(viols?)([^io])/i={{ViolAcc|$1}}$2|
 
/(harps?)/i={{HarpAcc|$1}}|
 
/(harps?)/i={{HarpAcc|$1}}|

Revision as of 14:01, 31 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.