Template:Ombox/core

From PPL Documentation Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "<table class="plainlinks ombox {{#ifeq:{{{small}}}|yes|mbox-small}} {{#switch:{{{type|}}} | speedy = ombox-speedy | delete = ombox-delete | content = ombox-content...")
 
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 17: Line 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
Line 42: Line 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

Revision as of 17:29, 4 July 2012

[create] 50px Template documentation
NAVIGATION