Template:Instruments: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(In fact the mandatory space before lute is necessary to diferenciate from flute)
(second argument for extra comments)
Line 20: Line 20:
/(viols?)([^io])/i={{ViolAcc|$1}}$2|
/(viols?)([^io])/i={{ViolAcc|$1}}$2|
/(harps?)/i={{HarpAcc|$1}}|
/(harps?)/i={{HarpAcc|$1}}|
/(orchestras?)/i={{OrchAcc|$1}} }}<br></includeonly><noinclude><!--
/(orchestras?)/i={{OrchAcc|$1}} }} {{{2|}}}<br></includeonly><noinclude><!--
-->{{DisplayBox|bgcolor=g|text=
-->{{DisplayBox|bgcolor=g|text=
'''Syntax:'''
'''Syntax:'''

Revision as of 23:15, 18 May 2014

Syntax:

{{Instruments|<instrumentation as typed by the user>}}

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 pertinent accompaniment categories.