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

Материал из Аэроскан Сервис
Перейти к: навигация, поиск
(notice: Book notice.svg -> Warning icon WikiBooks.svg)
(force no border on layout-table and set default icon to the same as "notice")
Строка 2: Строка 2:
 
<tr style="vertical-align:middle;">{{#ifeq:{{{image|yes}}}|none
 
<tr style="vertical-align:middle;">{{#ifeq:{{{image|yes}}}|none
 
  |<!-- no image cell -->
 
  |<!-- no image cell -->
  |<td style="padding:0.1em; text-align:center; vertical-align:middle; width:45px;">
+
  |<td style="padding:0.1em; text-align:center; vertical-align:middle; width:45px; border:none;">
 
{{#if:{{{image|}}}|[[Image:{{{image}}}|{{{size|40x40px}}}]]|{{#switch:{{{type|}}}
 
{{#if:{{{image|}}}|[[Image:{{{image}}}|{{{size|40x40px}}}]]|{{#switch:{{{type|}}}
 
  | warning  = [[Image:Nuvola apps important.svg|{{{size|40x40px}}}]]
 
  | warning  = [[Image:Nuvola apps important.svg|{{{size|40x40px}}}]]
Строка 18: Строка 18:
 
  | pd      = [[Image:PD-icon.svg|{{{size|40x40px}}}]]
 
  | pd      = [[Image:PD-icon.svg|{{{size|40x40px}}}]]
 
  | blank    = <!-- empty image cell -->
 
  | blank    = <!-- empty image cell -->
  |#default  = [[Image:Book notice.svg|{{{size|40x40px}}}]]}}}}</td>}}
+
  |#default  = [[Image:Warning icon WikiBooks.svg|{{{size|40x40px}}}]]}}}}</td>}}
<td style="{{{text style|color:black; text-align:left; vertical-align:middle; padding:0.5em; padding-left:0em;}}}">
+
<td style="{{{text style|color:black; text-align:left; vertical-align:middle; padding:0.5em; padding-left:0em; border:none;}}}">
 
{{{1|{{{msg|{{{text|''Enter Text''}}}}}}}}}
 
{{{1|{{{msg|{{{text|''Enter Text''}}}}}}}}}
 
</td>
 
</td>

Версия 03:03, 13 февраля 2010


30px Template documentation[create]