ATTENTION! The process of updating WiKi to version Eco 10.x has begun. Those wishing to participate can find out more Information on our ECO Contribution Wiki Discord.
From April 26 to May 12, errors may occur in the Wiki, as we will be carrying out a major update to the information processing modules.

Template:Mbox/Doc: Difference between revisions

From Eco - English Wiki
[unchecked revision][unchecked revision]
(https://www.hazeron.com/wiki/index.php/Template:Mbox/Doc)
 
(→‎What is {{Mbox}}: Removed examples that don't exist on this wiki.)
 
Line 4: Line 4:
For example it is used in:
For example it is used in:
* [[Template:Delete]]
* [[Template:Delete]]
* [[Template:Revision]]
* [[Template:HaxusNeeded]]


=How to use=
=How to use=

Latest revision as of 13:35, 20 July 2020

What is {{Mbox}}[edit source]

The {{Mbox}} template is a standard text box with an icon.

For example it is used in:

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:

  • Imbox_content.png Imbox_content.png
  • Imbox_deletion.png Imbox_deletion.png
  • Imbox_notice.png Imbox_notice.png

Examples[edit source]

{{Mbox
| icon = 
| colorborder = 
| colorbackground = 
| colortext = 
| text = 
}}
{{Mbox
| icon = Imbox_content.png
| colorborder = 
| colorbackground = 
| colortext = 
| text = This is a test.
}}
This is a test.
{{Mbox
| icon = Imbox_notice.png
| colorborder = darkred
| colorbackground = red
| colortext = yellow
| text = This is also a test.
}}
This is also a test.