Information: If you want to test this template, please use Sandbox.
The documentation does not exist, you can click here to create.
Template:InfoBanner: Difference between revisions
From Elwiki
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
|color=#eee | |color=#eee | ||
|boxcolor=transparent | |boxcolor=transparent | ||
|image={{#switch:{{{type|}}}|warning=Icon - Warning | |image={{#if:{{{type|}}}|{{#switch:{{{type|}}}|warning=Icon - Warning|info=Icon - Info|#default={{{image|}}}}}|Icon - Info}}.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>{{Doc}}</noinclude> | }}</includeonly><noinclude>{{Doc}}</noinclude> |