Difference between revisions of "Template:VoiceCode"

From ChoralWiki
Jump to navigation Jump to search
(Multireplace -> replaceset)
m (Text replacement - "Category:Templates]]" to "Category:DPL templates]] Category:Templates")
Line 1: Line 1:
 
{{#replaceset:{{{1|}}}|S=1|A=2|T=3|B=4}}<noinclude>
 
{{#replaceset:{{{1|}}}|S=1|A=2|T=3|B=4}}<noinclude>
 +
[[Category:DPL templates]]
 
[[Category:Templates]]
 
[[Category:Templates]]
 
{{prot-temp}}
 
{{prot-temp}}

Revision as of 04:39, 5 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