Template:Warning: Difference between revisions

From Octave
Jump to navigation Jump to search
m (remove copy on top as example)
(change style to have larger border, round corners, and chance to use it inline (by using span instead of div))
Line 1: Line 1:
<includeonly><div style="padding: .2em .3em; margin: .2em .2em; background-color: #ffc1c1; border: solid 1px #ff7070; font-size: 92%;">'''Warning:''' {{{1}}}</div></includeonly><noinclude>{{TemplateDoc}}[[Category:Templates]]</noinclude>
<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>

Revision as of 17:14, 10 February 2015

[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.