[unchecked revision] | [checked revision] |
(https://www.hazeron.com/wiki/index.php/Template:Mbox/Doc) |
No edit summary Tag: 2017 source edit |
||
(15 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
The <nowiki>{{Mbox}}</nowiki> template is a standard text box with an icon. | The <nowiki>{{Mbox}}</nowiki> template is a standard text box with an icon. | ||
Mbox is used in: [[:Category:Notice_templates]] | |||
=How to use= | =How to use= | ||
Line 20: | Line 17: | ||
Suggested icons: | Suggested icons: | ||
* | * <i class="fa fa-2x fa-info-circle"></i> - fa-info-circle | ||
* | * <i class="fa fa-2x fa-exclamation-circle"></i> - fa-exclamation-circle | ||
* | * <i class="fa fa-2x fa-ban"></i> - fa-ban | ||
and many other Font Awesome icons | |||
===Examples=== | ===Examples=== | ||
<nowiki>{{Mbox</nowiki> | |||
<nowiki>| icon = </nowiki> | <nowiki>| icon = </nowiki> | ||
<nowiki>| colorborder = </nowiki> | <nowiki>| colorborder = </nowiki> | ||
<nowiki>| | <nowiki>| color = </nowiki> | ||
<nowiki>| text = This is a test.</nowiki> | |||
<nowiki>| text = </nowiki> | |||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
Line 38: | Line 35: | ||
| colorborder = | | colorborder = | ||
| colorbackground = | | colorbackground = | ||
| text = This is a test. | | text = This is a test. | ||
}} | }} | ||
<nowiki>{{Mbox</nowiki> | <nowiki>{{Mbox</nowiki> | ||
<nowiki>| icon = | <nowiki>| icon = fa-ban</nowiki> | ||
<nowiki>| colorborder = | <nowiki>| colorborder = Pink</nowiki> | ||
<nowiki>| | <nowiki>| color= danger</nowiki> | ||
<nowiki>| text = This is also a test.</nowiki> | <nowiki>| text = This is also a test.</nowiki> | ||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
{{Mbox | {{Mbox | ||
| icon = | | icon = fa-ban | ||
| colorborder | | colorborder = red | ||
| color = danger | |||
| | |||
| text = This is also a test. | | text = This is also a test. | ||
}} | }} |
Latest revision as of 11:45, 30 April 2024
What is {{Mbox}}[edit source]
The {{Mbox}} template is a standard text box with an icon.
Mbox is used in: Category:Notice_templates
How to use[edit source]
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:
- - fa-info-circle
- - fa-exclamation-circle
- - fa-ban
and many other Font Awesome icons
Examples[edit source]
{{Mbox | icon = | colorborder = | color = | text = This is a test. }}
This is a test.
{{Mbox | icon = fa-ban | colorborder = Pink | color= danger | text = This is also a test. }}
This is also a test.