Template:Mbox/Doc: Difference between revisions
Jump to navigation
Jump to search
m (Ups.) |
m (There we go.) |
||
| Line 3: | Line 3: | ||
For example it is used in: | For example it is used in: | ||
* [[Template:Delete]] | |||
* [[Template:Revision]] | * [[Template:Revision]] | ||
* [[Template:HaxusNeeded]] | * [[Template:HaxusNeeded]] | ||
| Line 46: | Line 47: | ||
<nowiki>| colorbackground = </nowiki> | <nowiki>| colorbackground = </nowiki> | ||
<nowiki>| colortext = </nowiki> | <nowiki>| colortext = </nowiki> | ||
<nowiki>| text = </nowiki> | <nowiki>| text = This is a test.</nowiki> | ||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
| Line 58: | Line 59: | ||
<nowiki>{{Mbox</nowiki> | <nowiki>{{Mbox</nowiki> | ||
<nowiki>| icon = | <nowiki>| icon = Imbox_notice.png</nowiki> | ||
<nowiki>| colorborder = </nowiki> | <nowiki>| colorborder = darkred</nowiki> | ||
<nowiki>| colorbackground = </nowiki> | <nowiki>| colorbackground = red</nowiki> | ||
<nowiki>| colortext = </nowiki> | <nowiki>| colortext = yellow</nowiki> | ||
<nowiki>| text = </nowiki> | <nowiki>| text = This is also a test.</nowiki> | ||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
Revision as of 21:30, 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 =
}}
{{Mbox
| icon = Imbox_content.png
| colorborder =
| colorbackground =
| colortext =
| text = This is a test.
}}
| This is a test. |
{{Mbox
| icon = Imbox_notice.png
| colorborder = darkred
| colorbackground = red
| colortext = yellow
| text = This is also a test.
}}
| This is also a test. |