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 | <!-- 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 13: | Line 12: | ||
===Example=== | ===Example=== | ||
< | <syntaxhighlight lang="wikitext"> | ||
{{caution|Include text here.}} | {{caution|Include text here.}} | ||
</ | </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: | ||
< | <syntaxhighlight lang="wikitext"> | ||
{{caution|image=Stop hand nuvola.svg|Include text here.}} | {{caution|image=Stop hand nuvola.svg|Include text here.}} | ||
</ | </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. | ||
{{Notice and warning templates}} | |||
</includeonly> | <includeonly>{{Sandbox other| | ||
| <!-- CATEGORIES BELOW THIS LINE, PLEASE: --> | |||
[[Category:Notice and warning templates]] | |||
[[Category:Talk header templates]] | |||
}}</includeonly> | |||