Template:Instruments: Difference between revisions
Jump to navigation
Jump to search
(revert harpsichords - i botched it) |
(the Harpsichord line was fine, but Harp had to be tweaked a bit) |
||
Line 1: | Line 1: | ||
<includeonly>'''Instruments:''' {{{pre|}}}{{#multireplace:<nowiki> </nowiki>{{{1|}}}<nowiki> </nowiki>| | <includeonly>'''Instruments:''' {{{pre|}}}{{#multireplace:<nowiki> </nowiki>{{{1|}}}<nowiki> </nowiki>| | ||
/(a cappella)/i={{acap|$1}}| | /(a cappella)/i= {{acap|$1}}| | ||
/(a cap\.)/i={{acap|$1}}| | /(a cap\.)/i= {{acap|$1}}| | ||
/(a capella)/i={{acap|$1}}| | /(a capella)/i= {{acap|$1}}| | ||
/((basso )?continuo)/i={{BsCont|$1}}| | /((basso )?continuo)/i= {{BsCont|$1}}| | ||
/(b\.?\s?c(ont)*\.?)/i={{BsCont|$1}}| | /(b\.?\s?c(ont)*\.?)/i= {{BsCont|$1}}| | ||
/(pianos?)/i={{PnoAcc|$1}}| | /(pianos?)/i= {{PnoAcc|$1}}| | ||
/(organs?)/i={{OrgAcc|$1}}| | /(organs?)/i= {{OrgAcc|$1}}| | ||
/(keyboards?)/i={{KbdAcc|$1}}| | /(keyboards?)/i= {{KbdAcc|$1}}| | ||
/(winds)/i={{WindAcc|$1}}| | /(winds)/i= {{WindAcc|$1}}| | ||
/([^f])(lutes?)/i=$1{{LuteAcc|$2}}| | /([^f])(lutes?)/i= $1{{LuteAcc|$2}}| | ||
/(flute)([^s])/i={{FluteAcc|$1}}$2| | /(flute)([^s])/i= {{FluteAcc|$1}}$2| | ||
/(flutes)/i={{WindAcc|$1}}| | /(flutes)/i= {{WindAcc|$1}}| | ||
/(mixed ens\.?(emble)?)/i={{MxEnsAcc|$1}}| | /(mixed ens\.?(emble)?)/i= {{MxEnsAcc|$1}}| | ||
/(brass ens\.?(emble)?)/i={{BrassAcc|$1}}| | /(brass ens\.?(emble)?)/i= {{BrassAcc|$1}}| | ||
/(string ens\.?(emble)?)/i={{StrAcc|$1}}| | /(string ens\.?(emble)?)/i= {{StrAcc|$1}}| | ||
/(strings)/i={{StrAcc|$1}}| | /(strings)/i= {{StrAcc|$1}}| | ||
/(guitars?)/i={{GtrAcc|$1}}| | /(guitars?)/i= {{GtrAcc|$1}}| | ||
/(violins?)/i={{StrAcc|$1}}| | /(violins?)/i= {{StrAcc|$1}}| | ||
/((violon)?cellos?)/i={{CelloAcc|$1}}| | /((violon)?cellos?)/i= {{CelloAcc|$1}}| | ||
/(viols?)([^io])/i={{ViolAcc|$1}}$2| | /(viols?)([^io])/i= {{ViolAcc|$1}}$2| | ||
/(harps | /(harpsichords?)/i= {{HpsichdAcc|$1}}| | ||
/(orchestras?)/i={{OrchAcc|$1}} }} {{{2|}}}<br></includeonly><noinclude><!-- | /(harp)([^s])/i= {{HarpAcc|$1}}$2| | ||
/(harps)([^i])/i= {{HarpAcc|$1}}$2| | |||
/(orchestras?)/i= {{OrchAcc|$1}} }} {{{2|}}}<br></includeonly><noinclude><!-- | |||
-->{{DisplayBox|bgcolor=g|text= | -->{{DisplayBox|bgcolor=g|text= | ||
'''Syntax:''' | '''Syntax:''' |
Revision as of 19:07, 1 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.