Template:Voicing: Difference between revisions
Jump to navigation
Jump to search
Documentation
(no old sort keys detected, remove old param 4 detection, add documentation) |
(complemented Documentation with example for third parameter) |
||
Line 5: | Line 5: | ||
<center><big>'''Documentation'''</big></center> | <center><big>'''Documentation'''</big></center> | ||
'''Syntax with required first and second parameters:''' | '''Syntax with required <font color="orange">first</font> and <font color="green">second</font> parameters:''' | ||
: <tt><nowiki>{{Voicing|5|SSATB | : <tt><nowiki>{{Voicing|</nowiki><font color="orange">5</font>|<font color="green">SSATB</font>}}</tt> | ||
which produces the text | which produces the text | ||
: '''Number of voices:''' 5vv '''Voicing:''' [[:Category:SSATB|SSATB]] | : '''Number of voices:''' 5vv '''Voicing:''' [[:Category:SSATB|SSATB]] | ||
and inserts the page in [[:Category:SSATB]] | and inserts the page in [[:Category:SSATB]] | ||
'''Syntax with required parameters and optional sortkey:''' | '''Syntax with required parameters and optional <font color="green">third</font> parameter:''' | ||
: <tt><nowiki>{{Voicing|4|SATB|9=Riddle Song, The | : <tt><nowiki>{{Voicing|4|SATB|</nowiki><font color="green">SATB divisi</font>}}</tt> | ||
which produces the text | |||
: '''Number of voices:''' 4vv '''Voicing:''' [[:Category:SATB|SATB divisi]] | |||
and inserts the page in [[:Category:SATB]]. | |||
'''Syntax with required parameters and optional <font color="green">sortkey</font>:''' | |||
: <tt><nowiki>{{Voicing|4|SATB|</nowiki><font color="green">9=Riddle Song, The</font>}}</tt> | |||
which produces the text | which produces the text | ||
: '''Number of voices:''' 4vv '''Voicing:''' [[:Category:SATB|SATB]] | : '''Number of voices:''' 4vv '''Voicing:''' [[:Category:SATB|SATB]] | ||
and inserts the page in [[:Category:SATB]], sorted under "Riddle Song, The". | and inserts the page in [[:Category:SATB]], sorted under "Riddle Song, The". | ||
'''Both optional third parameter and sortkey may be used together.''' | |||
</div>[[Category:Templates|{{PAGENAME}}]]</noinclude> | </div>[[Category:Templates|{{PAGENAME}}]]</noinclude> |
Revision as of 21:32, 29 May 2008
Number of voices: {{{1}}}vv Voicing: [[:Category:{{{2}}}|{{{2}}}]]
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
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.