| [досмотренная версия] | [досмотренная версия] |
StalEF (обсуждение | вклад) м StalEF переименовал страницу Шаблон:Mbox/Doc в Шаблон:Mbox/doc без оставления перенаправления |
StalEF (обсуждение | вклад) Нет описания правки |
||
| Строка 1: | Строка 1: | ||
=What is <nowiki>{{Mbox}}</nowiki>= | =What is <nowiki>{{Mbox}}</nowiki>= | ||
The <nowiki>{{Mbox}}</nowiki> template is a standard text box with an icon. | 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 = </nowiki> | |||
<nowiki>| text = </nowiki> | |||
<nowiki>}}</nowiki> | |||
Suggested icons: | |||
* <i class="fa fa-2x fa-info-circle"></i> - fa-info-circle | |||
* <i class="fa fa-2x fa-exclamation-circle"></i> - fa-exclamation-circle | |||
* <i class="fa fa-2x fa-ban"></i> - fa-ban | |||
and many other Font Awesome icons | |||
===Examples=== | |||
<nowiki>{{Mbox</nowiki> | |||
<nowiki>| icon = </nowiki> | |||
<nowiki>| colorborder = </nowiki> | |||
<nowiki>| color = </nowiki> | |||
<nowiki>| text = This is a test.</nowiki> | |||
<nowiki>}}</nowiki> | |||
{{Mbox | |||
| icon = | |||
| colorborder = | |||
| colorbackground = | |||
| text = This is a test. | |||
}} | |||
<nowiki>{{Mbox</nowiki> | |||
<nowiki>| icon = fa-ban</nowiki> | |||
<nowiki>| colorborder = Pink</nowiki> | |||
<nowiki>| color= danger</nowiki> | |||
<nowiki>| text = This is also a test.</nowiki> | |||
<nowiki>}}</nowiki> | |||
{{Mbox | |||
| icon = fa-ban | |||
| colorborder = red | |||
| color = danger | |||
| text = This is also a test. | |||
}} | |||
<noinclude>[[Category:Template Docs]]</noinclude> | |||
Текущая версия от 15:30, 2 июля 2025
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.
}}
This is a test.
{{Mbox
| icon = fa-ban
| colorborder = Pink
| color= danger
| text = This is also a test.
}}
This is also a test.