Difference between revisions of "Template:Rwbox/core"

From RimWorld Wiki
Jump to navigation Jump to search
m (Style Changes)
m (Style Changes - Added Safe Delete Type for Modal)
Line 2: Line 2:
 
   |speedy = ambox-delete
 
   |speedy = ambox-delete
 
   |delete = ambox-delete
 
   |delete = ambox-delete
 +
  |safedelete = <!-- Leave Blank, styles defined in style parameter-->
 
   |edit = ambox-notice
 
   |edit = ambox-notice
 
   |warning = ambox-style
 
   |warning = ambox-style
Line 9: Line 10:
 
   |info = ambox-notice
 
   |info = ambox-notice
 
   |#default = ambox-notice
 
   |#default = ambox-notice
   }}" style="{{{style|}}}">
+
   }}" style="{{{style|}}}{{#ifeq:{{{type|}}}| safedelete | border-left: 10px solid #5cb85c |}}">
 
<tr>{{#switch:{{{image|}}}
 
<tr>{{#switch:{{{image|}}}
 
  |blank
 
  |blank
Line 18: Line 19:
 
   |speedy = Modal_Speedy_Icon.png
 
   |speedy = Modal_Speedy_Icon.png
 
   |delete = Modal_Delete_Icon.png
 
   |delete = Modal_Delete_Icon.png
 +
  |safedelete = Modal_Safe_Delete_Icon.png
 
   |edit = Modal_Edit_Icons.png
 
   |edit = Modal_Edit_Icons.png
 
   |warning = Modal_Warning_Icon.png
 
   |warning = Modal_Warning_Icon.png

Revision as of 23:40, 28 May 2020

Documentation icon Template documentation[create]