Difference between revisions of "Template:Rwbox/core"

From RimWorld Wiki
Jump to navigation Jump to search
m (Changed Icons)
m (Changed protection level for "Template:Rwbox/core": protection no longer required ([Edit=Allow only autoconfirmed users] (expires 20:16, 1 February 2023 (UTC)) [Move=Allow only autoconfirmed users] (expires 20:16, 1 February 2023 (UTC))))
 
(16 intermediate revisions by 5 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 |}}{{#ifeq:{{{type|}}}| manual | border-left: 10px solid {{{color|}}} |}}">
 
<tr>{{#switch:{{{image|}}}
 
<tr>{{#switch:{{{image|}}}
 
  |blank
 
  |blank
Line 8: Line 19:
 
   |speedy = Modal_Speedy_Icon.png
 
   |speedy = Modal_Speedy_Icon.png
 
   |delete = Modal_Delete_Icon.png
 
   |delete = Modal_Delete_Icon.png
 +
  |safe = Modal_Safe_Delete_Icon.png
 +
  |edit = Modal_Edit_Icons.png
 
   |warning = Modal_Warning_Icon.png
 
   |warning = Modal_Warning_Icon.png
   |content = Modal_Edit_Icon.png
+
   |cleanup = Modal_Cleanup_Icon.png
  |caution = Modal_Warning_Icon.png
 
  |style = Modal_Cleanup_Icon.png
 
 
   |move = Modal_Move_Icon.png
 
   |move = Modal_Move_Icon.png
   |protection = Modal_Protect_Icon.png
+
   |protect = Modal_Protect_Icon.png
   |notice = Modal_Info_Icon.png
+
   |info = Modal_Info_Icon.png
 
   |#default = Modal_Info_Icon.png
 
   |#default = Modal_Info_Icon.png
 
   }}|40x40px|link=|alt=]]
 
   }}|40x40px|link=|alt=]]

Latest revision as of 19:16, 1 February 2023

Documentation icon Template documentation[create]