Template:Voicing: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
mNo edit summary
(added example)
Line 13: Line 13:


'''Syntax with required <font color="orange">first</font> and <font color="green">second</font> parameters:'''
'''Syntax with required <font color="orange">first</font> and <font color="green">second</font> parameters:'''
: <tt><nowiki>{{Voicing|</nowiki><font color="orange">5</font>|<font color="green">SSATB</font>}}</tt>
*<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&nbsp;&nbsp;&nbsp;'''Voicing:''' [[:Category:SSATB|SSATB]]
:: '''Number of voices:''' 5vv&nbsp;&nbsp;&nbsp;'''Voicing:''' [[:Category:SSATB|SSATB]]
and inserts the page in [[:Category:SSATB]]
:and inserts the page in [[:category:SSATB]]
 
*<tt><nowiki>{{Voicing|</nowiki><font color="orange">3</font>|<font color="green">ATB,SSA,STB</font>}}</tt>
:which produces the text
:: '''Number of voices:''' 3vv&nbsp;&nbsp;&nbsp;'''Voicings:''' [[:Category:ATB|ATB]], [[:Category:SSA|SSA]] or [[:Category:STB|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:'''
: <tt><nowiki>{{Voicing|4|SATB|</nowiki><font color="green">SATB divisi</font>}}</tt>
*<tt><nowiki>{{Voicing|4|SATB|</nowiki><font color="green">SATB divisi</font>}}</tt>
which produces the text
:which produces the text
: '''Number of voices:''' 4vv&nbsp;&nbsp;&nbsp;'''Voicing:''' [[:Category:SATB|SATB divisi]]
:: '''Number of voices:''' 4vv&nbsp;&nbsp;&nbsp;'''Voicing:''' [[:Category:SATB|SATB divisi]]
and inserts the page in [[:Category:SATB]].
:and inserts the page in [[:category:SATB]]
<BR><BR>
<BR><BR>
'''See also:''' [[Template:MultiVoicing]]
'''See also:''' [[Template:MultiVoicing]]
</div>[[Category:Templates|{{PAGENAME}}]]</noinclude>
</div>[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 01:20, 20 February 2012


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
  • {{Voicing|3|ATB,SSA,STB}}
which produces the text
Number of voices: 3vv   Voicings: ATB, SSA or STB
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