Template:Voicing: Difference between revisions
Jump to navigation
Jump to search
Documentation
(added example) |
(replaced cat with vcat) |
||
Line 2: | Line 2: | ||
|case: 1=1v | |case: 1=1v | ||
|default={{{1}}}vv}} {{#if:{{{2|}}} | |default={{{1}}}vv}} {{#if:{{{2|}}} | ||
|{{#if:{{#explode:{{{2}}}|,|5}} |'''Voicings:''' {{ | |{{#if:{{#explode:{{{2}}}|,|5}} |'''Voicings:''' {{vcat|{{#explode:{{{2}}}|,|0}}}}, {{vcat|{{#explode:{{{2}}}|,|1}}}}, {{vcat|{{#explode:{{{2}}}|,|2}}}}, {{vcat|{{#explode:{{{2}}}|,|3}}}}, {{vcat|{{#explode:{{{2}}}|,|4}}}} or {{vcat|{{#explode:{{{2}}}|,|5}}}} | ||
|{{#if:{{#explode:{{{2}}}|,|4}} |'''Voicings:''' {{ | |{{#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:''' {{ | |{{#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:''' {{ | |{{#if:{{#explode:{{{2}}}|,|2}} |'''Voicings:''' {{vcat|{{#explode:{{{2}}}|,|0}}}}, {{vcat|{{#explode:{{{2}}}|,|1}}}} or {{vcat|{{#explode:{{{2}}}|,|2}}}} | ||
|{{#if:{{#explode:{{{2}}}|,|1}} |'''Voicings:''' {{ | |{{#if:{{#explode:{{{2}}}|,|1}} |'''Voicings:''' {{vcat|{{#explode:{{{2}}}|,|0}}}} or {{vcat|{{#explode:{{{2}}}|,|1}}}} | ||
|'''Voicing:''' {{ | |'''Voicing:''' {{vcat|{{{2}}}|{{{3|{{{2}}}}}}}} }} }} }} }} }} | ||
|'''Voicing:''' {{cat|Unknown voicing|{{{3|Unknown}}}}} }}</includeonly><noinclude>{{prot-temp}}<br> | |'''Voicing:''' {{cat|Unknown voicing|{{{3|Unknown}}}}} }}</includeonly><noinclude>{{prot-temp}}<br> | ||
<div style="margin: 0; margin-right: 30px; margin-left: 30px; border: 1px solid #3399ff; padding: 1em 1em 1em 1em; background-color:#ddffdd"> | <div style="margin: 0; margin-right: 30px; margin-left: 30px; border: 1px solid #3399ff; padding: 1em 1em 1em 1em; background-color:#ddffdd"> |
Revision as of 20:29, 14 September 2012
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
See also: Template:MultiVoicing