Template:Acap: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
mNo edit summary
(better format)
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">
'''Instruments:''' [[:Category:a cappella|''a cappella'']]{{{1|.}}}<br>
<includeonly>[[Category:a_cappella]]</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude><noinclude><br><div><div style="margin: 0; margin-right: 30px; margin-left: 30px; border: 1px solid #99ff99; padding: 1em 1em 1em 1em; background-color:#ddffdd">
<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]].
'''''a cappella'' with extra information'''.  In every instance, page is categorized in [[:Category:a cappella]].
Line 38: Line 41:
</div>
</div>
</noinclude>
</noinclude>
'''Instruments:''' [[:Category:a cappella|''a cappella'']]{{{1|.}}}<br>
<includeonly>[[Category:a_cappella]]</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 12:23, 28 February 2008

Instruments: a cappella.

Documentation

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.

Syntax, without a paramter:

{{acap}}

which inserts

'''Instruments:''' [[:Category:a cappella|''a cappella'']].<br>[[Category:a_cappella]]

into a file, appearing as

Instruments: a cappella. (followed by a linebreak)

Syntax, with a parameter:

{{acap|<value>}}

which inserts

'''Instruments:''' [[:Category:a cappella|''a cappella'']]<value><br>[[Category:a_cappella]]

into a file, appearing as

Instruments: a cappella<value> (followed by a linebreak)

For example,

{{acap|, or optional kazoo.}}

produces

Instruments: a cappella, or optional kazoo. (followed by a linebreak)

'''Instruments:''' [[:Category:a cappella|''a cappella'']], or optional {{PnoAcc}}.}}<br>

produces

Instruments: a cappella, or optional Piano. (followed by a linebreak)

Note, in this last example the Template:PnoAcc gets expanded properly.