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

Материал из Аэроскан Сервис
Перейти к: навигация, поиск
м (12 revisions from w:Template:Ombox/core)
(pngs to svgs and cleanup)
Строка 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
Строка 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}}
 
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Версия 16:00, 22 апреля 2010

30px Template documentation[create]