Відмінності між версіями «Шаблон:Mbox»

Матеріал з Аероскан Сервіс
Перейти до: навігація, пошук
м (adjust default sizes for image types)
(okay. those huge margins are just plain...well...)
Рядок 1: Рядок 1:
<includeonly><table class="plainlinks noprint messagebox {{{type|notice}}}" {{#if:{{{style|}}}|style="{{{style}}}"}}>
+
<table class="plainlinks noprint messagebox {{{type|notice}}}" style="{{{style|}}}; width: 80%;">
 
<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.3em; text-align:center; vertical-align:middle; width:45px;">
+
  |<td style="padding:0.1em; text-align:center; vertical-align:left; width:45px;">
 
{{#if:{{{image|}}}|[[Image:{{{image}}}|{{{size|40x40px}}}]]|{{#switch:{{{type|}}}
 
{{#if:{{{image|}}}|[[Image:{{{image}}}|{{{size|40x40px}}}]]|{{#switch:{{{type|}}}
 
  | warning  = [[Image:Stop hand nuvola.svg|{{{size|40x40px}}}]]
 
  | warning  = [[Image:Stop hand nuvola.svg|{{{size|40x40px}}}]]
Рядок 15: Рядок 15:
 
  | query    = [[Image:Emblem-question.svg|{{{size|40x40px}}}]]
 
  | query    = [[Image:Emblem-question.svg|{{{size|40x40px}}}]]
 
  | free    = [[Image:GreenCopyleft.svg|{{{size|40x40px}}}]]
 
  | free    = [[Image:GreenCopyleft.svg|{{{size|40x40px}}}]]
  | nonfree  = [[Image:Orange copyright.svg|{{{size|40x40px}}}]]
+
  | nonfree  = [[Image:Orange copyright.svg|{{{size|45x45px}}}]]
 
  | 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:Book notice.svg|{{{size|40x40px}}}]]}}}}</td>}}
<td style="{{{text style|color:black; vertical-align:middle; padding:0.5em; padding-left:0em; width:90%;}}}">
+
<td style="{{{text style|color:black; vertical-align:middle; padding:0.5em; padding-left:0em; width:95%;}}}">
 
{{{1|{{{msg|{{{text|''Enter Text''}}}}}}}}}
 
{{{1|{{{msg|{{{text|''Enter Text''}}}}}}}}}
 
</td>
 
</td>
 
{{#if:{{{imageright|}}}|<td>{{{imageright}}}</td>}}
 
{{#if:{{{imageright|}}}|<td>{{{imageright}}}</td>}}
</tr></table></includeonly><noinclude>
+
</tr></table>
 +
<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Версія за 01:49, 4 жовтня 2008

30px Template documentation[create]