Difference between revisions of "Template:MultiChoirVoicingCat"

From ChoralWiki
Jump to navigation Jump to search
(oops, added categorization in aggregate voicing category)
(made 1st parameter optional (along with 2nd already made optional previously))
Line 1: Line 1:
<includeonly>This subcategory of the voicing category {{CiteCat|{{{1}}}}} lists works composed for {{NumChoirs|{{{2|{{PAGENAME}}}}}}} choirs voiced
+
<includeonly>This subcategory of the voicing category {{CiteCat|{{CollectVoices|{{{1|{{PAGENAME}}}}}}}}} lists works composed for {{NumChoirs|{{{1|{{PAGENAME}}}}}}} choirs voiced
 
{{#if:
 
{{#if:
 
{{#explode: {{{2|{{PAGENAME}}}}}|.|-6}} |{{#explode: {{{2|{{PAGENAME}}}}}|.|-6}}, }}{{#if:
 
{{#explode: {{{2|{{PAGENAME}}}}}|.|-6}} |{{#explode: {{{2|{{PAGENAME}}}}}|.|-6}}, }}{{#if:
Line 10: Line 10:
 
|{{{2|{{PAGENAME}}}}}}},{{VoiceCode
 
|{{{2|{{PAGENAME}}}}}}},{{VoiceCode
 
|{{{2|{{PAGENAME}}}}}}}]]
 
|{{{2|{{PAGENAME}}}}}}}]]
[[Category:{{{1}}}| {{NumChoirs
+
[[Category:{{CollectVoices|{{{1|{{PAGENAME}}}}}}}| {{NumChoirs
 
|{{{2|{{PAGENAME}}}}}}}choir,{{ChoirSizes
 
|{{{2|{{PAGENAME}}}}}}}choir,{{ChoirSizes
 
|{{{2|{{PAGENAME}}}}}}},{{VoiceCode
 
|{{{2|{{PAGENAME}}}}}}},{{VoiceCode
Line 17: Line 17:
 
{{prot-temp}}
 
{{prot-temp}}
 
{{DisplayBox
 
{{DisplayBox
|This template provides the material that appears on a voicing category page for voicings with two or more choirs.  The first (required) parameter is the parent (aggregate) voicing (eg. SSAATTBB for SSAT.ATBB), and the second (optional) parameter is multiple choir voicing (eg. SSAT.ATBB) which defaults to the PAGENAME for the category.  For example,
+
|This template provides the material that appears on a voicing category page for voicings with two or more choirs.  A first (optional) parameter is the parent (aggregate) voicing (eg. SSAATTBB for SSAT.ATBB), and a second (optional) parameter is multiple choir voicing (eg. SSAT.ATBB). Both parameters default to the PAGENAME for the category.  For example,
 
<pre>{{MultiChoirVoicingCat|SSAATTBB|SSAT.ATBB}}</pre>
 
<pre>{{MultiChoirVoicingCat|SSAATTBB|SSAT.ATBB}}</pre>
 
or, on the Category page for SSAT.ATBB, simply
 
or, on the Category page for SSAT.ATBB, simply
 
<pre>{{MultiChoirVoicingCat|SSAATTBB}}</pre>
 
<pre>{{MultiChoirVoicingCat|SSAATTBB}}</pre>
 +
or even
 +
<pre>{{MultiChoirVoicingCat}}</pre>
 
produces the text
 
produces the text
  

Revision as of 15:22, 27 June 2010

This template provides the material that appears on a voicing category page for voicings with two or more choirs. A first (optional) parameter is the parent (aggregate) voicing (eg. SSAATTBB for SSAT.ATBB), and a second (optional) parameter is multiple choir voicing (eg. SSAT.ATBB). Both parameters default to the PAGENAME for the category. For example,

{{MultiChoirVoicingCat|SSAATTBB|SSAT.ATBB}}

or, on the Category page for SSAT.ATBB, simply

{{MultiChoirVoicingCat|SSAATTBB}}

or even

{{MultiChoirVoicingCat}}

produces the text

This subcategory of the voicing category SSAATTBB lists works composed for 2 choirs voiced SSAT and ATBB, respectively.

Also, the page is categorized in 8 part choral music and in SSAATTBB with the appropriate sortkey 2choir,4-4,1123.2344