Template:Mbox/Doc: Difference between revisions

From Eco - English Wiki
[unchecked revision][unchecked revision]
No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 21: Line 21:
===Examples===
===Examples===


<nowiki>{{Mbox</nowiki>
  <nowiki>{{Mbox</nowiki>
<nowiki>| icon = </nowiki>
<nowiki>| colorborder = </nowiki>
<nowiki>| color = </nowiki>
<nowiki>| text = </nowiki>
<nowiki>}}</nowiki>
 
{{Mbox
| icon =
| colorborder =
| color =
| text =
}}
 
<nowiki>{{Mbox</nowiki>
  <nowiki>| icon = </nowiki>
  <nowiki>| icon = </nowiki>
  <nowiki>| colorborder = </nowiki>
  <nowiki>| colorborder = </nowiki>
Line 51: Line 37:
  <nowiki>{{Mbox</nowiki>
  <nowiki>{{Mbox</nowiki>
  <nowiki>| icon = </nowiki>
  <nowiki>| icon = </nowiki>
  <nowiki>| colorborder = darkred</nowiki>
  <nowiki>| colorborder = Pink</nowiki>
  <nowiki>| color= warning</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 = Pink
| colorborder =  
| color = danger
| color =  
| text = This is also a test.
| text = This is also a test.
}}
}}

Revision as of 10:15, 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:


Examples

 {{Mbox
| icon = 
| colorborder = 
| color = 
| text = This is a test.
}}



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