Template:Instruments: Difference between revisions
Jump to navigation
Jump to search
m (nowiki is also problematic inside of multireplace) |
(disambig Viol from Viola) |
||
Line 17: | Line 17: | ||
/(strings)/i= {{StrAcc|$1}}| | /(strings)/i= {{StrAcc|$1}}| | ||
/(guitars?)/i= {{GtrAcc|$1}}| | /(guitars?)/i= {{GtrAcc|$1}}| | ||
/(violins?)/i= | /(violins?)/i= {{ViolinAcc|$1}}| | ||
/((violon)?cellos?)/i= {{CelloAcc|$1}}| | /((violon)?cellos?)/i= {{CelloAcc|$1}}| | ||
/(viols?)([^ | /(viols?)([^aio])/i= {{ViolAcc|$1}}$2| | ||
/(harpsichords?)/i= {{HpsichdAcc|$1}}| | /(harpsichords?)/i= {{HpsichdAcc|$1}}| | ||
/(harp)([^s])/i= {{HarpAcc|$1}}$2| | /(harp)([^s])/i= {{HarpAcc|$1}}$2| |
Revision as of 15:34, 2 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.