Template:VoiceCode: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
m (Text replace - "{{PAGENAME}}" to "Category:Templates")
(Multireplace -> replaceset)
Line 1: Line 1:
{{#multireplace:{{{1|}}}|S=1|A=2|T=3|B=4}}<noinclude>
{{#replaceset:{{{1|}}}|S=1|A=2|T=3|B=4}}<noinclude>
[[Category:Templates]]
[[Category:Templates]]
{{prot-temp}}
{{prot-temp}}
Line 5: Line 5:
|'''Usage:'''  This converts S to 1, A to 2, T to 3 and B to 4 in a voicing specification.  For example,
|'''Usage:'''  This converts S to 1, A to 2, T to 3 and B to 4 in a voicing specification.  For example,
<pre>{{VoiceCode|SAT.SAB.ATB}}</pre>
<pre>{{VoiceCode|SAT.SAB.ATB}}</pre>
returns the string <tt>123.124.234</tt>
returns the string <tt>{{VoiceCode|SAT.SAB.ATB}}</tt>
}}
}}
</noinclude>
</noinclude>

Revision as of 22:42, 3 January 2020

Usage: This converts S to 1, A to 2, T to 3 and B to 4 in a voicing specification. For example,

{{VoiceCode|SAT.SAB.ATB}}

returns the string 123.124.234