Template:Acap: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(add syntax and usage information (in green box))
mNo edit summary
Line 34: Line 34:
(followed by a linebreak)
(followed by a linebreak)


Note, in this last example the Template:PnoAcc has been expanded.
Note, in this last example the [[Template:PnoAcc]] gets expanded properly.


</div>
</div>

Revision as of 12:20, 28 February 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.

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.

Instruments: a cappella.