Template:Instruments: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(fixed small bug) |
||
Line 5: | Line 5: | ||
/(b\.?\s?c(ont)*\.?)/i={{Cat|Basso continuo|$1}}| | /(b\.?\s?c(ont)*\.?)/i={{Cat|Basso continuo|$1}}| | ||
/(pianos? 4-hands)/i={{Cat|Piano 4-hands accompaniment|$1}}| | /(pianos? 4-hands)/i={{Cat|Piano 4-hands accompaniment|$1}}| | ||
/(piano(forte)?s?) ([^4])/i={{Cat|Piano accompaniment|$1}} $3| | /(piano(forte)?s?)([^s])([^4])/i={{Cat|Piano accompaniment|$1}}$3$4| | ||
/(organs?)/i={{Cat|Organ accompaniment|$1}}| | /(organs?)/i={{Cat|Organ accompaniment|$1}}| | ||
/(keyboards?)/i={{Cat|Keyboard accompaniment|$1}}| | /(keyboards?)/i={{Cat|Keyboard accompaniment|$1}}| |
Revision as of 01:24, 28 November 2015
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.