Difference between revisions of "Template:Rwbox/core"

From RimWorld Wiki
Jump to navigation Jump to search
m
m (Forgot to change the image code)
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<table class="metadata plainlinks ambox {{{class|}}}" style="{{{style|}}}">
+
<table class="metadata plainlinks ambox {{#switch:{{{type|}}}
 +
  |speedy = ambox-delete
 +
  |delete = ambox-delete
 +
  |safe = <!-- Leave Blank, styles defined in style parameter-->
 +
  |edit = ambox-notice
 +
  |warning = ambox-style
 +
  |cleanup = ambox-content
 +
  |move = ambox-move
 +
  |protect = ambox-protection
 +
  |info = ambox-notice
 +
  |#default = ambox-notice
 +
  }}" style="{{{style|}}}{{#ifeq:{{{type|}}}| safe | border-left: 10px solid #5cb85c |}}">
 
<tr>{{#switch:{{{image|}}}
 
<tr>{{#switch:{{{image|}}}
 
  |blank
 
  |blank
Line 6: Line 17:
 
   |{{{image}}}
 
   |{{{image}}}
 
   |[[File:{{#switch:{{{type|}}}
 
   |[[File:{{#switch:{{{type|}}}
   |speedy = Rwbox_warn.png
+
   |speedy = Modal_Speedy_Icon.png
   |delete = Rwbox_warn.png
+
   |delete = Modal_Delete_Icon.png
   |warning
+
   |safe = Modal_Safe_Delete_Icon.png
   |content = Rwbox_warn2.png
+
   |edit = Modal_Edit_Icons.png
   |caution
+
   |warning = Modal_Warning_Icon.png
   |style = Ambox Edit-clear.png
+
   |cleanup = Modal_Cleanup_Icon.png
   |move = Ambox move.png
+
   |move = Modal_Move_Icon.png
   |protection = Ambox protection.png
+
   |protect = Modal_Protect_Icon.png
   |notice|#default = Ambox notice.png
+
   |info = Modal_Info_Icon.png
 +
  |#default = Modal_Info_Icon.png
 
   }}|40x40px|link=|alt=]]
 
   }}|40x40px|link=|alt=]]
 
  }}</div></td>
 
  }}</div></td>

Revision as of 01:23, 29 May 2020

Documentation icon Template documentation[create]