Template:Acap: Difference between revisions
Jump to navigation
Jump to search
(streamline template {{acap}} adds period, {{acap| anything }} adds " anything ") |
No edit summary |
||
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"> | |||
'''Syntax, without a paramter:''' | |||
: <tt><nowiki>{{acap}}</nowiki></tt> | |||
which inserts | |||
: <tt><nowiki>'''Instruments:''' [[:Category:a cappella|''a cappella'']].<br></nowiki></tt> | |||
into a file, appearing as | |||
'''Instruments:''' <font color=blue>''a cappella''</font>. | |||
(followed by a linebreak) | |||
'''Syntax, with a parameter:''' | |||
: <tt><nowiki>{{acap|<value>}}</nowiki></tt> | |||
which inserts | |||
: <tt><nowiki>'''Instruments:''' [[:Category:a cappella|''a cappella'']]<value><br></nowiki></tt> | |||
into a file, appearing as | |||
'''Instruments:''' <font color=blue>''a cappella''</font><value> | |||
(followed by a linebreak) | |||
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''']]. | |||
Note: The information in this green box does appear when the template is used. | |||
</div> | |||
</noinclude> | |||
'''Instruments:''' [[:Category:a cappella|''a cappella'']]{{{1|.}}}<br> | '''Instruments:''' [[:Category:a cappella|''a cappella'']]{{{1|.}}}<br> | ||
<includeonly>[[Category:A_cappella]]</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude> | <includeonly>[[Category:A_cappella]]</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude> |
Revision as of 12:00, 28 February 2008
Syntax, without a paramter:
- {{acap}}
which inserts
- '''Instruments:''' [[:Category:a cappella|''a cappella'']].<br>
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>
into a file, appearing as
Instruments: a cappella<value> (followed by a linebreak)
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 this template's talk page.
Note: The information in this green box does appear when the template is used.
Instruments: a cappella.