Difference between revisions of "Template:Warning"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
m (Protected "Template:Warning" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>This template is used to visually mark out some important note in the text.</noinclude><p style="border: 1px solid #ff7f7f; padding: 10px; margin: 20px; background: #ffbfbf;">'''Warning''': {{{1}}}</p><noinclude>
+
<noinclude>This template is used to visually mark out some important note in the text.</noinclude><center>
 +
{|style="border: 1px solid #ff7f7f; border-left: 5px solid #ff7f7f; background: #ffbfbf !important; margin: 1.5em;"
 +
| [[Image:Warning.svg|32px]]
 +
| width=100% | '''Warning''': {{{1}}}
 +
|}
 +
</center><noinclude>
  
 
== Usage ==
 
== Usage ==
Line 8: Line 13:
 
The result will look like this:
 
The result will look like this:
 
{{Warning|Some text.}}
 
{{Warning|Some text.}}
 +
 +
=== One more example ===
 +
 +
{{Warning|{{Lorem ipsum}}}}
  
 
== See also ==
 
== See also ==

Latest revision as of 03:27, 28 November 2011

This template is used to visually mark out some important note in the text.

Warning.svg Warning: {{{1}}}

Usage

Put the following code to your page:

{{Warning|Some text.}}

The result will look like this:

Warning.svg Warning: Some text.

One more example

Warning.svg Warning: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

See also