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

Материал из Аэроскан Сервис
Перейти к: навигация, поиск
(Changed deprecated "{{namespace detect|image=}}" to "{{namespace detect|file=}}, due to change of namespace "Image:" to "File:". No change in functionality.)
м (+category)
Строка 1: Строка 1:
{{
+
<includeonly><table class="plainlinks noprint messagebox {{{type|notice}}}" {{#if:{{{style|}}}|style="{{{style}}}"}}> 
  {{namespace detect
+
<tr style="vertical-align:middle;">{{#ifeq:{{{image|yes}}}|none
  | demospace = {{{demospace|}}}
+
|<!-- no image cell -->
  | main      = ambox
+
|<td style="padding:0.1em; text-align:center; vertical-align:middle; width:45px;">
  | talk      = tmbox
+
{{#if:{{{image|}}}|[[Image:{{{image}}}|{{{size|40x40px}}}]]|{{#switch:{{{type|}}}
  | file      = imbox
+
| warning = [[Image:Nuvola apps important.svg|{{{size|40x40px}}}]]
  | category = cmbox
+
| serious  = [[Image:Stop hand nuvola.svg|{{{size|40x40px}}}]]
  | other    = ombox
+
| content  = [[Image:Book important2.svg|{{{size|45x45px}}}]]
  }}
+
| style    = [[Image:Applications-office.svg|{{{size|40x40px}}}]]
| type      = {{{type|}}}
+
| merge    = [[Image:Merge-split-transwiki default.svg|{{{size|40x40px}}}]]
| image      = {{{image|}}}
+
| move    = [[Image:Merge-split-transwiki default.svg|{{{size|40x40px}}}]]
| imageright = {{{imageright|}}}
+
  | notice  = [[Image:Book notice.svg|{{{size|40x40px}}}]]
| style      = {{{style|}}}
+
| growth  = [[Image:Nuvola apps bookcase.svg|{{{size|40x40px}}}]]
| textstyle = {{{textstyle|}}}
+
| idea    = [[Image:Dialog-information on.svg|{{{size|40x40px}}}]]
| text      = {{{text}}}
+
| query    = [[Image:Emblem-question.svg|{{{size|40x40px}}}]]
| small      = {{{small|}}}
+
| free    = [[Image:GreenCopyleft.svg|{{{size|40x40px}}}]]
| smallimage = {{{smallimage|}}}
+
| nonfree = [[Image:Orange copyright.svg|{{{size|40x40px}}}]]
| smallimageright = {{{smallimageright|}}}
+
| pd      = [[Image:PD-icon.svg|{{{size|40x40px}}}]]
| smalltext = {{{smalltext|}}}
+
| blank    = <!-- empty image cell -->
}}<noinclude>
+
|#default  = [[Image:Book notice.svg|{{{size|40x40px}}}]]}}}}</td>}}
 
+
<td style="{{{text style|color:black; text-align:left; vertical-align:middle; padding:0.5em; padding-left:0em;}}}">
{{pp-template|small=yes}}
+
{{{1|{{{msg|{{{text|''Enter Text''}}}}}}}}}
{{Documentation}}
+
</td>
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
{{#if:{{{imageright|}}}|<td style="padding:0.1em; padding-left:0em; text-align:center; vertical-align:middle;">{{{imageright}}}</td>}}
 +
</tr></table></includeonly>
 +
<noinclude>
 +
{{documentation}}
 +
[[Category:Infobox templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Версия 23:12, 6 июля 2009


30px Template documentation[create]