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

Матеріал з Аероскан Сервіс
Перейти до: навігація, пошук
м (22 revisions from w:Template:Mbox: History merge/update)
(update)
Рядок 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; border:none;">
+
  | 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:Warning icon WikiBooks.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:Warning icon WikiBooks.svg|{{{size|40x40px}}}]]}}}}</td>}}
+
}}<noinclude>
<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''}}}}}}}}}
+
</td>
+
{{#if:{{{imageright|}}}|<td style="padding:0.1em; padding-left:0em; text-align:center; vertical-align:middle;">{{{imageright}}}</td>}}
+
</tr></table></includeonly>
+
<noinclude>
+
 
{{documentation}}
 
{{documentation}}
[[Category:Infobox templates|{{PAGENAME}}]]
+
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Версія за 23:46, 24 квітня 2010

30px Template documentation[create]