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

Материал из Аэроскан Сервис
Перейти к: навигация, поиск
м (New page: <table class="metadata plainlinks" style="{{{style|width: 80%; margin: 0 auto; border-collapse: collapse; background: #f8fcff; border: 1px solid #aaa; border-left: 10px solid #1e90ff;}}} b...)
 
м (109 версий)
 
(не показано 108 промежуточных версии 13 участников)
Строка 1: Строка 1:
<table class="metadata plainlinks" style="{{{style|width: 80%; margin: 0 auto; border-collapse: collapse; background: #f8fcff; border: 1px solid #aaa; border-left: 10px solid #1e90ff;}}} border-left:{{#switch:{{{type|}}}
+
<includeonly>{{
   | serious  = #b22222
+
  {{namespace detect
   | content  = #f28500
+
  | demospace = {{{demospace|}}}
   | style    = #f4c430
+
   | main = ambox
   | merge    = #9932cc
+
   | wikijunior = ambox
   | notice  = #1e90ff
+
   | cookbook  = ambox
   | growth  = #228b22
+
   | talk      = tmbox
   | #default = #1e90ff
+
   | file      = imbox
}};">
+
   | category  = cmbox
<tr>
+
   | other    = ombox
{{#ifeq:{{{image}}}|none
+
  }}
  | <!-- no image cell -->
+
| type      = {{{type|}}}
  | <td class="ambox-image"> {{#switch:{{{image|{{{type|}}}}}}
+
| image     = {{{image|}}}
    | serious  = [[Image:Stop hand nuvola.svg|40px]]
+
| imageright = {{{imageright|}}}
    | content = [[Image:Emblem-important.svg|40px]]
+
| style      = {{{style|}}}
    | style    = [[Image:Broom icon.svg|40px]]
+
| textstyle = {{{textstyle|}}}
    | merge    = [[Image:Merge-split-transwiki default.svg]]
+
| text      = {{{text|{{{msg|}}}}}}
    | notice  = [[Image:Info non-talk.png|40px]]
+
| small      = {{{small|}}}
    | growth  = [[Image:Green plus icon.png]]
+
| smallimage = {{{smallimage|}}}
    | blank    = <!-- empty image cell -->
+
| smallimageright = {{{smallimageright|}}}
    | #default = {{{image|[[Image:Info non-talk.png|40px]]}}}
+
| smalltext  = {{{smalltext|}}}
  }}</td>
+
}}</includeonly><noinclude>
}}
+
{{documentation}}
<td>
+
<!-- Add categories and interwikis to the /doc subpage, not here! -->
{{{text}}}
+
</noinclude>
</td>
+
{{#if:{{{imageright|}}}|
+
  <td class="ambox-imageright"> {{{imageright}}} </td>
+
}}
+
</tr>
+
</table>
+

Текущая версия на 21:17, 25 мая 2015

30px Template documentation[create]