Шаблон:Ombox/core — различия между версиями
Материал из Аэроскан Сервис
(update CSS class "tmbox-small" → "mbox-small", as caching time has passed) |
Admin (обсуждение | вклад) м (15 версий) |
||
| (не показано 9 промежуточных версии 4 участников) | |||
| Строка 12: | Строка 12: | ||
<tr> | <tr> | ||
{{#ifeq:{{{image|}}}|none | {{#ifeq:{{{image|}}}|none | ||
| − | | <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td | + | | <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td class="mbox-empty-cell"></td> |
| <td class="mbox-image"> | | <td class="mbox-image"> | ||
{{#if:{{{image|}}} | {{#if:{{{image|}}} | ||
| {{{image}}} | | {{{image}}} | ||
| − | | [[ | + | | [[File:{{#switch:{{{type|}}} |
| − | | speedy = | + | | speedy = Ambox warning pn.svg |
| − | | delete = | + | | delete = Ambox warning pn.svg |
| − | | content = | + | | content = Ambox Content.svg |
| − | | style = | + | | style = Edit-clear.svg |
| − | | move = | + | | move = Merge-split-transwiki default.svg |
| − | | protection = | + | | protection = Padlock-silver-medium.svg |
| notice <!-- notice = default --> | | notice <!-- notice = default --> | ||
| − | | #default = | + | | #default = Information icon4.svg |
| − | }} | {{#ifeq:{{{small|}}}|yes|30x30px|40x40px}} ]] | + | }} | {{#ifeq:{{{small|}}}|yes |
| + | | 30x30px | ||
| + | | 40x40px | ||
| + | }}|link=|alt=]] | ||
}}</td> | }}</td> | ||
}} | }} | ||
| Строка 46: | Строка 49: | ||
| protection | | protection | ||
| notice = <!-- Do nothing, valid "type" --> | | notice = <!-- Do nothing, valid "type" --> | ||
| − | | #default = | + | | #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div> |
}}<noinclude> | }}<noinclude> | ||
| − | |||
| − | |||
{{documentation}} | {{documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||
Текущая версия на 20:17, 25 мая 2015
| 40x40px | {{{text}}} |