Template:CollectVoices: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(converts eg. "SSAT.ATBB" to "SSAATTBB")
 
(Removed category: DPL templates)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#multireplace: {{{1}}} |A=|T=|B=|.=}}{{#multireplace: {{{1}}} |S=|T=|B=|.=}}{{#multireplace: {{{1}}} |A=|S=|B=|.=}}{{#multireplace: {{{1}}} |A=|T=|S=|.=}}</includeonly><noinclude>
<includeonly>{{#replaceset: {{{1}}} |A=|T=|B=|.=}}{{#replaceset: {{{1}}} |S=|T=|B=|.=}}{{#replaceset: {{{1}}} |A=|S=|B=|.=}}{{#replaceset: {{{1}}} |A=|T=|S=|.=}}</includeonly><noinclude>
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates]]
{{prot-temp}}
{{prot-temp}}
{{DisplayBox
{{DisplayBox
|'''Usage:'''  This template converts a multiple choir voicing to its (sorted) single choir counterpart.  For example,
|'''Usage:'''  This template converts a multiple choir voicing to its (sorted) single choir counterpart.  For example,
<pre>{{CollectVoices|SSAT.SATB.ATBB}}</pre>
<pre>{{CollectVoices|SSAT.SATB.ATBB}}</pre>
produces <tt>{{CollectVoices{{!}}SSAT.SATB.ATBB}}</tt>.
produces <tt>SSSAAATTTBBB</tt>.
}}
}}
</noinclude>

Latest revision as of 19:47, 22 November 2020

Usage: This template converts a multiple choir voicing to its (sorted) single choir counterpart. For example,

{{CollectVoices|SSAT.SATB.ATBB}}

produces SSSAAATTTBBB.