Template:Caution/doc: Difference between revisions

m
syntaxhighlight lang="wikitext"
>Rusty.perrin
(Copied from wikipedia)
 
m (syntaxhighlight lang="wikitext")
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. -->
{{tc}}
 
==Usage==
This is the {{tl|caution}} message box.
This is the {{tl|caution}} message box.


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


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


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


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


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


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


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