Template:Caution/doc: Difference between revisions

m
1 revision imported
m (syntaxhighlight lang="wikitext")
m (1 revision imported)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE. -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
 
{{tc}}
==Usage==
This is the {{tl|caution}} message box.
This is the {{tl|caution}} message box.


Line 12: Line 13:
===Example===
===Example===


<syntaxhighlight lang="wikitext">
<pre>
{{caution|Include text here.}}
{{caution|Include text here.}}
</syntaxhighlight>
</pre>


This is how this box looks on article (main space) pages:
This is how this box looks on article (main space) pages:
Line 31: Line 32:
The box can also take an '''image''' parameter. Like this:
The box can also take an '''image''' parameter. Like this:


<syntaxhighlight lang="wikitext">
<pre>
{{caution|image=Stop hand nuvola.svg|Include text here.}}
{{caution|image=Stop hand nuvola.svg|Include text here.}}
</syntaxhighlight>
</pre>


Which on this page renders like this:  
Which on this page renders like this:  
Line 41: Line 42:
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>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->


{{Notice and warning templates}}
[[Category:Talk header templates|{{PAGENAME}}]]
[[Category:Notice and warning templates|{{PAGENAME}}]]


<includeonly>{{Sandbox other|
</includeonly>
| <!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
[[Category:Notice and warning templates]]
[[Category:Talk header templates]]
}}</includeonly>