Відмінності між версіями «Шаблон:Mbox»

Матеріал з Аероскан Сервіс
Перейти до: навігація, пошук
(adding a query option, for the query templates. using a question-mark icon, because it's a question)
м
Рядок 47: Рядок 47:
 
Where <TYPE> can be one of the following:
 
Where <TYPE> can be one of the following:
  
{{msg:mbox|type=warning|text=warning}}
+
{{msg:mbox|type=warning|text=warning or serious}}
 
{{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/move}}
+
{{msg:mbox|type=merge|text=merge or 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}}
 
{{msg:mbox|type=idea|text=idea}}
 
{{msg:mbox|type=idea|text=idea}}
 +
{{msg|mbox|type=query|text=query}}
  
 
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]].
 
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]].
  
 
</noinclude>
 
</noinclude>

Версія за 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:

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.

Шаблон:Msg

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.