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

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

Версия 22:43, 11 февраля 2009

Шаблон:Pp-template

30px Template documentation[create]