Difference between revisions of "Template:Warning"

From Worms Knowledge Base

Jump to: navigation, search
m
(that's nice, except it doesn't work (when you want to make the image ''smaller''))
Line 1: Line 1:
{|cellpadding="0" cellspacing="6" {{#if:{{{noprint|}}}|class="noprint"}} style="width: {{{width|100%}}}; {{#if:{{{height|}}}|height: {{{height}}};}} background: #ffd; border: 1px solid #dd8; margin: 4px 3px 3px 3px;"
+
<div style="{{#if:{{{width|}}}|width: {{{width}}}; }}background: #ffd; border: 1px solid #dd8; margin: 4px 3px 3px 3px;" align="left">
 +
{| cellpadding="0" cellspacing="6"
 
|-
 
|-
|[[Image:Nuvola apps important.svg|48px]]
+
|[[Image:Nuvola apps important.svg|{{{height|48}}}px]]
|width="100%"|{{{1}}}
+
|{{{1}}}
|}<noinclude>
+
|}
----
+
</div>
===Parameters===
+
*'''1''': The message body text
+
*'''width''': The width of the message box ''(default: 100%)''
+
*'''height''': The height of the message box ''(default: 52px)''
+
*'''noprint''': Whether this template should be hidden or not when printing. (set "1" to hide)
+
</noinclude>
+

Revision as of 13:17, 10 May 2010

Nuvola apps important.svg {{{1}}}
Personal tools