Template:NumParts: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(greatly simplify the code using replace, and add missing </noinclude> at the end)
m (Text replace - "{{PAGENAME}}" to "Category:Templates")
 
Line 1: Line 1:
{{#len:{{#replace:{{{1|}}}|.|}}}}<noinclude>
{{#len:{{#replace:{{{1|}}}|.|}}}}<noinclude>
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates]]
{{prot-temp}}
{{prot-temp}}
{{DisplayBox
{{DisplayBox

Latest revision as of 06:44, 1 June 2015

0

Usage: This template returns the number of parts in a voicing specification. For example,

{{NumParts|SSAT.ATTB}}

returns 8.