Template:NumParts: Difference between revisions
Jump to navigation
Jump to search
(remove space) |
(greatly simplify the code using replace, and add missing </noinclude> at the end) |
||
Line 1: | Line 1: | ||
{{#len:{{#replace:{{{1|}}}|.|}}}}<noinclude> | |||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
{{prot-temp}} | {{prot-temp}} | ||
Line 12: | Line 7: | ||
returns 8. | returns 8. | ||
}} | }} | ||
</noinclude> |
Revision as of 15:43, 19 December 2010
0
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: This template returns the number of parts in a voicing specification. For example,
{{NumParts|SSAT.ATTB}}
returns 8.