|
|
| (6 intermediate revisions by 3 users not shown) |
| Line 1: |
Line 1: |
| {{Color box|color=#404050|border=#9999AA|{{{1|An example!}}} }} | | {{Color box |
| <noinclude>
| | |border= #6666a8 |
| == Documentation == | | |width= {{{width|95%}}} |
| As the name suggests, this template produces a colored box, which is used when you want to give an example on a page. You can use common wiki-formatting (eg bold, links) if you wish.
| | |color= #0080FF |
| | | |align= left |
| If the text you would like to use include an equals sign (=), you need to explicitly declare your text as a numbered parameter (i.e. put <code>1=</code> before your example text), otherwise the template will display nothing.
| | |text= white |
| | | |italics= no |
| === Examples ===
| | |{{{1|An example!}}} |
| | | }}<noinclude> |
| <code><nowiki>{{example|An example to '''illustrate''' my article with a link to the [[Venture]]}}</nowiki></code> gives:
| | {{documentation}} |
| {{example|An example to '''illustrate''' my article with a link to the [[Venture]]}} | | </noinclude> |
| | |
| <code><nowiki>{{example|How not to put the formula 2+2=4 into an example.}}</nowiki></code> gives:
| |
| {{example|How not to put the formula 2+2=4 into an example}}
| |
| | |
| <code><nowiki>{{example|1=How to put the formula 2+2=4 into an example.}}</nowiki></code> gives: | |
| {{example|1=How to put the formula 2+2=4 into an example}} | |
| | |
| [[Category:Template]]</noinclude>
| |