Template:NumChoirs: Difference between revisions
Jump to navigation
Jump to search
(better, more compact code, no limits on number of choirs) |
m (Text replace - "{{PAGENAME}}" to "Category:Templates") |
||
Line 1: | Line 1: | ||
<includeonly>{{#expr:{{#len:{{{1|}}}}}-{{#len:{{#replace:{{{1|}}}|.|}}}}+1}}</includeonly><noinclude> | <includeonly>{{#expr:{{#len:{{{1|}}}}}-{{#len:{{#replace:{{{1|}}}|.|}}}}+1}}</includeonly><noinclude> | ||
[[Category:Templates | [[Category:Templates]] | ||
{{prot-temp}} | {{prot-temp}} | ||
{{DisplayBox | {{DisplayBox |
Latest revision as of 06:45, 1 June 2015
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. |
Usage: Returns the number of choirs in a voicing specification. Thus,
{{NumChoirs|SA.TB.ATB}}
returns 3.