Template:Instruments: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(41 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>'''Instruments:''' {{{pre|}}}{{# | <includeonly>'''Instruments:''' {{{pre|}}}{{#replaceset:  {{{1|}}}  | | ||
/(a capp?ella)/i={{ | /(a capp?ella)/i={{Mcat|A cappella|''$1''}}| | ||
/(a cap\.)/i={{ | /(a cap\.)/i={{Mcat|A cappella|''$1''}}| | ||
/((basso )?continuo)/i={{ | /((basso )?continuo)/i={{Mcat|Basso continuo|$1}}| | ||
/(b\.?\s?c(ont)*\.?)/i={{ | /(b\.?\s?c(ont)*\.?)/i={{Mcat|Basso continuo|$1}}| | ||
/(pianos?)/i={{ | /(pianos? 4-hands)/i={{Mcat|Piano 4-hands accompaniment|$1}}| | ||
/( | /(piano(forte)?s?)([^s])([^4])/i={{Mcat|Piano accompaniment|$1}}$3$4| | ||
/(keyboards?)/i={{ | /(organ[os]?)/i={{Mcat|Organ accompaniment|$1}}| | ||
/(winds)/i={{ | /(keyboards?)/i={{Mcat|Keyboard accompaniment|$1}}| | ||
/([^f])(lutes?)/i=$1{{ | /(winds)/i={{Mcat|Wind ensemble accompaniment|$1}}| | ||
/( | /([^f])(lutes?)/i=$1{{Mcat|Lute accompaniment|$2}}| | ||
/( | /(flutes?)/i={{Mcat|Flute accompaniment|$1}}| | ||
/( | /(mixed ens\.?(emble)?)/i={{Mcat|Mixed ensemble accompaniment|$1}}| | ||
/(brass | /(brass ens\.?(emble)?)/i={{Mcat|Brass ensemble|$1}}| | ||
/(string ens\.?(emble)?)/i={{ | /(brass) ^e?/i={{Mcat|Brass accompaniment|$1}}| | ||
/(strings)/i={{ | /(horns?)/i={{Mcat|Horn accompaniment|$1}}| | ||
/(guitars?)/i={{ | /(string ens\.?(emble)?)/i={{Mcat|String ensemble accompaniment|$1}}| | ||
/(violins?)([^c])/i={{ | /(strings)/i={{Mcat|String ensemble accompaniment|$1}}| | ||
/((violon)?cellos?)/i={{ | /((classic )?guitars?)/i={{Mcat|Guitar accompaniment|$1}}| | ||
/( | /(timp\.?[ani]?)/i={{Mcat|Timpani accompaniment|$1}}| | ||
/(harpsichords?)/i={{ | /(tr[\.u]+(mpet)?s?)/i={{Mcat|Trumpet accompaniment|$1}}| | ||
/(harp)([^s])/i={{ | /(tromb\.?(one)?s?)/i={{Mcat|Trombone accompaniment|$1}}| | ||
/(harps)([^i])/i={{ | /(violins?)([^c])/i={{Mcat|Violin accompaniment|$1}}$2| | ||
/(orchestras?)/i={{ | /((violon)?cellos?)/i={{Mcat|Cello accompaniment|$1}}| | ||
/(viol[ae]s?)([^s][^d])/i={{Mcat|Viola accompaniment|$1}}$2| | |||
/(viol[ae]s? da gamba)/i={{Mcat|Viola da gamba accompaniment|$1}}| | |||
/(viol)([ .,;][^c])/i={{Mcat|Viola da gamba accompaniment|$1}}$2| | |||
/(viols)([ ,;.])/i={{Mcat|Viol consort accompaniment|$1}}$2| | |||
/([^:])(viol consort)/i=$1{{Mcat|Viol consort accompaniment|$2}}| | |||
/(wind ens\.?(emble)?)/i={{Mcat|Wind ensemble accompaniment|$1}}| | |||
/(harpsichords?)/i={{Mcat|Harpsichord accompaniment|$1}}| | |||
/(harp)([^s])/i={{Mcat|Harp accompaniment|$1}}$2| | |||
/(harps)([^i])/i={{Mcat|Harp accompaniment|$1}}$2| | |||
/((chamber )?orchestras?)/i={{Mcat|Orchestra accompaniment|$1}} }} {{{2|}}}<br> | |||
</includeonly><noinclude><!-- | </includeonly><noinclude><!-- | ||
-->{{DisplayBox|bgcolor=g|text= | -->{{DisplayBox|bgcolor=g|text= | ||
Line 33: | Line 43: | ||
'''Example:''' | '''Example:''' | ||
:{{tl|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.}} | :{{tl|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 (lute, harp or harpsichord).|pre=different mixed ensembles: }} | ||
produces the text | produces the text | ||
:'''Instruments:''' ''[[:Category:A cappella|A cappella]]'' (opt. [[:Category:Piano accompaniment|piano]]/[[:Category:Organ accompaniment|organ]] accompaniment); OR [[:Category:String ensemble accompaniment|String ens.]] (i.e. [[:Category:String ensemble accompaniment|Strings]]: [[:Category:String ensemble accompaniment|violins]] or 1 [[:Category:String ensemble accompaniment|violin]], [[:Category:Viol consort accompaniment|viols]] and [[:Category:Cello accompaniment|cello]]), [[:Category:Wind ensemble accompaniment|flutes]] and [[:Category:Basso continuo|B. Cont.]]; OR [[:Category:Lute accompaniment|Lutes]], [[:Category:Wind ensemble accompaniment|winds]] (or 1 [[:Category:Flute accompaniment|flute]]) & [[:Category:Basso continuo|continuo]]. | :'''Instruments:''' ''[[:Category:A cappella|A cappella]]'' (opt. [[:Category:Piano accompaniment|piano]]/[[:Category:Organ accompaniment|organ]] accompaniment); OR [[:Category:String ensemble accompaniment|String ens.]] (i.e. [[:Category:String ensemble accompaniment|Strings]]: [[:Category:String ensemble accompaniment|violins]] or 1 [[:Category:String ensemble accompaniment|violin]], [[:Category:Viol consort accompaniment|viols]] and [[:Category:Cello accompaniment|cello]]), [[:Category:Wind ensemble accompaniment|flutes]] and [[:Category:Basso continuo|B. Cont.]]; OR [[:Category:Lute accompaniment|Lutes]], [[:Category:Wind ensemble accompaniment|winds]] (or 1 [[:Category:Flute accompaniment|flute]]) & [[:Category:Basso continuo|continuo]] (lute, harp or harpsichord). | ||
and categorizes the page in all associated [[:Category:Accompaniment|accompaniment categories]]. | and categorizes the page in all associated [[:Category:Accompaniment|accompaniment categories]]. | ||
}} | }} | ||
[[Category:DPL templates]] | |||
[[Category:Accompaniment templates]] | [[Category:Accompaniment templates]] | ||
</noinclude> | </noinclude> |
Revision as of 16:50, 6 March 2021
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 (lute, harp or harpsichord).}}
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 (lute, harp or harpsichord).
and categorizes the page in all associated accompaniment categories.