Template:Mbox/doc: Difference between revisions

From Eco - English Wiki
[checked revision][checked revision]
Created page with "=What is <nowiki>{{Mbox}}</nowiki>= The <nowiki>{{Mbox}}</nowiki> 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:<br> <nowiki>{{Mbox</nowiki> <nowiki>| icon = </nowiki> <nowiki>| colorborder = </nowiki> <nowiki>| colorbackground = </nowiki> <nowiki>| colortext =..."
Tag: 2017 source edit
 
No edit summary
Tag: 2017 source edit
 
Line 51: Line 51:
| text = This is also a test.
| text = This is also a test.
}}
}}
<noinclude>[[Category:Template Docs]]</noinclude>

Latest revision as of 06:08, 21 May 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.
}}
{{Mbox
| icon = fa-ban
| colorborder = Pink
| color= danger
| text = This is also a test.
}}