Template:Voicing: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(updated doc)
(an if is necessary)
Line 11: Line 11:
|{{#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:''' {{vcat|{{{2}}}|{{{3|{{{2}}}}}}}} }} }} }} }} }}
|'''Voicing:''' {{#if:{{{3|}}} | {{vcat|{{{2}}}|{{{3}}}}} | {{vcat|{{{2}}}}} }} }} }} }} }} }}<!-- else -->
|'''Voicing:''' {{cat|Unknown voicing|{{{3|Unknown}}}}} }}</includeonly><noinclude>{{prot-temp}}<br>
|'''Voicing:''' {{cat|Unknown voicing|{{{3|Unknown}}} }} }}<!-- endif --></includeonly><noinclude>{{prot-temp}}<br>
{{Doc|1=
{{Doc|1=



Revision as of 18:14, 24 June 2015


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

See also