Difference between revisions of "Template:Warning"

From Octave
Jump to navigation Jump to search
m (More compact layout.)
(Update layout.)
 
Line 1: Line 1:
<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>
+
<includeonly><div style="background-color: #ffc1c1; padding: 0.5em; border-radius: 0.5em; border:.1em solid #ff7070; margin-top: 1em; margin-bottom: 1em; display: inline-block;"><div style="float: left; width: 26px;">[[File:Warning_icon.svg|26px]]</div><div style="padding-left: 3em; padding-right: 1em;">{{{1}}}</div></div></includeonly><noinclude>{{TemplateDoc}}[[Category:Templates]]</noinclude>

Latest revision as of 07:20, 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 icon.svg
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.