Шаблон:Mbox — различия между версиями
Материал из Аэроскан Сервис
(make wider and left border optional too) |
(adding a query option, for the query templates. using a question-mark icon, because it's a question) |
||
| Строка 9: | Строка 9: | ||
| growth = #228b22 | | growth = #228b22 | ||
| idea = yellow | | idea = yellow | ||
| + | | query = yellow | ||
| #default = #1e90ff | | #default = #1e90ff | ||
}};}}}"> | }};}}}"> | ||
| Строка 24: | Строка 25: | ||
| growth = Nuvola Green Plus.svg | | growth = Nuvola Green Plus.svg | ||
| idea = Ktip.svg | | idea = Ktip.svg | ||
| + | | query = Image:Torchlight help yellow.png | ||
| blank = <!-- empty image cell --> | | blank = <!-- empty image cell --> | ||
| #default = <!-- empty image cell --> | | #default = <!-- empty image cell --> | ||
Версия 20:02, 19 сентября 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 |
This message box is using an invalid "type=warning" parameter and needs fixing.
| 40x40px | content |
| 40x40px | style |
| 40x40px | merge/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.
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.