Template:Voicing: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(prepare for multiple voicings)
(move }} to where it was supposed to be)
Line 4: Line 4:
|case: 2=
|case: 2=
|default=
|default=
[[:Category:{{{2}}}|{{{3|{{{2}}}}}}]]<includeonly>[[Category:{{{2}}}|{{{9|{{PAGENAME}}}}}]]}}</includeonly><noinclude>{{prot-temp}}<br>
[[:Category:{{{2}}}|{{{3|{{{2}}}}}}]]}}<includeonly>[[Category:{{{2}}}|{{{9|{{PAGENAME}}}}}]]</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">
<center><big>'''Documentation'''</big></center>
<center><big>'''Documentation'''</big></center>

Revision as of 17:35, 19 November 2008

Number of voices: {{{1}}}vv   Voicing: [[:Category:{{{2}}}|{{{2}}}]]


Documentation

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

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.

Syntax with required parameters and optional sortkey:

{{Voicing|4|SATB|9=Riddle Song, The}}

which produces the text

Number of voices: 4vv   Voicing: SATB

and inserts the page in Category:SATB, sorted under "Riddle Song, The".

Both optional third parameter and sortkey may be used together.