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

Материал из Аэроскан Сервис
Перейти к: навигация, поиск
(make msg and first numerical argument alternatives to text)
(making move type alias for merge)
Строка 5: Строка 5:
 
   | style    = #f4c430
 
   | style    = #f4c430
 
   | merge    = #9932cc
 
   | merge    = #9932cc
 +
  | move    = #9932cc
 
   | notice  = #1e90ff
 
   | notice  = #1e90ff
 
   | growth  = #228b22
 
   | growth  = #228b22
Строка 18: Строка 19:
 
     | content  = Emblem-important.svg
 
     | content  = Emblem-important.svg
 
     | style    = Applications-office.svg
 
     | style    = Applications-office.svg
 +
    | merge    = Merge-split-transwiki default.svg
 
     | merge    = Merge-split-transwiki default.svg
 
     | merge    = Merge-split-transwiki default.svg
 
     | notice  = Information icon.svg
 
     | notice  = Information icon.svg
Строка 46: Строка 48:
 
{{msg:mbox|type=content|text=content}}
 
{{msg:mbox|type=content|text=content}}
 
{{msg:mbox|type=style|text=style}}
 
{{msg:mbox|type=style|text=style}}
{{msg:mbox|type=merge|text=merge}}
+
{{msg:mbox|type=merge|text=merge/move}}
 
{{msg:mbox|type=notice|text=notice}}
 
{{msg:mbox|type=notice|text=notice}}
 
{{msg:mbox|type=growth|text=growth}}
 
{{msg:mbox|type=growth|text=growth}}

Версия 15:32, 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:

This message box is using an invalid "type=warning" parameter and needs fixing.
This message box is using an invalid "type=merge" parameter and needs fixing.
This message box is using an invalid "type=growth" parameter and needs fixing.
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.