Difference between revisions of "Help:Note boxes"
(→Quote) |
|||
Line 1: | Line 1: | ||
{{User manual TOC}} | {{User manual TOC}} | ||
− | Note boxes can be used in an article to highlight certain text information. Find all noteboxes in the [[:Category:Article template|category "Article template"]]. | + | Note boxes can be used in an article to highlight certain text information. Find all noteboxes in the [[:Category:Article template|category "Article template"]]. Refer to the template pages for detailed information. |
Use the code <code>'''{{Note<nowiki>|</nowiki>''Note text''}}'''</code> in your text and change ''Note text'' to the content you need. | Use the code <code>'''{{Note<nowiki>|</nowiki>''Note text''}}'''</code> in your text and change ''Note text'' to the content you need. | ||
+ | |||
+ | In the noteboxes usually there is a default title that can be changed by including a template parameter. | ||
+ | |||
+ | {{Note|It does not matter if you write the template parameters in one row or underneath: | ||
+ | <code>'''{{Note<nowiki>|title=</nowiki>''Note text''}}'''</code> will give the same as | ||
+ | |||
+ | <code>'''{{Note<br /><nowiki>|title=</nowiki>''Note text''<br />}}'''</code> | ||
+ | |||
+ | how it's often written in longer templates. | ||
+ | }} | ||
The styling for the noteboxes is added via CSS. | The styling for the noteboxes is added via CSS. | ||
===In a nutshell=== | ===In a nutshell=== | ||
− | For making use of the template [[Template:Note-nutshell|Note-nutshell]], include <code>'''{{Note-nutshell<nowiki>|</nowiki>''This is the page in one sentence. Actually, two.''}}'''</code> at the very beginning of your text (before the table of contents) to produce: | + | For making use of the template [[Template:Note-nutshell|Note-nutshell]], include <code>'''{{Note-nutshell<nowiki>|summary=</nowiki>''This is the page in one sentence. Actually, two.''}}'''</code> at the very beginning of your text (before the table of contents) to produce: |
+ | |||
+ | {{Note-nutshell|summary=This is the page in one sentence. Actually, two.}} | ||
− | + | You can change the title by including the | |
===Note=== | ===Note=== |
Revision as of 08:17, 22 May 2015
Note boxes can be used in an article to highlight certain text information. Find all noteboxes in the category "Article template". Refer to the template pages for detailed information.
Use the code {{Note|Note text}}
in your text and change Note text to the content you need.
In the noteboxes usually there is a default title that can be changed by including a template parameter.
The styling for the noteboxes is added via CSS.
Contents
In a nutshell
For making use of the template Note-nutshell, include {{Note-nutshell|summary=This is the page in one sentence. Actually, two.}}
at the very beginning of your text (before the table of contents) to produce:
You can change the title by including the
Note
For making use of the template Note, include {{Note|Note text}}
in your text to produce:
Info
For making use of the template Note-info, include {{Note-info|This helps you a lot!}}
in your text to produce:
Warning
For making use of the template Note-warning, include {{Note-warning|Attention, attention!}}
in your text to produce:
Quote
Usage of the template Quote by including {{Quote|Quote text|Speaker|Source}}
into the text.
Quote text
Speaker[1]
Make sure to include the <references />
tag at the end of the page under a separate heading to list all sources.
References
- ↑ Source