Difference between revisions of "Template:Warning"

From Worms Knowledge Base

Jump to: navigation, search
(removed outer div tag)
(add "noprint" parameter; add description)
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|48px]]
 
|width="100%"|{{{1}}}
 
|width="100%"|{{{1}}}
|}
+
|}<noinclude>
 +
----
 +
===Parameters===
 +
*'''1''': The message body text
 +
*'''width''': The width of the message box
 +
*'''height''': The height of the message box
 +
*'''noprint''': Whether this template should be hidden or not when printing.
 +
</noinclude>

Revision as of 12:40, 10 May 2010

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

Parameters

  • 1: The message body text
  • width: The width of the message box
  • height: The height of the message box
  • noprint: Whether this template should be hidden or not when printing.
Personal tools