Difference between revisions of "Template:Warning"

From Mushpedia
Jump to: navigation, search
m (Protected "Template:Warning" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(49 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div class="warning" style=" width:600px;border-style:solid; border-width:2px; border-color:red; border-radius:5px; background-color:#EDB9B9;"> <p style=" color:#B30707; font-size:20px; font-weight:bolder; text-align:center">Important, read this!!!</p> <p style=" margin:10px; color:#000000; font-size:15px; text-align:left">{{{1}}}</p> </div>
+
<includeonly><onlyinclude>{| style="min-width:300px; max-width:800px;width:auto;border-style:solid; border-width:0px; border-color:red; border-radius:10px; background-color:#EDB9B9; color: black; margin:10px" cellspacing="2"
 +
|-
 +
| style="padding:10px" |[[Image:stopicon.png]]
 +
| style="padding:10px" |{{{1}}}
 +
|}</onlyinclude></includeonly>
 +
 
 +
A template to display large, important warnings at the top of pages or sections.
 +
 
 +
'''Usage:'''
 +
<pre>{{Warning|Text goes here!}}</pre>
 +
 
 +
'''Demo:'''
 +
<pre>{{Warning|You are using a warning box!}}</pre>
 +
 
 +
{{Warning|You are using a warning box!}}
 +
 
 +
[[Category:Useful Templates]]

Latest revision as of 04:14, 21 January 2014


A template to display large, important warnings at the top of pages or sections.

Usage:

{{Warning|Text goes here!}}

Demo:

{{Warning|You are using a warning box!}}
Stopicon.png You are using a warning box!