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

Материал из Аэроскан Сервис
Перейти к: навигация, поиск
м (rm div around examples, shouldn't need it now)
Строка 14: Строка 14:
 
  | idea    = [[Image:Dialog-information on.svg|{{{size|40x40px}}}]]
 
  | idea    = [[Image:Dialog-information on.svg|{{{size|40x40px}}}]]
 
  | query    = [[Image:Torchlight help yellow.png|{{{size|40x40px}}}]]
 
  | query    = [[Image:Torchlight help yellow.png|{{{size|40x40px}}}]]
 +
| free    = [[Image:Imbox license.png|40px]]
 +
| nonfree  = [[Image:Orange copyright.svg|50px]]
 +
| grey  = [[Image:PD-icon.svg|40px]]
 +
| pd  = [[Image:PD-icon.svg|40px]]
 
  | blank    = <!-- empty image cell -->
 
  | blank    = <!-- empty image cell -->
 
  |#default  = [[Image:Book notice.svg|{{{size|40x40px}}}]]}}}}</td>}}
 
  |#default  = [[Image:Book notice.svg|{{{size|40x40px}}}]]}}}}</td>}}
Строка 38: Строка 42:
  
 
The default image can be suppressed with image="none", or you can use a custom image with image="<IMAGE>" (without the Image: prefix). See [[Wikibooks:Template messages]] for examples of how this template is used.
 
The default image can be suppressed with image="none", or you can use a custom image with image="<IMAGE>" (without the Image: prefix). See [[Wikibooks:Template messages]] for examples of how this template is used.
 +
{{documentation}}
 
</noinclude>
 
</noinclude>

Версия 21:47, 28 сентября 2008


Usage

{{mbox|type=<TYPE>|your message here}}

This template is used to create messages with a consistent visual style, based on message types, and is typically used in other templates. The type of messages supported are:

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

The default image can be suppressed with image="none", or you can use a custom image with image="<IMAGE>" (without the Image: prefix). See Wikibooks:Template messages for examples of how this template is used.

30px Template documentation[create]