[unchecked revision] | [checked revision] |
(→What is {{Mbox}}: Removed examples that don't exist on this wiki.) |
No edit summary Tag: 2017 source edit |
||
(9 intermediate revisions by the same user 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 18: | Line 17: | ||
Suggested icons: | Suggested icons: | ||
<i class="fa fa-info-circle"></i> - fa-info-circle | |||
<i class="fa fa-exclamation-circle"></i> - fa-exclamation-circle | |||
<i class="fa 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 36: | Line 34: | ||
| 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. | ||
}} | }} |
Revision as of 10:57, 30 April 2024
What is {{Mbox}}
The {{Mbox}} template is a standard text box with an icon.
Mbox is used in: Category:Notice_templates
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: - fa-info-circle - fa-exclamation-circle - fa-ban and many other Font Awesome icons
Examples
{{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.