Template:Voicing: Difference between revisions
Jump to navigation
Jump to search
Documentation
No edit summary |
(optional "add" parameter for appending any other voicing info) |
||
Line 12: | Line 12: | ||
|{{#if:{{#explode:{{{2}}}|,|1}} |'''Voicings:''' {{vcat|{{#explode:{{{2}}}|,|0}}}} or {{vcat|{{#explode:{{{2}}}|,|1}}}} | |{{#if:{{#explode:{{{2}}}|,|1}} |'''Voicings:''' {{vcat|{{#explode:{{{2}}}|,|0}}}} or {{vcat|{{#explode:{{{2}}}|,|1}}}} | ||
|'''Voicing:''' {{#if:{{{3|}}} | {{vcat|{{{2}}}|{{{3}}}}} | {{vcat|{{{2}}}}} }} }} }} }} }} }}<!-- else --> | |'''Voicing:''' {{#if:{{{3|}}} | {{vcat|{{{2}}}|{{{3}}}}} | {{vcat|{{{2}}}}} }} }} }} }} }} }}<!-- else --> | ||
|'''Voicing:''' {{cat|Unknown voicing|{{{3|Unknown}}} }} }}<br></includeonly><noinclude>{{prot-temp}} | |'''Voicing:''' {{cat|Unknown voicing|{{{3|Unknown}}} }} }}{{#if:{{{add|}}} | {{{add}}} }}<br></includeonly><noinclude>{{prot-temp}} | ||
{{Doc|1= | {{Doc|1= | ||
Line 31: | Line 31: | ||
:: '''Number of voices:''' 4vv '''Voicing:''' {{CC|SATB|SATB divisi}} | :: '''Number of voices:''' 4vv '''Voicing:''' {{CC|SATB|SATB divisi}} | ||
:and inserts the page in [[:category:SATB]] | :and inserts the page in [[:category:SATB]] | ||
'''Optinal 'add' parameter''' | |||
:use <nowiki>add=<any text></nowiki> to append any text (which may include templates such as {{tl|vcat}}) at the end of the voicing specification; e.g. | |||
*<tt><nowiki>{{Voicing|5|SATBB|SATBarB|add=with optional S {{pcat|descant|s}} }}</nowiki></tt> | |||
===See also=== | ===See also=== | ||
* [[Template:MultiVoicing]] | * [[Template:MultiVoicing]] | ||
}} | }} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 15:42, 5 July 2021
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. |
Syntax with required first and second parameters:
- {{Voicing|5|SSATB}}
- which produces the text
- Number of voices: 5vv Voicing: SSATB
- and inserts the page in category:SSATB
- {{Voicing|3|ATB,SSA,STB}}
- which produces the text
- and inserts the page in category:ATB, category:SSA and category:STB
Syntax with required parameters and optional third parameter:
- {{Voicing|4|SATB|SATB divisi}}
- which produces the text
- Number of voices: 4vv Voicing: SATB divisi
- and inserts the page in category:SATB
Optinal 'add' parameter
- use add=<any text> to append any text (which may include templates such as {{vcat}}) at the end of the voicing specification; e.g.
- {{Voicing|5|SATBB|SATBarB|add=with optional S {{pcat|descant|s}} }}