Template:Warning: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{Box | <includeonly>{{Box | ||
|text = {{{ | |text = {{{text|Lorem ipsum dolor sit amet.}}} | ||
|image = Dialog-warning.png | |image = Dialog-warning.png | ||
|border = #ff8040 | |border = #ff8040 | ||
Line 9: | Line 9: | ||
This template is used to give a warning in a colored box. | This template is used to give a warning in a colored box. | ||
==Default usage== | ==Default usage== | ||
<pre>{{Warning|Too hot!}}</pre> | <pre>{{Warning|text=Too hot!}}</pre> | ||
Write the warning text after | 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|Too hot!}} | {{Warning|text=Too hot!}} | ||
[[Category:Box templates]] | [[Category:Box templates]] | ||
</noinclude> | </noinclude> |