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

Материал из Аэроскан Сервис
Перейти к: навигация, поиск
(dummy edit to fix edit summary: replace style image with free version and delink default images, per request on Wikipedia talk:Article message boxes)
м (15 версий)
 
(не показаны 4 промежуточные версии 2 участников)
Строка 16: Строка 16:
 
   {{#if:{{{image|}}}
 
   {{#if:{{{image|}}}
 
   | {{{image}}}
 
   | {{{image}}}
   | [[Image:{{#switch:{{{type|}}}
+
   | [[File:{{#switch:{{{type|}}}
     | speedy    = Imbox speedy deletion.png
+
     | speedy    = Ambox warning pn.svg
     | delete    = Imbox deletion.png
+
     | delete    = Ambox warning pn.svg
     | content    = Imbox content.png
+
     | content    = Ambox Content.svg
 
     | style      = Edit-clear.svg
 
     | style      = Edit-clear.svg
     | move      = Imbox move.png
+
     | move      = Merge-split-transwiki default.svg
     | protection = Imbox protection.png
+
     | protection = Padlock-silver-medium.svg
 
     | notice          <!-- notice = default -->
 
     | notice          <!-- notice = default -->
     | #default  = Imbox notice.png
+
     | #default  = Information icon4.svg
 
     }} | {{#ifeq:{{{small|}}}|yes
 
     }} | {{#ifeq:{{{small|}}}|yes
      |30x30px
+
    | 30x30px
      |40x40px
+
    | 40x40px
     }}}}|link=|alt=]]
+
     }}|link=|alt=]]
 
   }}</td>
 
   }}</td>
 
}}
 
}}
Строка 49: Строка 49:
 
| protection
 
| protection
 
| notice    =    <!-- Do nothing, valid "type" -->
 
| notice    =    <!-- Do nothing, valid "type" -->
| #default  = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
+
| #default  = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>
 
}}<noinclude>
 
}}<noinclude>
 
{{pp-template|small=yes}}
 
 
{{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]