Шаблон:Mbox: различия между версиями

Материал из Eco - Русская Wiki
Перейти к:навигация, поиск
[досмотренная версия][досмотренная версия]
Нет описания правки
Нет описания правки
Строка 4: Строка 4:
{{#if:{{{text|}}}|{{!}} style="vertical-align:middle;" {{!}} {{{text}}}|}}
{{#if:{{{text|}}}|{{!}} style="vertical-align:middle;" {{!}} {{{text}}}|}}
|}
|}
</center></includeonly>
</center></includeonly><noinclude>{{Mbox/doc}}</noinclude>

Версия от 08:30, 29 апреля 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.
}}
Файл:Imbox deletion.png This is a test.
{{Mbox
| icon = fa-ban
| colorborder = Pink
| color= danger
| text = This is also a test.
}}
Файл:Fa-ban This is also a test.