ElEditors, Interface administrators, Administrators
70,980
edits
No edit summary |
No edit summary |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{BannerBox | <includeonly>{{BannerBox | ||
| | |cont_class=tone-7 {{{class|}}} | ||
|boxcolor=transparent | |boxcolor=transparent | ||
|image={{#switch:{{{type|}}}|warning=Icon - Warning||info=Icon - Info | |image={{#if:{{{image|}}}|{{{image|}}}|{{#switch:{{{type|}}}|warning=Icon - Warning|#default|info=Icon - Info}}}}.{{{ext|png}}} | ||
|imagesize={{#if:{{{imagesize|}}}|{{{imagesize|}}}|50}}px | |imagesize={{#if:{{{imagesize|}}}|{{{imagesize|}}}|50}}px | ||
|textstyle=text-align: left; | |textstyle=text-align: left; | ||
|text='''{{#switch:{{{type|}}}|warning=Warning|info|#default=Information''': {{{text|}}} | |text='''{{#switch:{{{type|}}}|warning=Warning|info|#default=Information}}''': {{{text|}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
== Parameters == | |||
*<code>text</code> | |||
*<code>image</code> | |||
*<code>type</code> - warning/info, defaults to info | |||
*<code>imagesize</code> - in pixels, defaults to 50 | |||
*<code>ext</code> - image extension, defaults to png | |||
</noinclude> |