Template:Acap: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(add syntax and usage information (in green box))
(remove obsolete Note)
 
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude><div><div style="margin: 0; margin-right: 30px; margin-left: 30px; border: 1px solid #99ff99; padding: 1em 1em 1em 1em; background-color:#ddffdd">
<i>[[:Category:A cappella|{{{1|a cappella}}}]]</i><includeonly>[[Category:A cappella]]</includeonly><noinclude>
This template is for specifying a work as being '''''a cappella''''', or possibly
[[Category:Accompaniment templates]]<br>
'''''a cappella'' with extra information'''.  In every instance, page is categorized in [[:Category:a cappella]].
<div><div style="margin: 0; margin-right: 30px; margin-left: 30px; border: 1px solid #1188ff; padding: 1em 1em 1em 1em; background-color:#ddffdd">
<center><big>'''Documentation'''</big></center>


'''Syntax, without a paramter:'''
This template is for specifying a work as being '''''a cappella'''''. In every instance, page is categorized in [[:Category:A cappella]].
: <tt><nowiki>{{acap}}</nowiki></tt>
which inserts
: <tt><nowiki>'''Instruments:''' [[:Category:a cappella|''a cappella'']].<br>[[Category:a_cappella]]</nowiki></tt>
into a file, appearing as


'''Instruments:''' <font color=blue>''a cappella''</font>.
;Syntax, without any parameters:
(followed by a linebreak)
* <tt><nowiki>{{acap}}</nowiki></tt>
:which inserts
:: <tt><nowiki>[[:Category:A cappella|''a cappella'']][[Category:A cappella]]</nowiki></tt>
:into a file, appearing as
::<font color=blue>''a cappella''</font>


'''Syntax, with a parameter:'''
;Syntax, with an alternative display parameter:
: <tt><nowiki>{{acap|<value>}}</nowiki></tt>
* <tt><nowiki>{{acap|<value>}}</nowiki></tt>
which inserts
:which inserts
: <tt><nowiki>'''Instruments:''' [[:Category:a cappella|''a cappella'']]<value><br>[[Category:a_cappella]]</nowiki></tt>
:: <tt><nowiki>[[:Category:A cappella|<value>]][[Category:A cappella]]</nowiki></tt>
into a file, appearing as
:into a file, appearing as
:: <font color=blue>''<value>''</font>


'''Instruments:''' <font color=blue>''a cappella''</font><value>
;Examples:
(followed by a linebreak)
* <tt><nowiki>{{acap}}, or optional kazoo<br></nowiki></tt>
:produces
:: <font color=blue>''a cappella''</font>, or optional kazoo


For example,
* <tt><nowiki>{{acap|''A Capella''}}, with optional {{PnoAcc|piano}} accompaniment.<br></nowiki></tt>
: <tt><nowiki>{{acap|, or optional kazoo.}}</nowiki></tt>
:produces
produces
:: <font color=blue>''A Capella''</font>, with optional <font color=blue>piano</font> accompaniment.
 
'''Instruments:''' <font color=blue>''a cappella''</font>, or optional kazoo.
(followed by a linebreak)
 
: <tt><nowiki>'''Instruments:''' [[:Category:a cappella|''a cappella'']], or optional {{PnoAcc}}.}}<br></nowiki></tt>
produces
 
'''Instruments:''' <font color=blue>''a cappella''</font>, or optional <font color=blue>Piano</font>.
(followed by a linebreak)
 
Note, in this last example the Template:PnoAcc has been expanded.


</div>
</div>
</noinclude>
</noinclude>
'''Instruments:''' [[:Category:a cappella|''a cappella'']]{{{1|.}}}<br>
<includeonly>[[Category:a_cappella]]</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 19:01, 25 August 2012

a cappella

Documentation

This template is for specifying a work as being a cappella. In every instance, page is categorized in Category:A cappella.

Syntax, without any parameters
  • {{acap}}
which inserts
[[:Category:A cappella|''a cappella'']][[Category:A cappella]]
into a file, appearing as
a cappella
Syntax, with an alternative display parameter
  • {{acap|<value>}}
which inserts
[[:Category:A cappella|<value>]][[Category:A cappella]]
into a file, appearing as
<value>
Examples
  • {{acap}}, or optional kazoo<br>
produces
a cappella, or optional kazoo
  • {{acap|''A Capella''}}, with optional {{PnoAcc|piano}} accompaniment.<br>
produces
A Capella, with optional piano accompaniment.