Difference between revisions of "Template:Instruments"

From ChoralWiki
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 14: Line 14:
 
/(brass ens\.?(emble)?)/i={{Mcat|Brass ensemble|$1}}|
 
/(brass ens\.?(emble)?)/i={{Mcat|Brass ensemble|$1}}|
 
/(brass) ^e?/i={{Mcat|Brass accompaniment|$1}}|
 
/(brass) ^e?/i={{Mcat|Brass accompaniment|$1}}|
 +
/(horns?)/i={{Mcat|Horn accompaniment|$1}}|
 
/(string ens\.?(emble)?)/i={{Mcat|String ensemble accompaniment|$1}}|
 
/(string ens\.?(emble)?)/i={{Mcat|String ensemble accompaniment|$1}}|
 
/(strings)/i={{Mcat|String ensemble accompaniment|$1}}|
 
/(strings)/i={{Mcat|String ensemble accompaniment|$1}}|
 
/((classic )?guitars?)/i={{Mcat|Guitar accompaniment|$1}}|
 
/((classic )?guitars?)/i={{Mcat|Guitar 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}}|
Line 47: 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}}
 +
{|class="wikitable sortable" "style:align=center"
 +
!You type:
 +
!Display
 +
!Category
 +
|-
 +
|a capella<br>a cappella<br>a cap.||<font color=blue>''a capella<br>a cappella<br>a cap.''</font>||{{CC|A cappella}}
 +
|-
 +
|basso continuo<br>continuo<br>b. cont.<br>b.cont.<br>b. c.<br>b.c.||<font color=blue>basso continuo</font>||{{CC|Basso continuo}}
 +
|-
 +
|brass||<font color=blue>brass</font>||{{CC|Brass accompaniment}}
 +
|-
 +
|brass ensemble<br>brass ens.<br>brass ens||<font color=blue>brass ensemble<br>brass ens.<br>brass ens</font>||{{CC|Brass ensemble}}
 +
|-
 +
|flute<br>flutes||<font color=blue>flute<br>flutes</font>||{{CC|Flute accompaniment}}
 +
|-
 +
|guitar<br>guitars<br>classic guitar<br>classic guitars||<font color=blue>guitar<br>guitars<br>classic guitar<br>classic guitars</font>||{{CC|Guitar accompaniment}}
 +
|-
 +
|harp<br>harps||<font color=blue>harp<br>harps</font>||{{CC|Harp accompaniment}}
 +
|-
 +
|harpsichord<br>harpsichords||<font color=blue>harpsichord<br>harpsichords</font>||{{CC|Harpsichord accompaniment}}
 +
|-
 +
|horn<br>horns||<font color=blue>horn<br>horns</font>||{{CC|Horn accompaniment}}
 +
|-
 +
|keyboard<br>keyboards||<font color=blue>keyboard<br>keyboards</font>||{{CC|Keyboard accompaniment}}
 +
|-
 +
|lute<br>lutes||<font color=blue>lute<br>lutes</font>||{{CC|Lute accompaniment}}
 +
|-
 +
|mixed ensemble<br>mixed ens.<br>mixed ens||<font color=blue>mixed ensemble<br>mixed ens.<br>mixed ens</font>||{{CC|Mixed ensemble accompaniment}}
 +
|-
 +
|orchestra<br>orchestras<br>chamber orchestra<br>chamber orchestra||<font color=blue>orchestra<br>orchestras<br>chamber orchestra<br>chamber orchestra</font>||{{CC|Orchestra accompaniment}}
 +
|-
 +
|organ<br>organs<br>organo<br>organos||<font color=blue>organ<br>organs<br>organo<br>organos</font>||{{CC|Organ accompaniment}}
 +
|-
 +
|piano<br>pianos<br>pianoforte<br>peanofortes||<font color=blue>piano<br>pianos<br>pianoforte<br>peanofortes</font>||{{CC|Piano accompaniment}}
 +
|-
 +
|piano 4-hands<br>pianos 4-hands||<font color=blue>piano 4-hands<br>pianos 4-hands</font>||{{CC|Piano 4-hands accompaniment}}
 +
|-
 +
|}
 +
{{mdl}}
 +
{|class="wikitable sortable" "align=center"
 +
!You type:
 +
!Display
 +
!Category
 +
|-
 +
|string ensemble<br>string ens.<br>string ens||<font color=blue>string ensemble<br>string ens.<br>string ens</font>||{{CC|String ensemble accompaniment}}
 +
|-
 +
|timpani<br>timp.<br>timp||<font color=blue>timpani<br>timp.<br>timp</font>||{{CC|Timpani accompaniment}}
 +
|-
 +
|trumpet<br>trumpets<br>tr.<br>tr<br>trs.<br>trs||<font color=blue>trumpet<br>trumpets<br>tr.<br>tr<br>tru.<br>tru</font>||{{CC|Trumpet accompaniment}}
 +
|-
 +
|trombone<br>trombones<br>tromb.<br>tromb<br>trombs||<font color=blue>trombone<br>trombones<br>tromb.<br>tromb<br>trombs</font>||{{CC|Trombone accompaniment}}
 +
|-
 +
|violin<br>vioins||<font color=blue>violin<br>vioins</font>||{{CC|Violin accompaniment}}
 +
|-
 +
|violoncello<br>violoncellos<br>cello<br>cellos||<font color=blue>violoncello<br>violoncellos<br>cello<br>cellos</font>||{{CC|Cello accompaniment}}
 +
|-
 +
|viola<br>violas<br>viole<br>violes||<font color=blue>viola<br>violas<br>viole<br>violes</font>||{{CC|Viola accompaniment}}
 +
|-
 +
|viola da gamba<br>violas da gamba<br>viole da gamba<br>violes da gamba<br>viol<br>viol.<br>viol,<br>viol;||<font color=blue>viola da gamba<br>violas da gamba<br>viole da gamba<br>violes da gamba<br>viol<br>viol.<br>viol,<br>viol;</font>||{{CC|Viola da gamba accompaniment}}
 +
|-
 +
|viols<br>viols,<br>viols.<br>viols;<br>viol consort||<font color=blue>viols<br>viols,<br>viols.<br>viols;<br>viol consort</font>||{{CC|Viol consort accompaniment}}
 +
|-
 +
|wind ensemble<br>wind ens.<br>wind ens||<font color=blue>wind ensemble<br>wind ens.<br>wind ens</font>||{{CC|Wind ensemble accompaniment}}
 +
|-
 +
|winds||<font color=blue>winds</font>||{{CC|Wind ensemble accompaniment}}
 +
|-
 +
|}
 +
{{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}}
 
[[Category:DPL templates]]
 
[[Category:DPL templates]]
 
[[Category:Accompaniment templates]]
 
[[Category:Accompaniment templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 01:43, 7 May 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.
You type: Display Category
a capella
a cappella
a cap.
a capella
a cappella
a cap.
A cappella
basso continuo
continuo
b. cont.
b.cont.
b. c.
b.c.
basso continuo Basso continuo
brass brass Brass accompaniment
brass ensemble
brass ens.
brass ens
brass ensemble
brass ens.
brass ens
Brass ensemble
flute
flutes
flute
flutes
Flute accompaniment
guitar
guitars
classic guitar
classic guitars
guitar
guitars
classic guitar
classic guitars
Guitar accompaniment
harp
harps
harp
harps
Harp accompaniment
harpsichord
harpsichords
harpsichord
harpsichords
Harpsichord accompaniment
horn
horns
horn
horns
Horn accompaniment
keyboard
keyboards
keyboard
keyboards
Keyboard accompaniment
lute
lutes
lute
lutes
Lute accompaniment
mixed ensemble
mixed ens.
mixed ens
mixed ensemble
mixed ens.
mixed ens
Mixed ensemble accompaniment
orchestra
orchestras
chamber orchestra
chamber orchestra
orchestra
orchestras
chamber orchestra
chamber orchestra
Orchestra accompaniment
organ
organs
organo
organos
organ
organs
organo
organos
Organ accompaniment
piano
pianos
pianoforte
peanofortes
piano
pianos
pianoforte
peanofortes
Piano accompaniment
piano 4-hands
pianos 4-hands
piano 4-hands
pianos 4-hands
Piano 4-hands accompaniment
You type: Display Category
string ensemble
string ens.
string ens
string ensemble
string ens.
string ens
String ensemble accompaniment
timpani
timp.
timp
timpani
timp.
timp
Timpani accompaniment
trumpet
trumpets
tr.
tr
trs.
trs
trumpet
trumpets
tr.
tr
tru.
tru
Trumpet accompaniment
trombone
trombones
tromb.
tromb
trombs
trombone
trombones
tromb.
tromb
trombs
Trombone accompaniment
violin
vioins
violin
vioins
Violin accompaniment
violoncello
violoncellos
cello
cellos
violoncello
violoncellos
cello
cellos
Cello accompaniment
viola
violas
viole
violes
viola
violas
viole
violes
Viola accompaniment
viola da gamba
violas da gamba
viole da gamba
violes da gamba
viol
viol.
viol,
viol;
viola da gamba
violas da gamba
viole da gamba
violes da gamba
viol
viol.
viol,
viol;
Viola da gamba accompaniment
viols
viols,
viols.
viols;
viol consort
viols
viols,
viols.
viols;
viol consort
Viol consort accompaniment
wind ensemble
wind ens.
wind ens
wind ensemble
wind ens.
wind ens
Wind ensemble accompaniment
winds winds Wind ensemble accompaniment

Templates

If you type one of the following templates, it displays a link to a category as shown below.
  • {{A cappella}}Instruments: a cappella
  • {{Acap}}a cappella
  • {{BrassAcc}}Brass ensemble
  • {{BsCont}}Basso continuo
  • {{CelloAcc}}Violincello
  • {{FluteAcc}}Flute
  • {{GtrAcc}}Guitar
  • {{HarpAcc}}Harp
  • {{HpsichdAcc}}Harpsichord
  • {{JazzAcc}}Jazz band
  • {{KbdAcc}}Keyboard
  • {{KbdRed}} → Includes a keyboard reduction of the a cappella score.
  • {{KbdVer}} → Includes a keyboard version of the original accompaniment.
  • {{LuteAcc}}Lute
  • {{MxEnsAcc}}Mixed ensemble
  • {{OrchAcc}}Orchestra
  • {{OrgAcc}}Organ
  • {{PercAcc}}Percussion
  • {{PnoAcc}}Piano
  • {{StrAcc}}String Ensemble
  • {{ViolAcc}}Viol consort
  • {{ViolinAcc}}Violin
  • {{WindAcc}}Wind ensemble