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

Материал из Аэроскан Сервис
Перейти к: навигация, поиск
м (+category)
(This template has now been checked and tested, it works correctly in the new "Book:" and "Book talk:" namespaces. And a minor update to "{{pp-template}}".)
Строка 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}}
</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>

Версия 04:03, 30 декабря 2009

Шаблон:Pp-template

30px Template documentation[create]