Difference between revisions of "Template:Warning"
(use margin; remove width) |
m (Protected "Template:Warning" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))) |
||
(4 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> | + | <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;" | |
− | {|style="border: 1px solid #ff7f7f; background: #ffbfbf; margin: 1.5em;" | ||
| [[Image:Warning.svg|32px]] | | [[Image:Warning.svg|32px]] | ||
| width=100% | '''Warning''': {{{1}}} | | width=100% | '''Warning''': {{{1}}} | ||
|} | |} | ||
− | </center> | + | </center><noinclude> |
== Usage == | == Usage == |
Latest revision as of 03:27, 28 November 2011
This template is used to visually mark out some important note in the text.
Warning: {{{1}}} |
Usage
Put the following code to your page:
{{Warning|Some text.}}
The result will look like this:
Warning: Some text. |
One more example
See also