Difference between revisions of "Template:Rwbox/core"

From RimWorld Wiki
Jump to navigation Jump to search
m
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))))
 
(19 intermediate revisions by 6 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 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>

Latest revision as of 19:16, 1 February 2023

Documentation icon Template documentation[create]