Template:Acap: Difference between revisions
Jump to navigation
Jump to search
Documentation
m (Protected "Template:Acap": system template [edit=sysop:move=sysop]) |
(removed obsolete sortkey) |
||
Line 1: | Line 1: | ||
[[:Category: | [[:Category:A cappella|''a cappella'']] | ||
<includeonly>[[Category: | <includeonly>[[Category:A cappella]]</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]<br> | ||
<div><div style="margin: 0; margin-right: 30px; margin-left: 30px; border: 1px solid #1188ff; padding: 1em 1em 1em 1em; background-color:#ddffdd"> | <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> | <center><big>'''Documentation'''</big></center> | ||
This template is for specifying a work as being '''''a cappella''''', or possibly | This template is for specifying a work as being '''''a cappella''''', or possibly | ||
'''''a cappella'' with extra information'''. In every instance, page is categorized in [[:Category: | '''''a cappella'' with extra information'''. In every instance, page is categorized in [[:Category:A cappella]]. | ||
'''Note:''' this template supercedes [[Template:a cappella]] because it operates in the same way as other accompaniment templates (ie. it doesn't include the "Instruments:" designator before "a cappella"). | '''Note:''' this template supercedes [[Template:a cappella]] because it operates in the same way as other accompaniment templates (ie. it doesn't include the "Instruments:" designator before "a cappella"). | ||
;Syntax, without any parameters: | |||
* <tt><nowiki>{{acap}}</nowiki></tt> | |||
which inserts | :which inserts | ||
: <tt><nowiki>[[:Category: | :: <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> | |||
<font color=blue>''a cappella''</font> | ;Syntax, with an extra information parameter: | ||
* <tt><nowiki>{{acap|<value>}}</nowiki></tt> | |||
:which inserts | |||
:: <tt><nowiki>[[:Category:A cappella|''a cappella'']]<value>[[Category:A cappella]]</nowiki></tt> | |||
:into a file, appearing as | |||
:: <font color=blue>''a cappella''</font><value> | |||
;Examples: | |||
* <tt><nowiki>{{acap|, or optional kazoo}}</nowiki></tt> | |||
:produces | |||
: < | :: <font color=blue>''a cappella''</font>, or optional kazoo | ||
* <tt><nowiki>{{acap|, with optional {{PnoAcc|piano}} accompaniment.}}<br></nowiki></tt> | |||
:produces | |||
:: <font color=blue>''a cappella''</font>, with optional <font color=blue>piano</font> accompaniment | |||
:Note that in this last example the [[Template:PnoAcc]] gets expanded properly. | |||
<font color=blue>''a cappella''</font>, with optional <font color=blue>piano</font> accompaniment | |||
</div> | </div> | ||
</noinclude> | </noinclude> |
Revision as of 13:28, 15 December 2008
This template is for specifying a work as being a cappella, or possibly a cappella with extra information. In every instance, page is categorized in Category:A cappella.
Note: this template supercedes Template:a cappella because it operates in the same way as other accompaniment templates (ie. it doesn't include the "Instruments:" designator before "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 extra information parameter
- {{acap|<value>}}
- which inserts
- [[:Category:A cappella|''a cappella'']]<value>[[Category:A cappella]]
- into a file, appearing as
- a cappella<value>
- Examples
- {{acap|, or optional kazoo}}
- produces
- a cappella, or optional kazoo
- {{acap|, with optional {{PnoAcc|piano}} accompaniment.}}<br>
- produces
- a cappella, with optional piano accompaniment
- Note that in this last example the Template:PnoAcc gets expanded properly.