Template:Vcat: Difference between revisions
Jump to navigation
Jump to search
Documentation
(Multireplace -> replaceset) |
(expand to include up to 40 voices) |
||
(2 intermediate revisions by 2 users not shown) | |||
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:{{#replaceset:{{lc:{{{1}}}}}|.=|unison=u|children=u}}}} < | |{{#ifexpr: {{#len:{{#replaceset:{{lc:{{{1}}}}}|.=|unison=u|children=u}}}} < 41 | ||
|[[Category:{{#len:{{#replaceset:{{lc:{{{1}}}}}|.=|unison=u|children=u}}}}-part choral music]] | |[[Category:{{#len:{{#replaceset:{{lc:{{{1}}}}}|.=|unison=u|children=u}}}}-part choral music]] | ||
|[[Category:More than | |[[Category:More than 40 voices]] | ||
}} }} }}</includeonly><noinclude>{{Doc|text= | }} }} }}</includeonly><noinclude>{{Doc|text= | ||
Vcat stands for "VoiceCat". It is loosely based on {{tl|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 stands for "VoiceCat". It is loosely based on {{tl|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. | ||
Line 16: | Line 16: | ||
{{tl|Voicing|4|SATB, TTBB}} with {{tl|vcat|SSAATB}} in some parts | {{tl|Voicing|4|SATB, TTBB}} with {{tl|vcat|SSAATB}} in some parts | ||
}} | }} | ||
[[Category:DPL templates]] | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 03:19, 26 May 2020
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: