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

Материал из Аэроскан Сервис
Перейти к: навигация, поиск
м (17 версий)
 
(не показано 14 промежуточных версии 3 участников)
Строка 1: Строка 1:
−
<table class="metadata plainlinks messagebox" style="{{{style|}}}">
+
{{#ifeq:{{{small|}}}|yes
−
<tr>
+
| {{ombox/core
−
<td class="ambox-image">
+
  | small = yes
−
{{#ifeq:{{{image|}}}|none
+
  | type  = {{{type|}}}
−
   | <!-- No image cell; empty cell necessary for text cell to have 100% width -->
+
   | image = {{#if:{{{smallimage|}}}| {{{smallimage}}} | {{{image|}}} }}
−
  | <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}}
+
  | imageright = {{#if:{{{smallimageright|}}} | {{{smallimageright}}} | {{{imageright|}}} }}
−
    | speedy    = [[Image:Ambox speedy deletion.png|40x40px]]
+
  | style = {{{style|}}}
−
    | delete
+
  | textstyle = {{{textstyle|}}}
−
    | serious    = [[Image:Ambox deletion.png|40x40px]]
+
  | text  = {{#if:{{{smalltext|}}}| {{{smalltext}}} | {{{text}}} }}
−
    | content    = [[Image:Ambox content.png|40x40px]]
+
  }}
−
    | style     = [[Image:Ambox style.png|40x40px]]
+
| {{ombox/core
−
    | move
+
   | type  = {{{type|}}}
−
    | merge      = [[Image:Ambox move.png|40x40px]]
+
   | image = {{{image|}}}
−
    | protection = [[Image:Ambox protection.png|40x40px]]
+
  | imageright = {{{imageright|}}}  
−
    | notice    = [[Image:Ambox notice.png|40x40px]]
+
  | style = {{{style|}}}
−
    | blank      = &nbsp;
+
  | textstyle = {{{textstyle|}}}
−
    | #default   = {{{image|[[Image:Ambox notice.png|40x40px]]}}}
+
   | text  = {{{text}}}
−
   }}</div>
+
  }}
−
}}</td>
+
}}<noinclude>
−
<td class="ambox-text" style="{{{textstyle|}}}">{{{text}}}</td>
+
{{documentation}}
−
{{#if:{{{imageright|}}}
+
−
   | <td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>
+
−
}}
+
−
</tr>
+
−
</table><noinclude>
+
−
{{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

30px Template documentation[create]