Difference between revisions of "Template:Ombox/core"

From RimWorld Wiki
Jump to navigation Jump to search
(Needed to use Infobox)
 
m (1 revision)
 
(One intermediate revision by the same user not shown)
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 9: Line 14:
 
| notice          <!-- notice = default -->
 
| notice          <!-- notice = default -->
 
| #default  = ombox-notice
 
| #default  = ombox-notice
}} {{{class|}}}" style="{{{style|}}}" role="presentation">
+
}} {{{class|}}}" style="{{{style|}}}">
 
<tr>
 
<tr>
 
{{#ifeq:{{{image|}}}|none
 
{{#ifeq:{{{image|}}}|none
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

Latest revision as of 02:45, 7 November 2013

Documentation icon Template Documentation[create]