Template:Warning: Difference between revisions

From Octave
Jump to navigation Jump to search
(crated warning template)
 
(Update layout.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="padding: .2em .3em; margin: .2em .2em; background-color: #ffc1c1; border: solid 1px #ff7070; font-size: 92%;">'''Warning:''' {{{1}}}</div><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 14: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.