Template:Instruments: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(piano 4-hands)
(chamber orchestra)
Line 24: Line 24:
/(harp)([^s])/i={{Cat|Harp accompaniment|$1}}$2|
/(harp)([^s])/i={{Cat|Harp accompaniment|$1}}$2|
/(harps)([^i])/i={{Cat|Harp accompaniment|$1}}$2|
/(harps)([^i])/i={{Cat|Harp accompaniment|$1}}$2|
/(orchestras?)/i={{Cat|Orchestra accompaniment|$1}} }} {{{2|}}}<br>
/((chamber )?orchestras?)/i={{Cat|Orchestra accompaniment|$1}} }} {{{2|}}}<br>
</includeonly><noinclude><!--
</includeonly><noinclude><!--
-->{{DisplayBox|bgcolor=g|text=
-->{{DisplayBox|bgcolor=g|text=

Revision as of 03:21, 21 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.