Шаблон:Mbox — различия между версиями
Материал из Аэроскан Сервис
м (adjust default sizes for image types) |
(okay. those huge margins are just plain...well...) |
||
| Строка 1: | Строка 1: | ||
| − | + | <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. | + | |<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| | + | | 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: | + | <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> | + | </tr></table> |
| + | <noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||