No edit summary |
(use template:parmdesc for parameters) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Example | This template can be used either for a single Bbc on a page, or several on a page. | ||
For a single-Bbc article, leave wikiheader blank. | |||
For several Bbc on one page, give wikiheader a number (such as 2 or 3) to designate the level of the header. | |||
Example, for quote on a page by itself. | |||
<pre><nowiki> | <pre><nowiki> | ||
{{:Template:Wordy Bbc | {{:Template:Wordy Bbc | ||
|wikiheader= | |||
|tag=quote | |tag=quote | ||
|button=quote.gif | |||
|type= | |type= | ||
|description=The quote tag formats text as a quote. If you use the quote button, then it will be formatted for you. This is a block level tag | |description=The quote tag formats text as a quote. If you use the quote button, | ||
|parameters | then it will be formatted for you. This is a block level tag | ||
|parameters{{Parmdesc | |||
|author|d1=description 1 | |author|d1=description 1 | ||
|link|d2=description 2 | |link|d2=description 2 | ||
|date}} | |date}} | ||
|example=<nowiki>[quote author="SMF Doc Team" link=topic=570 date=1141105279]blocks, text or more BB Code[/quote]</nowiki> | |example=<nowiki>[quote author="SMF Doc Team" link=topic=570 date=1141105279] | ||
blocks, text or more BB Code[/quote]</nowiki> | |||
|result=Some approximation to how the quoted block actually looks. | |result=Some approximation to how the quoted block actually looks. | ||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> |
Latest revision as of 16:00, 25 January 2011
This template can be used either for a single Bbc on a page, or several on a page. For a single-Bbc article, leave wikiheader blank. For several Bbc on one page, give wikiheader a number (such as 2 or 3) to designate the level of the header.
Example, for quote on a page by itself.
{{:Template:Wordy Bbc |wikiheader= |tag=quote |button=quote.gif |type= |description=The quote tag formats text as a quote. If you use the quote button, then it will be formatted for you. This is a block level tag |parameters{{Parmdesc |author|d1=description 1 |link|d2=description 2 |date}} |example=<nowiki>[quote author="SMF Doc Team" link=topic=570 date=1141105279] blocks, text or more BB Code[/quote] |result=Some approximation to how the quoted block actually looks. }} </nowiki>