Difference between revisions of "Template:Warning"

From Worms Knowledge Base

Jump to: navigation, search
(removed outer div tag)
m (no alt text and no link for icon)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{|cellpadding="0" cellspacing="6" style="width: {{{width|100%}}}; {{#if:{{{height|}}}|height: {{{height}}};}} background: #ffd; border: 1px solid #dd8; margin: 4px 3px 3px 3px;"
+
{|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;"
 
|-
 
|-
|[[Image:Nuvola apps important.svg|48px]]
+
|[[Image:Nuvola apps important.svg|{{{iconsize|{{{imagesize|48px}}}}}}|alt=|link=|]]
 
|width="100%"|{{{1}}}
 
|width="100%"|{{{1}}}
|}
+
|}<noinclude>
 +
----
 +
===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