Template:Mbox/Doc: Difference between revisions

From Eco - English Wiki
[unchecked revision][checked revision]
No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 17: 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>{{Mbox</nowiki>
  <nowiki>| icon = </nowiki>
  <nowiki>| icon = </nowiki>

Revision as of 10:48, 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.
}}



{{Mbox
| icon = fa-ban
| colorborder = Pink
| color= danger
| text = This is also a test.
}}