Відмінності між версіями «Шаблон:Mbox»
Матеріал з Аероскан Сервіс
м |
м |
||
| Рядок 12: | Рядок 12: | ||
| #default = #1e90ff | | #default = #1e90ff | ||
}};"> | }};"> | ||
| − | <tr><td style="padding: 2px 0px 2px 0.5em; text-align: center;"> | + | <tr><td style="width: 52px; padding: 2px 0px 2px 0.5em; text-align: center;"> |
{{#if:{{{image|}}} | {{#if:{{{image|}}} | ||
| [[Image:{{{image}}}|40px]] | | [[Image:{{{image}}}|40px]] | ||
Версія за 00:37, 26 вересня 2007
Usage
This template is used to create other templates with a consistent visual style. Messages will be color coded to demonstrate their type and severity. The types of message are described as:
{{mbox|type=<TYPE>|text=<TEXT>}}
Where <TYPE> can be one of the following:
| 40x40px | warning or serious |
This message box is using an invalid "type=warning" parameter and needs fixing.
| 40x40px | content |
| 40x40px | style |
| 40x40px | merge or move |
This message box is using an invalid "type=merge" parameter and needs fixing.
| 40x40px | notice |
| 40x40px | growth |
This message box is using an invalid "type=growth" parameter and needs fixing.
| 40x40px | idea |
This message box is using an invalid "type=idea" parameter and needs fixing.
| 40x40px | query |
This message box is using an invalid "type=query" parameter and needs fixing.
the default images can be suppressed by specifying "image=blank", or "image=<IMAGE>", where <IMAGE> is a replacement image link. Examples of how this template is used are located on Wikibooks:Template messages.