Шаблон:Ambox — различия между версиями
Arhssaarh (обсуждение | вклад) (Новая страница: «{|style="clear: both; width: {{{width|80%}}}; border-color:#{{{outerbordercolor|AAB}}} #{{{outerbordercolor|AAB}}} #{{{outerbordercolor|AAB}}} #{{{bordercolor|999}}}...») |
Arhssaarh (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
− | {|style="clear: both; width: {{{ | + | {|style="clear: both; width: 60%; border: 1px solid #378564; border-left: 8px solid #{{Коробка/border-color|{{{1|{{{type|}}}}}}}}; background-color: #{{Коробка/background-color|{{{1|{{{type|}}}}}}}}; padding: 0px 4px; margin: 1px auto;" |
− | | | + | |style="width: {{#if: {{{3|{{{title|}}}}}} | 47px | 47px}};" | [[Файл:{{{image|{{#ifeq: {{{1|{{{type|}}}}}} | good | Dialog-information.png | {{#ifeq: {{{1|{{{type|}}}}}} | attention | Dialog-information.png | {{#ifeq: {{{1|{{{type|}}}}}} | bad | Dialog-information.png | Dialog-information.png }} }} }} }}} | {{#if: {{{3|{{{title|}}}}}} | 47px | 47px}}|link=]] |
− | |style=" | + | |style="line-height: normal; text-align: left;" class="small" | {{#if: {{{3|{{{title|}}}}}} | '''{{{3|{{{title|}}}}}}'''<br/>}}{{{2|{{{text|Текст}}}}}} |
− | |}<includeonly>{{# | + | |}<includeonly>{{#ifeq:[[Категория:{{{category}}}]] }}</includeonly> |
+ | <noinclude>{{doc}} [[Категория:Шаблоны|Коробка]] | ||
+ | </noinclude> |
Версия 18:40, 11 июня 2011
![]() |
Текст |

Итак
{{Коробка|<тип шаблона (bad, good, attention)>|<текст шаблона>|<заголовок шаблона>}}