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) m (no alt text and no link for icon) |
||
(2 intermediate revisions by the same user not shown) | |||
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|{{{imagesize|48px}}}}}}|alt=|link=|]] |
− | |{{{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)