Templat:Ombox/core: Perbedaan revisi

Dari RPG Fantasy Web Indonesia Wiki
Langsung ke: navigasi, cari
k (Category => Kategori)
(Ombox/core terbaru)
 
Baris 1: Baris 1:
 
<table class="plainlinks ombox {{#ifeq:{{{small}}}|yes|mbox-small}}  
 
<table class="plainlinks ombox {{#ifeq:{{{small}}}|yes|mbox-small}}  
 
{{#switch:{{{type|}}}
 
{{#switch:{{{type|}}}
 +
| critical  = mbox-critical
 +
| important  = mbox-important
 +
| caution  = mbox-caution
 +
| warning  = mbox-warning
 +
| license = mbox-license
 
| speedy    = ombox-speedy
 
| speedy    = ombox-speedy
 
| delete    = ombox-delete
 
| delete    = ombox-delete
Baris 17: Baris 22:
 
   | {{{image}}}
 
   | {{{image}}}
 
   | [[Image:{{#switch:{{{type|}}}
 
   | [[Image:{{#switch:{{{type|}}}
 +
    | critical  = Ambox warning pn.svg
 +
    | important  = Ambox warning pn.svg
 +
    | warning    = Ambox important.svg
 +
    | caution    = Edit-clear.svg
 +
    | license = Imbox_license.svg
 
     | speedy    = Imbox speedy deletion.png
 
     | speedy    = Imbox speedy deletion.png
 
     | delete    = Imbox deletion.png
 
     | delete    = Imbox deletion.png
Baris 42: Baris 52:
 
-->{{#switch:{{{type|}}}
 
-->{{#switch:{{{type|}}}
 
|  <!-- No type fed, is also valid input -->
 
|  <!-- No type fed, is also valid input -->
 +
| critical
 +
| important
 +
| warning
 +
| caution
 +
| license
 
| speedy
 
| speedy
 
| delete
 
| delete
Baris 49: Baris 64:
 
| 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>[[Kategori: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>[[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
 
}}<noinclude>
 
}}<noinclude>
  

Revisi terkini pada 30 April 2013 10.04

[create] 50px Template documentation