Difference between revisions of "Template:Warning"

From Mushpedia
Jump to: navigation, search
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div class="warning" style="min-width:300px; max-width:500px;width:auto;border-style:solid; border-width:0px; border-color:red; border-radius:10px; background-color:#EDB9B9;margin:10px">
+
<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"
<div style="display:inline-block; margin-left:10px; width:100px;">
+
[[Image:stopicon.png]]
+
</div>
+
<div style="display:inline-block; max-width:375px; width:auto">
+
<p style="margin:10px; color:#000000; font-size:15px; text-align:left">
+
{{{1}}}
+
</p>
+
</div>
+
</div>
+
{| style="min-width:300px; max-width:500px;width:auto;border-style:solid; border-width:0px; border-color:red; border-radius:10px; background-color:#EDB9B9;margin:10px" cellspacing="2"
+
 
|-
 
|-
| style="padding:10px" | [[Image:stopicon.png]]
+
| style="padding:10px" |[[Image:stopicon.png]]
|{{{1}}}
+
| 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!