Template:Msgbox: Difference between revisions
imported>Ttv pedro270707 mNo edit summary |
imported>Ttv pedro270707 mNo edit summary |
||
Line 1: | Line 1: | ||
<div class="msgbox {{#ifeq: {{{1|}}} | important | important | {{#ifeq: {{{1|}}} | warning | warning | {{#ifeq: {{{1|}}} | info | info | }} }} }}"> | <div class="msgbox {{#ifeq: {{{1|}}} | important | important | {{#ifeq: {{{1|}}} | warning | warning | {{#ifeq: {{{1|}}} | info | info | }} }} }}"> | ||
{{{4|}}}<div style="display:inline-block; padding-left: 10px;"><span style="font-weight: bold;">{{{2|}}}</span>{{#if: {{{3|}}} | <br><span>{{{3|}}}</span>}}</div></div><noinclude>{{ | {{{4|}}}<div style="display:inline-block; padding-left: 10px;"><span style="font-weight: bold;">{{{2|}}}</span>{{#if: {{{3|}}} | <br><span>{{{3|}}}</span>}}</div></div><noinclude> | ||
{{Documentation}} | |||
<!-- Put categories on the documentation page --> | |||
</noinclude> |
Revision as of 20:54, 13 March 2023
[view | | | ]Documentation
This template creates a message box. It should generally be used in other templates rather than as a standalone one in an article.
Arguments
Argument | Note |
---|---|
1 |
Sets the color of the template. Valid arguments are info (blue color), warning (yellow color) and important (red color).
|
2 |
Sets the title of the message box. |
3 |
Sets the description of the message box. |
4 |
Sets the image of the message box. It can also be a sprite. |
[view | | | ]The above documentation is transcluded from Template:Msgbox/doc.