Template:MultiVoicing: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(prot-temp template added, begin documentation)
mNo edit summary
Line 1: Line 1:
'''Voicing{{#switch: {{{n|1}}}| 1=|s}}:''' {{#switch: {{{v|{{{1}}}}}}
'''Number of voices:''' {{#switch: {{{v|{{{1}}}}}}
| 1=1v
| 1=1v
| {{{v|{{{1}}}}}}vv
| {{{v|{{{1}}}}}}vv
}}.   {{#switch: {{{n|1}}}
}}.   '''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|}}}, {{cat|{{{2nd}}}|{{{var2nd|{{{2nd}}}}}}|9={{{9|{{PAGENAME}}}}}}}{{{2nd_add|}}}
Line 23: Line 23:
produces
produces


'''Voicing:''' 4vv.   {{CiteCat|SATB|SATB ''divisi''}}
'''Number of voices:''' 4vv.   '''Voicing:''' {{CiteCat|SATB|SATB ''divisi''}}


and categorizes the page in {{CiteCat|SATB}} with sortkey="Haven, The"
and categorizes the page in {{CiteCat|SATB}} with sortkey="Haven, The"

Revision as of 23:24, 19 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 voicings on choral works pages, eg. pages for which there are, say, SSAA, SATB, and TTBB editions of a work.

Syntax examples:

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