Template:Acap: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
(remove obsolete Note)
 
(19 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>
'''Syntax, without a paramter:'''
[[Category:Accompaniment templates]]<br>
: <tt><nowiki>{{acap}}</nowiki></tt>
<div><div style="margin: 0; margin-right: 30px; margin-left: 30px; border: 1px solid #1188ff; padding: 1em 1em 1em 1em; background-color:#ddffdd">
which inserts
<center><big>'''Documentation'''</big></center>
: <tt><nowiki>'''Instruments:''' [[:Category:a cappella|''a cappella'']].<br></nowiki></tt>
into a file, appearing as


'''Instruments:''' <font color=blue>''a cappella''</font>.
This template is for specifying a work as being '''''a cappella'''''. In every instance, page is categorized in [[:Category:A cappella]].
(followed by a linebreak)


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


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


Since this template must be '''''substituted''''' and two variables must be supplied (reason and username), there is a '''special syntax''' for this template which may found on [[Template talk:delnow|'''this template's talk page''']].
;Examples:
* <tt><nowiki>{{acap}}, or optional kazoo<br></nowiki></tt>
:produces
:: <font color=blue>''a cappella''</font>, or optional kazoo
 
* <tt><nowiki>{{acap|''A Capella''}}, with optional {{PnoAcc|piano}} accompaniment.<br></nowiki></tt>
:produces
:: <font color=blue>''A Capella''</font>, with optional <font color=blue>piano</font> accompaniment.


Note:  The information in this green box does appear when the template is used. 
</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.