Template:Warning: Difference between revisions

From Plover Wiki
No edit summary
No edit summary
 
Line 1: Line 1:
<includeonly>{{Box
<includeonly>{{Box
|text = {{{1|Lorem ipsum dolor sit amet.}}}
|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 a <code>|</code> character within the curly brackets. If none is supplied, the box will display a Lorem ipsum warning.
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>

Latest revision as of 22:15, 22 May 2025


This template is used to give a warning in a colored box.

Default usage

{{Warning|text=Too hot!}}

Write the warning text after |text= within the curly brackets. If none is supplied, the box will display a Lorem ipsum warning.

format=frameless
format=frameless

Too hot!