Template:Instruments: Difference between revisions
Jump to navigation
Jump to search
(Added table of word substitutions) |
Richard Mix (talk | contribs) (not sure if adding space will work, but there's trouble with "tru" string and "unspecified ins-tru-ments") |
||
(4 intermediate revisions by one other user not shown) | |||
Line 19: | Line 19: | ||
/((classic )?guitars?)/i={{Mcat|Guitar accompaniment|$1}}| | /((classic )?guitars?)/i={{Mcat|Guitar accompaniment|$1}}| | ||
/(timp\.?[ani]?)/i={{Mcat|Timpani accompaniment|$1}}| | /(timp\.?[ani]?)/i={{Mcat|Timpani accompaniment|$1}}| | ||
/(tr[\.u]+(mpet)?s?)/i={{Mcat|Trumpet accompaniment|$1}}| | /( tr[\.u]+(mpet)?s?)/i={{Mcat|Trumpet accompaniment|$1}}| | ||
/(tromb\.?(one)?s?)/i={{Mcat|Trombone accompaniment|$1}}| | /(tromb\.?(one)?s?)/i={{Mcat|Trombone accompaniment|$1}}| | ||
/(violins?)([^c])/i={{Mcat|Violin accompaniment|$1}}$2| | /(violins?)([^c])/i={{Mcat|Violin accompaniment|$1}}$2| | ||
Line 49: | Line 49: | ||
and categorizes the page in all associated [[:Category:Accompaniment|accompaniment categories]]. | and categorizes the page in all associated [[:Category:Accompaniment|accompaniment categories]]. | ||
YOU CAN ALSO use certain {{CC|Accompaniment templates|templates}} to achieve similar results, as shown below. See [[ChoralWiki:Accompaniment substitutions]]. | |||
}} | }} | ||
==Word substitutions== | |||
::If you type certain words of phrases within the template {{tl|Instruments}}, they are converted to links to categories as shown below. | |||
{{top}} | {{top}} | ||
{|class="wikitable sortable" "align=center" | {|class="wikitable sortable" "style:align=center" | ||
! | !You type: | ||
!Display | !Display | ||
!Category | !Category | ||
Line 91: | Line 95: | ||
{{mdl}} | {{mdl}} | ||
{|class="wikitable sortable" "align=center" | {|class="wikitable sortable" "align=center" | ||
! | !You type: | ||
!Display | !Display | ||
!Category | !Category | ||
Line 118: | Line 122: | ||
|- | |- | ||
|} | |} | ||
{{btm}} | |||
==Templates== | |||
::If you type one of the following templates, it displays a link to a category as shown below. | |||
{{top}} | |||
*<tt><nowiki>{{A cappella}}</nowiki></tt> → '''Instruments:''' <font color=blue>''a cappella''</font> | |||
*<tt><nowiki>{{Acap}}</nowiki></tt> → <font color=blue>''a cappella''</font> | |||
*<tt><nowiki>{{BrassAcc}}</nowiki></tt> → <font color=blue>Brass ensemble</font> | |||
*<tt><nowiki>{{BsCont}}</nowiki></tt> → <font color=blue>Basso continuo</font> | |||
*<tt><nowiki>{{CelloAcc}}</nowiki></tt> → <font color=blue>Violincello</font> | |||
*<tt><nowiki>{{FluteAcc}}</nowiki></tt> → <font color=blue>Flute</font> | |||
*<tt><nowiki>{{GtrAcc}}</nowiki></tt> → <font color=blue>Guitar</font> | |||
*<tt><nowiki>{{HarpAcc}}</nowiki></tt> → <font color=blue>Harp</font> | |||
*<tt><nowiki>{{HpsichdAcc}}</nowiki></tt> → <font color=blue>Harpsichord</font> | |||
*<tt><nowiki>{{JazzAcc}}</nowiki></tt> → <font color=blue>Jazz band</font> | |||
*<tt><nowiki>{{KbdAcc}}</nowiki></tt> → <font color=blue>Keyboard</font> | |||
*<tt><nowiki>{{KbdRed}}</nowiki></tt> → Includes a <font color=blue>''keyboard reduction''</font> of the <font color=blue>''a cappella''</font> score. | |||
{{mdl}} | |||
*<tt><nowiki>{{KbdVer}}</nowiki></tt> → Includes a <font color=blue>keyboard version</font> of the original accompaniment. | |||
*<tt><nowiki>{{LuteAcc}}</nowiki></tt> → <font color=blue>Lute</font> | |||
*<tt><nowiki>{{MxEnsAcc}}</nowiki></tt> → <font color=blue>Mixed ensemble</font> | |||
*<tt><nowiki>{{OrchAcc}}</nowiki></tt> → <font color=blue>Orchestra</font> | |||
*<tt><nowiki>{{OrgAcc}}</nowiki></tt> → <font color=blue>Organ</font> | |||
*<tt><nowiki>{{PercAcc}}</nowiki></tt> → <font color=blue>Percussion</font> | |||
*<tt><nowiki>{{PnoAcc}}</nowiki></tt> → <font color=blue>Piano</font> | |||
*<tt><nowiki>{{StrAcc}}</nowiki></tt> → <font color=blue>String Ensemble</font> | |||
*<tt><nowiki>{{ViolAcc}}</nowiki></tt> → <font color=blue>Viol consort</font> | |||
*<tt><nowiki>{{ViolinAcc}}</nowiki></tt> → <font color=blue>Violin</font> | |||
*<tt><nowiki>{{WindAcc}}</nowiki></tt> → <font color=blue>Wind ensemble</font> | |||
{{btm}} | {{btm}} | ||
[[Category:DPL templates]] | [[Category:DPL templates]] | ||
[[Category:Accompaniment templates]] | [[Category:Accompaniment templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 22:09, 19 November 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.
YOU CAN ALSO use certain templates to achieve similar results, as shown below. See ChoralWiki:Accompaniment substitutions.
Word substitutions
- If you type certain words of phrases within the template {{Instruments}}, they are converted to links to categories as shown below.
|
|
Templates
- If you type one of the following templates, it displays a link to a category as shown below.
|
|