Difference between revisions of "Template:Vcat"

From ChoralWiki
Jump to navigation Jump to search
m
(Multireplace -> replaceset)
Line 4: Line 4:
 
|{{#if: {{#pos:{{lc:{{{1|}}}}}|equal}}
 
|{{#if: {{#pos:{{lc:{{{1|}}}}}|equal}}
 
|[[Category:{{#explode:{{{1}}}}}-part choral music]]
 
|[[Category:{{#explode:{{{1}}}}}-part choral music]]
|{{#ifexpr: {{#len:{{#multireplace:{{lc:{{{1}}}}}|.=|unison=u|children=u}}}} < 17
+
|{{#ifexpr: {{#len:{{#replaceset:{{lc:{{{1}}}}}|.=|unison=u|children=u}}}} < 17
|[[Category:{{#len:{{#multireplace:{{lc:{{{1}}}}}|.=|unison=u|children=u}}}}-part choral music]]
+
|[[Category:{{#len:{{#replaceset:{{lc:{{{1}}}}}|.=|unison=u|children=u}}}}-part choral music]]
 
|[[Category:More than 16 voices]]
 
|[[Category:More than 16 voices]]
 
}} }} }}</includeonly><noinclude>{{Doc|text=
 
}} }} }}</includeonly><noinclude>{{Doc|text=

Revision as of 22:41, 3 January 2020

Documentation

Vcat stands for "VoiceCat". It is loosely based on {{cat}}, similarly creating a link to a category (in this case, a Voicing category). It also categorizes the work in one or more N-part choral music categories when appropriate.

Vcat is primarily used inside templates {{Voicing}} and {{MultiVoicing}}, but can also be used inside works pages, in combination with one of these templates.

Example:

{{Voicing|4|SATB, TTBB}} with {{vcat|SSAATB}} in some parts