Template:NumParts: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(counts the number of parts in a voicing ... eg. {{NumParts|SSAT.ATTB}} = 8)
 
(remove space)
Line 4: Line 4:
  + {{#len: {{#explode: {{{1|}}}|.|3}}}}
  + {{#len: {{#explode: {{{1|}}}|.|3}}}}
  + {{#len: {{#explode: {{{1|}}}|.|4}}}}
  + {{#len: {{#explode: {{{1|}}}|.|4}}}}
  + {{#len: {{#explode: {{{1|}}}|.|5}}}} }}
  + {{#len: {{#explode: {{{1|}}}|.|5}}}} }}<noinclude>
<noinclude>
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]
{{prot-temp}}
{{prot-temp}}

Revision as of 16:29, 26 June 2010

0

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

{{NumParts|SSAT.ATTB}}

returns 8.