Template:MultiVoicing: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
mNo edit summary
(more documentation)
Line 2: Line 2:
| 1=1v
| 1=1v
| {{{v|{{{1}}}}}}vv
| {{{v|{{{1}}}}}}vv
}}.   '''Voicing{{#switch: {{{n|1}}}| 1=|s}}:''' {{#switch: {{{n|1}}}
}}{{{v_add|}}}.   '''Voicing{{#switch: {{{n|1}}}| 1=|s}}:''' {{#switch: {{{n|1}}}
| 1={{cat|{{{1st}}}|{{{var1st|{{{1st}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{1st_add|}}}
| 1={{cat|{{{1st}}}|{{{var1st|{{{1st}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{1st_add|}}}
| 2={{cat|{{{1st}}}|{{{var1st|{{{1st}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{1st_add|}}}, {{cat|{{{2nd}}}|{{{var2nd|{{{2nd}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{2nd_add|}}}
| 2={{cat|{{{1st}}}|{{{var1st|{{{1st}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{1st_add|}}} and {{cat|{{{2nd}}}|{{{var2nd|{{{2nd}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{2nd_add|}}}
| 3={{cat|{{{1st}}}|{{{var1st|{{{1st}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{1st_add|}}}, {{cat|{{{2nd}}}|{{{var2nd|{{{2nd}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{2nd_add|}}}, {{cat|{{{3rd}}}|{{{var3rd|{{{3rd}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{3rd_add|}}}
| 3={{cat|{{{1st}}}|{{{var1st|{{{1st}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{1st_add|}}}, {{cat|{{{2nd}}}|{{{var2nd|{{{2nd}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{2nd_add|}}} and {{cat|{{{3rd}}}|{{{var3rd|{{{3rd}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{3rd_add|}}}
| 4={{cat|{{{1st}}}|{{{var1st|{{{1st}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{1st_add|}}}, {{cat|{{{2nd}}}|{{{var2nd|{{{2nd}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{2nd_add|}}}, {{cat|{{{3rd}}}|{{{var3rd|{{{3rd}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{3rd_add|}}}, {{cat|{{{4th}}}|{{{var4th|{{{4th}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{4th_add|}}}
| 4={{cat|{{{1st}}}|{{{var1st|{{{1st}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{1st_add|}}}, {{cat|{{{2nd}}}|{{{var2nd|{{{2nd}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{2nd_add|}}}, {{cat|{{{3rd}}}|{{{var3rd|{{{3rd}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{3rd_add|}}} and {{cat|{{{4th}}}|{{{var4th|{{{4th}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{4th_add|}}}
| 5={{cat|{{{1st}}}|{{{var1st|{{{1st}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{1st_add|}}}, {{cat|{{{2nd}}}|{{{var2nd|{{{2nd}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{2nd_add|}}}, {{cat|{{{3rd}}}|{{{var3rd|{{{3rd}}}}}}|9={{{9|{{PAGENAME}}}}}}}
| 5={{cat|{{{1st}}}|{{{var1st|{{{1st}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{1st_add|}}}, {{cat|{{{2nd}}}|{{{var2nd|{{{2nd}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{2nd_add|}}}, {{cat|{{{3rd}}}|{{{var3rd|{{{3rd}}}}}}|9={{{9|{{PAGENAME}}}}}}}
{{{3rd_add|}}}, {{cat|{{{4th}}}|{{{var4th|{{{4th}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{4th_add|}}}, {{cat|{{{5th}}}|{{{var5th|{{{5th}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{5th_add|}}}
{{{3rd_add|}}}, {{cat|{{{4th}}}|{{{var4th|{{{4th}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{4th_add|}}} and {{cat|{{{5th}}}|{{{var5th|{{{5th}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{5th_add|}}}
}}<noinclude>
}}<noinclude>
{{prot-temp}}
{{prot-temp}}
Line 15: Line 15:
{{DisplayBox
{{DisplayBox
|text=
|text=
<center>'''Documentation'''</center>
<center>'''<big>Documentation'''</big></center>


The purpose of this template is to provide for alternate/multiple voicings on choral works pages, eg. pages for which there are, say, SSAA, SATB, and TTBB editions of a work.
The purpose of this template is to provide for alternate/multiple (up to five) voicings on choral works pages, eg. pages for which there are, say, SSAA, SATB, and TTBB editions of a work.


'''Syntax examples:'''
'''Syntax examples:'''
Here is a rather comprehensive (albeit probably arcane) example:
<pre>{{MultiVoicing
|v=8
|v_add=&nbsp;plus 8 soli
|n=2
|1st=SAATTTBB
|var1st=TrMzCtCtTBarBarB
|2nd=SSAATTBB
|var2nd=SSMzATTBarB
|2nd_add=, both with soli in each part
|9=Maria salvatoris Mater, O}}</pre>
This produces:
'''Number of voices:''' 8vv plus 8 soli. &nbsp; '''Voicings:''' {{CiteCat|SAATTTBB|TrMzCtCtTBarBarB}} and {{CiteCat|SSAATTBB|SSMzATTBarB}}, both with soli in each part.
The work is categorized in {{CiteCat|SAATTTBB}} and in {{CiteCat|SSAATTBB}}, both with sortkey "Maria salvatoris Mater, O".
This example shows how [[Template:MultiVoicing]] can emulate [[Template:Voicing]]:
<pre>{{MultiVoicing|4|1st=SATB|var1st=SATB ''divisi''|9=Haven, The}}</pre>
<pre>{{MultiVoicing|4|1st=SATB|var1st=SATB ''divisi''|9=Haven, The}}</pre>
produces
produces

Revision as of 15:57, 20 November 2008

Number of voices: {{{1}}}vv.   Voicing: [[:Category:{{{1st}}}|{{{1st}}}]][[Category:{{{1st}}}]]

Documentation

The purpose of this template is to provide for alternate/multiple (up to five) voicings on choral works pages, eg. pages for which there are, say, SSAA, SATB, and TTBB editions of a work.

Syntax examples:

Here is a rather comprehensive (albeit probably arcane) example:

{{MultiVoicing
|v=8
|v_add= plus 8 soli
|n=2
|1st=SAATTTBB
|var1st=TrMzCtCtTBarBarB
|2nd=SSAATTBB
|var2nd=SSMzATTBarB
|2nd_add=, both with soli in each part
|9=Maria salvatoris Mater, O}}

This produces:

Number of voices: 8vv plus 8 soli.   Voicings: TrMzCtCtTBarBarB and SSMzATTBarB, both with soli in each part.

The work is categorized in SAATTTBB and in SSAATTBB, both with sortkey "Maria salvatoris Mater, O".

This example shows how Template:MultiVoicing can emulate Template:Voicing:

{{MultiVoicing|4|1st=SATB|var1st=SATB ''divisi''|9=Haven, The}}

produces

Number of voices: 4vv.   Voicing: SATB divisi

and categorizes the page in SATB with sortkey="Haven, The"

This construct is completely equivalent to

{{Voicing|4|SATB|SATB ''divisi''|9=The Haven}}