Template:Vcat: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(much simpler - probably didn't think of this before because I was using {{cat}})
(test with template Solo)
Line 1: Line 1:
<includeonly>[[:Category:{{{1}}}|{{{2|{{{1}}}}}}]] {{#if:{{NAMESPACE}}| |[[Category:{{{1}}}]]}}<!--
<includeonly>[[:Category:{{{1}}}|{{{2|{{Solo|{{{1}}}}}}}}]] {{#if:{{NAMESPACE}}| |[[Category:{{{1}}}]]}}<!--
-->{{#if: {{#pos:{{lc:{{{1|}}}}}|sol}}{{NAMESPACE}}
-->{{#if: {{#pos:{{lc:{{{1|}}}}}|sol}}{{NAMESPACE}}
|<!--if it's a Solo category OR Vcat is used on any namespace other than Main, then do not categorize-->
|<!--if it's a Solo category OR Vcat is used on any namespace other than Main, then do not categorize-->

Revision as of 06:22, 23 June 2015

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