Template:Voicing: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(optional "add" parameter for appending any other voicing info)
mNo edit summary
Line 9: Line 9:
|{{#if:{{#explode:{{{2}}}|,|4}} |'''Voicings:''' {{vcat|{{#explode:{{{2}}}|,|0}}}}, {{vcat|{{#explode:{{{2}}}|,|1}}}}, {{vcat|{{#explode:{{{2}}}|,|2}}}}, {{vcat|{{#explode:{{{2}}}|,|3}}}} or {{vcat|{{#explode:{{{2}}}|,|4}}}}
|{{#if:{{#explode:{{{2}}}|,|4}} |'''Voicings:''' {{vcat|{{#explode:{{{2}}}|,|0}}}}, {{vcat|{{#explode:{{{2}}}|,|1}}}}, {{vcat|{{#explode:{{{2}}}|,|2}}}}, {{vcat|{{#explode:{{{2}}}|,|3}}}} or {{vcat|{{#explode:{{{2}}}|,|4}}}}
|{{#if:{{#explode:{{{2}}}|,|3}} |'''Voicings:''' {{vcat|{{#explode:{{{2}}}|,|0}}}}, {{vcat|{{#explode:{{{2}}}|,|1}}}}, {{vcat|{{#explode:{{{2}}}|,|2}}}} or {{vcat|{{#explode:{{{2}}}|,|3}}}}
|{{#if:{{#explode:{{{2}}}|,|3}} |'''Voicings:''' {{vcat|{{#explode:{{{2}}}|,|0}}}}, {{vcat|{{#explode:{{{2}}}|,|1}}}}, {{vcat|{{#explode:{{{2}}}|,|2}}}} or {{vcat|{{#explode:{{{2}}}|,|3}}}}
|{{#if:{{#explode:{{{2}}}|,|2}} |'''Voicings:''' {{vcat|{{#explode:{{{2}}}|,|0}}}}, {{vcat|{{#explode:{{{2}}}|,|1}}}} or {{vcat|{{#explode:{{{2}}}|,|2}}}}
|{{#if:{{#explode:{{{2}}}|,|2}} |'''Voicings:''' {{vcat|{{#explode:{{{2}}}|,|0}}}}, {{vcat|{{#explode:{{{2}}}|,|1}}}} or {{vcat|{{#explode:{{{2}}}|,|2}}}};
|{{#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}}} }} }}{{#if:{{{add|}}} | {{{add}}} }}<br></includeonly><noinclude>{{prot-temp}}
|'''Voicing:''' {{cat|Unknown voicing|{{{3|Unknown}}} }} }}{{#if:{{{add|}}} | ; {{{add}}} }}<br></includeonly><noinclude>{{prot-temp}}
{{Doc|1=
{{Doc|1=



Revision as of 15:45, 5 July 2021

Documentation

Syntax with required first and second parameters:

which produces the text
Number of voices: 5vv   Voicing: SSATB
and inserts the page in category:SSATB
which produces the text
Number of voices: 3vv   Voicings: ATB, SSA or STB
and inserts the page in category:ATB, category:SSA and category:STB

Syntax with required parameters and optional third parameter:

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}} }}

See also