Template:Ombox/core: Difference between revisions

From zoywiki.com
Jump to navigation Jump to search
(Created page with "<table class="plainlinks ombox {{#ifeq:{{{small}}}|yes|mbox-small}} {{#switch:{{{type|}}} | critical = mbox-critical | important = mbox-important | caution = mbox-cauti...")
 
No edit summary
 
Line 1: Line 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
Line 22: Line 17:
   | {{{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
Line 52: Line 42:
-->{{#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

Latest revision as of 21:48, 8 January 2013

[create] Template documentation