FANDOM


Uso básico

{{msgbox
| title = Se trata de un mensaje en una caja normal
| text = Con subtexto útil y descriptivo
}}

Resultará esto:

Se trata de un mensaje en una caja normal
Con subtexto útil y descriptivo

Mini uso

{{msgbox
| mini = 1
| icon = 8
| text = Se trata de un mini cuadro de mensaje con un icono de información usando la [[Plantilla:CommentSprite]]
}}

Resultará esto:

TSe trata de un mini cuadro de mensaje con un icono de información usando la Plantilla:CommentSprite

Advanced usage

{{msgbox
| bgcol = #eef
| linecol = #ddf
| title = This is a blue message box
| text = It has a discuss link and some custom CSS
| discuss = 1
| css = -moz-box-shadow: 0px 0px 6px #888; -webkit-box-shadow: 0px 0px 6px #888;
}}

Will result in:

This is a blue message box
It has a discuss link and some custom CSS
{{msgbox
| bgcol = #eef
| linecol = #ddf
| title = This is a blue message box
| text = It has a discuss link, some custom CSS and a custom image
| discuss = 1
| image = Bot.png
| css = -moz-box-shadow: 0px 0px 6px #888; -webkit-box-shadow: 0px 0px 6px #888;
}}

Will result in:

This is a blue message box
It has a discuss link, some custom CSS and a custom image

A custom image size can also be specified with "imagewidth", for example: imagewidth = 50px

Advanced Mini usage

{{msgbox
| mini = 1
| image = Bot.png
| bgcol = #eef
| linecol = #ddf
| css = -moz-box-shadow: 0px 0px 6px #888; -webkit-box-shadow: 0px 0px 6px #888;
| text = This is a mini message box, it is using similar settings as the box used in the advanced example above.
}}

Will result in:

This is a mini message box, it is using similar settings as the box used in the advanced example above.

This can also have a custom image size. Plantilla:Doc/end

El contenido de la comunidad está disponible bajo CC-BY-SA a menos que se indique lo contrario.