Template:Voicing: Difference between revisions
Jump to navigation
Jump to search
Documentation
mNo edit summary |
(Thank you Chuck! Expanded last example; corrected next-to-last example) |
||
Line 26: | Line 26: | ||
:and inserts the page in [[:category:ATB]], [[:category:SSA]] and [[:category:STB]] | :and inserts the page in [[:category:ATB]], [[:category:SSA]] and [[:category:STB]] | ||
'''Syntax with required parameters and optional <font color="green">third</font> parameter | '''Syntax with required parameters and optional <font color="green">third</font> parameter''' | ||
*{{ | : The third parameter is plain text (no templates or links) which will be the display for the category linked to the <u>second</u> parameter | ||
*<tt><nowiki>{{Voicing|4|SATB|</nowiki><font color="green">SATB divisi</font><nowiki>}}</nowiki></tt> | |||
:which produces the text | :which produces the text | ||
:: '''Number of voices:''' 4vv '''Voicing:''' {{CC|SATB|SATB divisi}} | :: '''Number of voices:''' 4vv '''Voicing:''' {{CC|SATB|SATB divisi}} | ||
:and inserts the page in [[:category:SATB]] | :and inserts the page in [[:category:SATB]] | ||
''' | '''Optional 'add' parameter''' | ||
: | :Use <nowiki>add=<any text></nowiki> to append any text (which may include links or templates such as {{tl|Vcat}}); this parameter will display at the end of the voicing specification; e.g. | ||
*<tt><nowiki>{{Voicing|5|SATBB|SATBarB|add=with optional S {{pcat|descant|s}} }}</nowiki></tt> | *<tt><nowiki>{{Voicing|5|SATBB|SATBarB|add=with optional S {{pcat|descant|s}} }}</nowiki></tt> | ||
:which produces the text | |||
:: '''Number of voices:''' 5vv '''Voicing:''' {{CC|SATBB|SATBarB}}, with optional S {{CC|descants|descant}}. | |||
===See also=== | ===See also=== |
Revision as of 17:06, 5 July 2021
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
- The third parameter is plain text (no templates or links) which will be the display for the category linked to the second parameter
- {{Voicing|4|SATB|SATB divisi}}
- which produces the text
- Number of voices: 4vv Voicing: SATB divisi
- and inserts the page in category:SATB
Optional 'add' parameter
- Use add=<any text> to append any text (which may include links or templates such as {{Vcat}}); this parameter will display at the end of the voicing specification; e.g.
- {{Voicing|5|SATBB|SATBarB|add=with optional S {{pcat|descant|s}} }}