Difference between revisions of "Template:Caution/doc"
imported>DavidLeighEllis (→See also: add blackboxwarning) |
imported>Sardanaphalus (replaced See also with template, sandbox non-categorisation) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- PLEASE ADD CATEGORIES | + | <!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE. --> |
| − | |||
This is the {{tl|caution}} message box. | This is the {{tl|caution}} message box. | ||
| Line 42: | Line 41: | ||
Note that changing the image is discouraged when the box is used in articles. | Note that changing the image is discouraged when the box is used in articles. | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | {{Notice and warning templates}} | |
| − | |||
| − | + | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | |
| − | [[Category:Notice and warning templates | + | | <!-- CATEGORIES BELOW THIS LINE, PLEASE: --> |
| − | + | [[Category:Notice and warning templates]] | |
| − | </includeonly> | + | [[Category:Talk header templates]] |
| + | }}</includeonly> | ||
Revision as of 12:27, 31 December 2014
| 40px | This is a documentation subpage for Template:Caution. It contains usage information, categories and other content that is not part of the original template page. |
This is the {{caution}} message box.
When used in articles this message box should only be used for when something is seriously wrong and there isn't a more specific template to use. Less important comments should as usual be put as text on the article's talk page instead.
This message box can also be used on other pages, such as on the top of talk pages or project pages.
This box automatically looks different depending on what kind of page it is shown on.
Example
{{caution|Include text here.}}
This is how this box looks on article (main space) pages:
Include text here. |
This is how this box looks on any talk page. That is, pages that start with "Talk:", "User talk:", "Image talk:" and so on:
| Caution | Include text here. |
This is how this box looks on all other pages, such as pages that start with "User:", "Image:", "Wikipedia:" and so on:
| Caution | Include text here. |
The box can also take an image parameter. Like this:
{{caution|image=Stop hand nuvola.svg|Include text here.}}
Which on this page renders like this:
| Caution | Include text here. |
Note that changing the image is discouraged when the box is used in articles.
Template:Notice and warning templates