Template:InfoBanner: Difference between revisions
From Elwiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{BannerBox | <includeonly>{{BannerBox | ||
|cont_class=tone-7 | |cont_class=tone-7 {{{class|}}} | ||
|boxcolor=transparent | |boxcolor=transparent | ||
|image={{#if:{{{image|}}}|{{{image|}}}|{{#switch:{{{type|}}}|warning=Icon - Warning|#default|info=Icon - Info}}}}.{{{ext|png}}} | |image={{#if:{{{image|}}}|{{{image|}}}|{{#switch:{{{type|}}}|warning=Icon - Warning|#default|info=Icon - Info}}}}.{{{ext|png}}} |
Latest revision as of 19:23, 24 August 2022
Parameters
text
image
type
- warning/info, defaults to infoimagesize
- in pixels, defaults to 50ext
- image extension, defaults to png