Template:Warning: Difference between revisions
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Box | <includeonly>{{Box | ||
|text = {{{text|Lorem ipsum dolor sit amet.}}} | |text = {{{text|Lorem ipsum dolor sit amet.}}} | ||
|image = Dialog-warning.png | |image = Dialog-warning.png | ||
Line 5: | Line 5: | ||
|background = #fcffee | |background = #fcffee | ||
}} | }} | ||
</includeonly> | |||
<noinclude> | |||
This template is used to give a warning in a colored box. | |||
==Default usage== | |||
<pre>{{Warning|text=Too hot!}}</pre> | |||
Write the warning text after <code>|text=</code> within the curly brackets. If none is supplied, the box will display a Lorem ipsum warning. | |||
{{Warning|text=Too hot!}} | |||
[[Category:Box templates]] | |||
</noinclude> |