Template:Voicing: Difference between revisions
Jump to navigation
Jump to search
Documentation
(new param 9=sortkey, detection of old param 4 added) |
(no old sort keys detected, remove old param 4 detection, add documentation) |
||
Line 1: | Line 1: | ||
'''Number of voices:''' {{switch|{{{1}}} | '''Number of voices:''' {{switch|{{{1}}} | ||
|case: 1=1v | |case: 1=1v | ||
|default={{{1}}}vv}} '''Voicing:''' [[:Category:{{{2}}}|{{{3|{{{2}}}}}}]]<includeonly>[[Category:{{{2}}}|{{{9|{{PAGENAME}}}}}]][[Category: | |default={{{1}}}vv}} '''Voicing:''' [[:Category:{{{2}}}|{{{3|{{{2}}}}}}]]<includeonly>[[Category:{{{2}}}|{{{9|{{PAGENAME}}}}}]]</includeonly><noinclude>{{prot-temp}}<br> | ||
[[Category:Templates|{{PAGENAME}}]] | <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> | |||
</noinclude> | |||
'''Syntax with required first and second parameters:''' | |||
: <tt><nowiki>{{Voicing|5|SSATB}}</nowiki></tt> | |||
which produces the text | |||
: '''Number of voices:''' 5vv '''Voicing:''' [[:Category:SSATB|SSATB]] | |||
and inserts the page in [[:Category:SSATB]] | |||
'''Syntax with required parameters and optional sortkey:''' | |||
: <tt><nowiki>{{Voicing|4|SATB|9=Riddle Song, The}}</nowiki></tt> | |||
which produces the text | |||
: '''Number of voices:''' 4vv '''Voicing:''' [[:Category:SATB|SATB]] | |||
and inserts the page in [[:Category:SATB]], sorted under "Riddle Song, The". | |||
</div>[[Category:Templates|{{PAGENAME}}]]</noinclude> |
Revision as of 21:03, 28 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 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".