Difference between revisions of "Template:Warning"

From Octave
Jump to navigation Jump to search
(change style to have larger border, round corners, and chance to use it inline (by using span instead of div))
m (More compact layout.)
Line 1: Line 1:
<includeonly><span style="background-color: #ffc1c1; padding: 1em; border-radius: 1em; border:.1em solid #ff7070; display:inline-block">'''Warning:''' {{{1}}}</span></includeonly><noinclude>{{TemplateDoc}}[[Category:Templates]]</noinclude>
+
<includeonly><span style="background-color: #ffc1c1; padding: 0.5em; border-radius: 0.5em; border:.1em solid #ff7070; display:inline-block">'''Warning:''' {{{1}}}</span></includeonly><noinclude>{{TemplateDoc}}[[Category:Templates]]</noinclude>

Revision as of 02:25, 11 June 2019

[edit]

Template-info.png Template Documentation

This template is for important warnings.

Example:

{{Warning|The reactor may be destroyed if you disable the cooling system. As a result, a large area around the reactor may become dangerously radioactive. If this happens, seek medical assistance immediately.}}

Will produce:

Warning: The reactor may be destroyed if you disable the cooling system. As a result, a large area around the reactor may become dangerously radioactive. If this happens, seek medical assistance immediately.