Шаблон:Ombox: различия между версиями
Перейти к навигации
Перейти к поиску
en>Happy-melon м (Reverted edits by Happy-melon (talk) to last version by Davidgothberg) |
en>Davidgothberg (Decreasing the empty left image cell from a total of 3px width to 1px width. Can't be 0px since then boxes who are not filled with text don't stay 80% wide.) |
||
| Строка 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 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: 0px; width: 1px;"></td> | ||
| <td class="ombox-image"> | | <td class="ombox-image"> | ||
{{#if:{{{image|}}} | {{#if:{{{image|}}} | ||
Версия 08:29, 14 сентября 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.