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
(One intermediate revision by the same user not shown)
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>
Line 36: Line 38:


  <nowiki>{{Mbox</nowiki>
  <nowiki>{{Mbox</nowiki>
  <nowiki>| icon = </nowiki>
  <nowiki>| icon = fa-ban</nowiki>
  <nowiki>| colorborder = Pink</nowiki>
  <nowiki>| colorborder = Pink</nowiki>
  <nowiki>| color= danger</nowiki>
  <nowiki>| color= danger</nowiki>
Line 44: Line 46:
{{Mbox
{{Mbox
| icon = fa-ban
| icon = fa-ban
| colorborder =  
| colorborder = Pink
| color =  
| color = danger
| text = This is also a test.
| text = This is also a test.
}}
}}

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.
}}