Template:MultiChoirVoicingCat: Difference between revisions
Jump to navigation
Jump to search
(text to appear on voicing category pages for multiple choir voicings) |
No edit summary |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>This subcategory of the voicing category {{CiteCat|{{{ | <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: {{{ | {{#explode: {{{2|{{PAGENAME}}}}}|.|-8}} |{{#explode: {{{2|{{PAGENAME}}}}}|.|-8}}, }}{{#if: | ||
{{#explode: {{{ | {{#explode: {{{2|{{PAGENAME}}}}}|.|-7}} |{{#explode: {{{2|{{PAGENAME}}}}}|.|-7}}, }}{{#if: | ||
{{#explode: {{{ | {{#explode: {{{2|{{PAGENAME}}}}}|.|-6}} |{{#explode: {{{2|{{PAGENAME}}}}}|.|-6}}, }}{{#if: | ||
{{#explode: {{{ | {{#explode: {{{2|{{PAGENAME}}}}}|.|-5}} |{{#explode: {{{2|{{PAGENAME}}}}}|.|-5}}, }}{{#if: | ||
{{#explode: {{{2|{{PAGENAME}}}}}|.|-4}} |{{#explode: {{{2|{{PAGENAME}}}}}|.|-4}}, }}{{#if: | |||
{{#explode: {{{2|{{PAGENAME}}}}}|.|-3}} |{{#explode: {{{2|{{PAGENAME}}}}}|.|-3}}, }}{{#explode: {{{2|{{PAGENAME}}}}}|.|-2}} and {{#explode: {{{2|{{PAGENAME}}}}}|.|-1}}, respectively. | |||
[[Category:{{NumParts|{{{ | [[Category:{{NumParts|{{{2|{{PAGENAME}}}}}}}-part choral music| {{NumChoirs | ||
|{{{ | |{{{2|{{PAGENAME}}}}}}}choir,{{ChoirSizes | ||
|{{{ | |{{{2|{{PAGENAME}}}}}}},{{VoiceCode | ||
|{{{ | |{{{2|{{PAGENAME}}}}}}}]] | ||
[[Category: | [[Category:{{CollectVoices|{{{1|{{PAGENAME}}}}}}}| {{NumChoirs | ||
{{ | |{{{2|{{PAGENAME}}}}}}}choir,{{ChoirSizes | ||
|{{{2|{{PAGENAME}}}}}}},{{VoiceCode | |||
|{{{2|{{PAGENAME}}}}}}}]]</includeonly><noinclude> | |||
{{DisplayBox | {{DisplayBox | ||
|This template provides the material that appears on a voicing category page for voicings with two or more choirs. | |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|SSAT.ATBB|SSAATTBB}}</pre> | <pre>{{MultiChoirVoicingCat|SSAATTBB|SSAT.ATBB}}</pre> | ||
or, on the Category page for SSAT.ATBB, simply | |||
<pre>{{MultiChoirVoicingCat|SSAATTBB}}</pre> | |||
or even | |||
<pre>{{MultiChoirVoicingCat}}</pre> | |||
produces the text | produces the text | ||
:This subcategory of the voicing category {{CiteCat|SSAATTBB}} lists works composed for 2 choirs voiced SSAT and ATBB, respectively. | :This subcategory of the voicing category {{CiteCat|SSAATTBB}} lists works composed for 2 choirs voiced SSAT and ATBB, respectively. | ||
Also, the page is categorized in {{CiteCat|8 part choral music}} with the appropriate sortkey | Also, the page is categorized in {{CiteCat|8-part choral music}} and in {{CiteCat|SSAATTBB}} with the appropriate sortkey | ||
<tt> 2choir,4-4,1123.2344</tt> | <tt> 2choir,4-4,1123.2344</tt> | ||
}} | }} | ||
{{prot-temp}} | |||
[[Category:Category header templates]] | |||
[[Category:Voicing templates]] | |||
</noinclude> |
Latest revision as of 15:30, 6 July 2021
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
This high-risk template has been protected from editing to prevent vandalism. Please use the talk page to ask an administrator about making an edit to change this template. |