Difference between revisions of "Template:Warning"
From Worms Knowledge Base
CyberShadow (Talk | contribs) (that's nice, except it doesn't work (when you want to make the image ''smaller'')) |
Explorer09 (Talk | contribs) (use "imagesize" parameter (see talk page)) |
||
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;" | |
− | + | ||
|- | |- | ||
− | |[[Image:Nuvola apps important.svg|{{{ | + | |[[Image:Nuvola apps important.svg|{{{iconsize|48px}}}]] |
− | |{{{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> |
Revision as of 13:49, 10 May 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)