Template:VoiceCode: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(returns a numeric code (S=1,A=2,T=3,B=4) so that {{VoiceCode|SSAT.ATBB}} = 1123.2344)
 
m (Text replace - "{{PAGENAME}}" to "Category:Templates")
Line 1: Line 1:
{{#multireplace:{{{1|}}}|S=1|A=2|T=3|B=4}}<noinclude>
{{#multireplace:{{{1|}}}|S=1|A=2|T=3|B=4}}<noinclude>
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates]]
{{prot-temp}}
{{prot-temp}}
{{DisplayBox
{{DisplayBox

Revision as of 06:45, 1 June 2015

{{#multireplace:|S=1|A=2|T=3|B=4}}

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