Шаблон:Ombox: различия между версиями
Перейти к навигации
Перейти к поиску
en>Davidgothberg (Added "{{pp-template|small=yes}}".) |
en>Davidgothberg (Updating to use the classes in MediaWiki:Common.css. The 30 days CSS caching has passed.) |
||
| Строка 1: | Строка 1: | ||
<table class="plainlinks | <table class="plainlinks ombox | ||
{{#switch:{{{type|}}} | {{#switch:{{{type|}}} | ||
| speedy = | | speedy = ombox-speedy | ||
| delete = | | delete = ombox-delete | ||
| content = | | content = ombox-content | ||
| style = | | style = ombox-style | ||
| move = | | move = ombox-move | ||
| protection = | | protection = ombox-protection | ||
| notice <!-- notice = default --> | | notice <!-- notice = default --> | ||
| #default = | | #default = ombox-notice | ||
}} {{{style|}}}"> | }}" style="{{{style|}}}"> | ||
<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 style="border: none; padding: 1px;"></td> | | <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 1px;"></td> | ||
| <td | | <td class="ombox-image"> | ||
{{#if:{{{image|}}} | {{#if:{{{image|}}} | ||
| {{{image}}} | | {{{image}}} | ||
| Строка 28: | Строка 28: | ||
}}</td> | }}</td> | ||
}} | }} | ||
<td style=" | <td class="ombox-text" style="{{{textstyle|}}}"> {{{text}}} </td> | ||
{{#if:{{{imageright|}}} | {{#if:{{{imageright|}}} | ||
| <td | | <td class="ombox-imageright"> {{{imageright}}} </td> | ||
}} | }} | ||
</tr> | </tr> | ||
Версия 07:07, 5 августа 2008
{{#ifeq:|none
|
|
}}
{{#if:
|}}
{{#if:
| {{{image}}}
| {{#switch:
| speedy = Файл:Imbox speedy deletion.png
| delete = Файл:Imbox deletion.png
| content = Файл:Imbox content.png
| style = Файл:Imbox style.png
| move = Файл:Imbox move.png
| protection = Файл:Imbox protection.png
| notice
| #default = Файл:Imbox notice.png
}}
}} | {{{text}}} | {{{imageright}}} |
Шаблон:Pp-template Ошибка Lua: Внутренняя ошибка: Интерпретатор завершил работу со статусом 1.