Difference between revisions of "Template:Warning"

From Worms Knowledge Base

Jump to: navigation, search
(why did I do that...)
m (no alt text and no link for icon)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="{{#if:{{{width|}}}|width: {{{width}}}; }}padding: 2px; background: #ffd; border: 1px solid #dd8; margin: 4px 3px 3px 3px;" align="left">
+
{|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;"
{| cellpadding="0" cellspacing="6"
+
 
|-
 
|-
|[[Image:Nuvola apps important.svg|48px]]
+
|[[Image:Nuvola apps important.svg|{{{iconsize|{{{imagesize|48px}}}}}}|alt=|link=|]]
|{{{1}}}
+
|width="100%"|{{{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)''
 +
*'''iconsize''': The size of the icon on the left ''(default: 48x40px)''
 +
*'''noprint''': Whether this template should be hidden or not when printing. (set "1" to hide)
 +
</noinclude>

Latest revision as of 12:29, 21 November 2010

{{{1}}}

Parameters

  • 1: The message body text
  • width: The width of the message box (default: 100%)
  • height: The height of the message box (default: 52px)
  • iconsize: The size of the icon on the left (default: 48x40px)
  • noprint: Whether this template should be hidden or not when printing. (set "1" to hide)
Personal tools