Template:MultiVoicing: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(more documentation)
m (put long voicing code inside "includeonly")
Line 2: Line 2:
| 1=1v
| 1=1v
| {{{v|{{{1}}}}}}vv
| {{{v|{{{1}}}}}}vv
}}{{{v_add|}}}.   '''Voicing{{#switch: {{{n|1}}}| 1=|s}}:''' {{#switch: {{{n|1}}}
}}{{{v_add|}}}. &nbsp; '''Voicing{{#switch: {{{n|1}}}| 1=|s}}:''' <includeonly>{{#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|}}} and {{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|}}}
Line 9: Line 9:
| 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|}}} and {{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>
}}</includeonly><noinclude>
{{prot-temp}}
{{prot-temp}}
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]

Revision as of 16:01, 20 November 2008

Number of voices: {{{1}}}vv.   Voicing:

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}}