Template:Instruments: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(well, maybe just one extra template / spaces are not doing good)
(fix for violincino and viol consort)
Line 16: Line 16:
/(strings)/i={{Cat|String ensemble accompaniment|$1}}|
/(strings)/i={{Cat|String ensemble accompaniment|$1}}|
/(guitars?)/i={{Cat|Guitar accompaniment|$1}}|
/(guitars?)/i={{Cat|Guitar accompaniment|$1}}|
/(violins?)/i={{Cat|Violin accompaniment|$1}}|
/(violins?)([^c])/i={{Cat|Violin accompaniment|$1}}$2|
/((violon)?cellos?)/i={{Cat|Cello accompaniment|$1}}|
/((violon)?cellos?)/i={{Cat|Cello accompaniment|$1}}|
/(viols?)([^aio])/i={{Cat|Viol consort accompaniment|$1}}$2|
/(viols? (consort)?)([^aio])/i={{Cat|Viol consort accompaniment|$1}}$2|
/(harpsichords?)/i={{Cat|Harpsichord accompaniment|$1}}|
/(harpsichords?)/i={{Cat|Harpsichord accompaniment|$1}}|
/(harp)([^s])/i={{Cat|Harp accompaniment|$1}}$2|
/(harp)([^s])/i={{Cat|Harp accompaniment|$1}}$2|

Revision as of 01:25, 12 June 2014

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

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 associated accompaniment categories.