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

Матеріал з Аероскан Сервіс
Перейти до: навігація, пошук
(steal unused template for a new high-level meta-template (for interaction between {{ambox}}, {{imbox}} and {{cmbox}})
м (109 версій)
 
(не показано 52 проміжні версії 10 учасників)
Рядок 1: Рядок 1:
{{ {{#switch:{{NAMESPACE}}
+
<includeonly>{{
|{{ns:0}}=ambox
+
  {{namespace detect
  |{{ns:Image}}=imbox
+
  | demospace = {{{demospace|}}}
  |{{ns:Category}}=cmbox
+
  | main = ambox
|#default=ambox
+
  | wikijunior = ambox
}}
+
  | cookbook = ambox
|{{#if:{{{type|}}}|type|}}={{{type|}}}
+
  | talk      = tmbox
|{{#if:{{{image|}}}|image|}}={{{image|}}}
+
  | file      = imbox
|{{#if:{{{style|}}}|style|}}={{{style|}}}
+
  | category = cmbox
|{{#if:{{{textstyle|}}}|textstyle|}}={{{textstyle|}}}
+
  | other    = ombox
|{{#if:{{{text|}}}|text|}}={{{text|}}}
+
  }}
}}
+
| type      = {{{type|}}}
 +
| image      = {{{image|}}}
 +
| imageright = {{{imageright|}}}
 +
| style      = {{{style|}}}
 +
| textstyle  = {{{textstyle|}}}
 +
| text      = {{{text|{{{msg|}}}}}}
 +
| small      = {{{small|}}}
 +
| smallimage = {{{smallimage|}}}
 +
| smallimageright = {{{smallimageright|}}}
 +
| smalltext  = {{{smalltext|}}}
 +
}}</includeonly><noinclude>
 +
{{documentation}}
 +
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 +
</noinclude>

Поточна версія на 20:12, 25 травня 2015

30px Template documentation[create]