Template:Mbox: Difference between revisions
Jump to navigation
Jump to search
(This should work.) |
(Ups.) |
||
| Line 4: | Line 4: | ||
| style="vertical-align:middle;" | {{{Text}}} | | style="vertical-align:middle;" | {{{Text}}} | ||
|} | |} | ||
</center></includeonly><noinclude>{{ | </center></includeonly><noinclude>{{Mbox/Doc}}</noinclude> | ||
Revision as of 17:10, 7 August 2015
What is {{Mbox}}
The {{Mbox}} template is a standard text box with an icon.
For example it is used in:
How to use
This template it most of all used to create other templates, there is no need to use this directly on a page.
That said, here are some examples:
{{Mbox
| icon =
| colorborder =
| colorbackground =
| colortext =
| text =
}}
Suggested icons:
Examples
{{Mbox
| icon =
| colorborder =
| colorbackground =
| colortext =
| text =
}}
| {{{Text}}} |
{{Mbox
| icon = Imbox_content.png
| colorborder =
| colorbackground =
| colortext =
| text = This is a test.
}}
| {{{Text}}} |
{{Mbox
| icon = Imbox_notice.png
| colorborder = darkred
| colorbackground = red
| colortext = yellow
| text = This is also a test.
}}
| {{{Text}}} |
You can also change the width of the border and float the box to the right:
{{Mbox
| icon = Imbox_notice.png
| colorborder = black
| bwidth = 2px
| floatright = yes
| colorbackground = blue
| colortext = yellow
| text = This is an extra test.
}}
| {{{Text}}} |