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

Материал из Аэроскан Сервис
Перейти к: навигация, поиск
(A first beta version of {{tmbox}} is available, so enabled call to tmbox.)
м (109 версий)
 
(не показаны 44 промежуточные версии 9 участников)
Строка 1: Строка 1:
{{  
+
<includeonly>{{
 
   {{namespace detect  
 
   {{namespace detect  
 
   | demospace = {{{demospace|}}}
 
   | demospace = {{{demospace|}}}
   | main     = ambox
+
   | main = ambox
 +
  | wikijunior = ambox
 +
  | cookbook  = ambox
 
   | talk      = tmbox
 
   | talk      = tmbox
   | image    = imbox
+
   | file      = imbox
 
   | category  = cmbox
 
   | category  = cmbox
 
   | other    = ombox
 
   | other    = ombox
 
   }}
 
   }}
<!-- These if-cases should perhaps be removed since all current mboxes can take empty parameters. This code also means we are feeding several empty numbered parameters but that doesn't matter since the mboxes don't use numbered parameters.  -->
+
| type       = {{{type|}}}
| {{#if:{{{type|}}}| type={{{type|}}} }}
+
| image      = {{{image|}}}
| {{#if:{{{image|}}}| image={{{image|}}} }}
+
| imageright = {{{imageright|}}}
| {{#if:{{{imageright|}}}| imageright={{{imageright|}}} }}
+
| style      = {{{style|}}}
| {{#if:{{{style|}}}| style={{{style|}}} }}
+
| textstyle  = {{{textstyle|}}}
| {{#if:{{{textstyle|}}}| textstyle={{{textstyle|}}} }}
+
| text      = {{{text|{{{msg|}}}}}}
| {{#if:{{{text|}}}| text={{{text|}}} }}
+
| small      = {{{small|}}}
 
+
| smallimage = {{{smallimage|}}}
}}<noinclude>
+
| smallimageright = {{{smallimageright|}}}
 
+
| smalltext  = {{{smalltext|}}}
<!-- {{pp-template|small=yes}} -->
+
}}</includeonly><noinclude>
{{Documentation}}
+
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Текущая версия на 20:17, 25 мая 2015

30px Template documentation[create]