Difference between revisions of "Template:MultiChoirVoicingCat"

From ChoralWiki
Jump to navigation Jump to search
(Category header templates)
(up to 8 choirs)
 
Line 1: Line 1:
 
<includeonly>This subcategory of the voicing category {{#ifexist: Category:{{CollectVoices|{{{1|{{PAGENAME}}}}}}}|{{CiteCat|{{CollectVoices|{{{1|{{PAGENAME}}}}}}}}}|{{CollectVoices|{{{1|{{PAGENAME}}}}}}}<sup>[{{fullurl:Category:{{CollectVoices|{{{1|{{PAGENAME}}}}}}}|action=edit&preload=Template:OneChoirVoicingCat/Preload}} create page]</sup>}} lists works composed for {{NumChoirs|{{{1|{{PAGENAME}}}}}}} choirs voiced
 
<includeonly>This subcategory of the voicing category {{#ifexist: Category:{{CollectVoices|{{{1|{{PAGENAME}}}}}}}|{{CiteCat|{{CollectVoices|{{{1|{{PAGENAME}}}}}}}}}|{{CollectVoices|{{{1|{{PAGENAME}}}}}}}<sup>[{{fullurl:Category:{{CollectVoices|{{{1|{{PAGENAME}}}}}}}|action=edit&preload=Template:OneChoirVoicingCat/Preload}} create page]</sup>}} lists works composed for {{NumChoirs|{{{1|{{PAGENAME}}}}}}} choirs voiced
 
{{#if:
 
{{#if:
 +
{{#explode: {{{2|{{PAGENAME}}}}}|.|-8}} |{{#explode: {{{2|{{PAGENAME}}}}}|.|-8}},&nbsp;}}{{#if:
 +
{{#explode: {{{2|{{PAGENAME}}}}}|.|-7}} |{{#explode: {{{2|{{PAGENAME}}}}}|.|-7}},&nbsp;}}{{#if:
 
{{#explode: {{{2|{{PAGENAME}}}}}|.|-6}} |{{#explode: {{{2|{{PAGENAME}}}}}|.|-6}},&nbsp;}}{{#if:
 
{{#explode: {{{2|{{PAGENAME}}}}}|.|-6}} |{{#explode: {{{2|{{PAGENAME}}}}}|.|-6}},&nbsp;}}{{#if:
 
{{#explode: {{{2|{{PAGENAME}}}}}|.|-5}} |{{#explode: {{{2|{{PAGENAME}}}}}|.|-5}},&nbsp;}}{{#if:
 
{{#explode: {{{2|{{PAGENAME}}}}}|.|-5}} |{{#explode: {{{2|{{PAGENAME}}}}}|.|-5}},&nbsp;}}{{#if:

Latest revision as of 04:26, 26 May 2020


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