Template:Acap: Difference between revisions
Jump to navigation
Jump to search
Documentation
(add optional 2nd parameter 2=<sort key>) |
(oops, get default sort key = PAGENAME) |
||
Line 1: | Line 1: | ||
'''Instruments:''' [[:Category:a cappella|''a cappella'']]{{{1|.}}}<br> | '''Instruments:''' [[:Category:a cappella|''a cappella'']]{{{1|.}}}<br> | ||
<includeonly>[[Category:a_cappella|{{{2| | <includeonly>[[Category:a_cappella|{{{2|{{PAGENAME}}}}}]]</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude><noinclude><br><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> | ||
Revision as of 12:44, 2 April 2008
Instruments: a cappella.
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.