Template:Instruments: Difference between revisions
Jump to navigation
Jump to search
(re-introduced line, with closing parenthesis that was lacking) |
(couple of corrections) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
/(winds)/i={{Cat|Wind ensemble accompaniment|$1}}| | /(winds)/i={{Cat|Wind ensemble accompaniment|$1}}| | ||
/([^f])(lutes?)/i=$1{{Cat|Lute accompaniment|$2}}| | /([^f])(lutes?)/i=$1{{Cat|Lute accompaniment|$2}}| | ||
/( | /(flutes?)/i={{Cat|Flute accompaniment|$1}}| | ||
/(mixed ens\.?(emble)?)/i={{Cat|Mixed ensemble accompaniment|$1}}| | /(mixed ens\.?(emble)?)/i={{Cat|Mixed ensemble accompaniment|$1}}| | ||
/(brass ens\.?(emble)?)/i={{Cat|Brass accompaniment|$1}}| | /(brass ens\.?(emble)?)/i={{Cat|Brass accompaniment|$1}}| | ||
/(string ens\.?(emble)?)/i={{Cat|String ensemble accompaniment|$1}}| | /(string ens\.?(emble)?)/i={{Cat|String ensemble accompaniment|$1}}| | ||
/(strings)/i={{Cat|String ensemble accompaniment|$1}}| | /(strings)/i={{Cat|String ensemble accompaniment|$1}}| | ||
/(guitars?)/i={{Cat|Guitar accompaniment|$1}}| | /((classic )?guitars?)/i={{Cat|Guitar accompaniment|$1}}| | ||
/(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}}| | ||
/( | /(viol[ae]s? da gamba)/i={{Cat|Viola da gamba accompaniment|$1}}| | ||
/( | /(viol[ae]s?)([^s][^d])/i={{Cat|Viola accompaniment|$1}}$2| | ||
/(viols | /(viols?)([^aãceio][^c])/i={{Cat|Viol accompaniment|$1}}$2| | ||
/(viol consort)/i={{Cat|Viol consort accompaniment|$1}}| | |||
/(wind ens\.?(emble)?)/i={{Cat|Wind ensemble accompaniment|$1}}| | /(wind ens\.?(emble)?)/i={{Cat|Wind ensemble accompaniment|$1}}| | ||
/(harpsichords?)/i={{Cat|Harpsichord accompaniment|$1}}| | /(harpsichords?)/i={{Cat|Harpsichord accompaniment|$1}}| |
Revision as of 15:19, 22 January 2019
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.