Difference between revisions of "Template:Caution/doc"

From blackwiki
Jump to navigation Jump to search
imported>DavidLeighEllis
(→‎See also: add blackboxwarning)
imported>Vanisaac
m (→‎Example: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
+
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE. -->
  
==Usage==
 
 
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.  
  
== See also ==
 
* {{tl|consensus}} - For topics based around reaching consensus
 
* {{tl|notice}} - For important comments
 
* {{tl|warning}} - For important warnings
 
* {{tl|blackboxwarning}} – for extreme situations
 
* {{tl|ambox}} – article message boxes of any type; there is comprehensive documentation of its different options
 
  
<includeonly>
+
{{Notice and warning templates}}
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
  
[[Category:Talk header templates|{{PAGENAME}}]]
+
<includeonly>{{Sandbox other|
[[Category:Notice and warning templates|{{PAGENAME}}]]
+
| <!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
 
+
[[Category:Notice and warning templates]]
</includeonly>
+
[[Category:Talk header templates]]
 +
}}</includeonly>

Latest revision as of 01:20, 24 April 2020

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:


This is how this box looks on any talk page. That is, pages that start with "Talk:", "User talk:", "Image talk:" and so on:

This is how this box looks on all other pages, such as pages that start with "User:", "Image:", "Wikipedia:" and so on:

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:

Note that changing the image is discouraged when the box is used in articles.


Template:Notice and warning templates