Template:Instruments: Difference between revisions
Jump to navigation
Jump to search
(fixed small bug) |
(added viola da gamba) |
||
Line 19: | Line 19: | ||
/(violins?)([^c])/i={{Cat|Violin accompaniment|$1}}$2| | /(violins?)([^c])/i={{Cat|Violin accompaniment|$1}}$2| | ||
/((violon)?cellos?)/i={{Cat|Cello accompaniment|$1}}| | /((violon)?cellos?)/i={{Cat|Cello accompaniment|$1}}| | ||
/(violas?)/i={{Cat|Viola accompaniment|$1}}| | /(violas? da gamba)/i={{Cat|Viola da gamba accompaniment|$1}}| | ||
/(violas?)([^s])([^d])/i={{Cat|Viola accompaniment|$1}}$2$3| | |||
/(viols?( consort)?)([^aio])/i={{Cat|Viol consort accompaniment|$1}}$3| | /(viols?( consort)?)([^aio])/i={{Cat|Viol consort accompaniment|$1}}$3| | ||
/(harpsichords?)/i={{Cat|Harpsichord accompaniment|$1}}| | /(harpsichords?)/i={{Cat|Harpsichord accompaniment|$1}}| |
Revision as of 18:48, 10 July 2016
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.