Editing Template:Infobox main

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 41: Line 41:
  
 
{{#if: {{{stuff category|}}} |
 
{{#if: {{{stuff category|}}} |
   {{#if: {{#var:setProperty}} |  
+
   {{#if: {{#var:setProperty}} | {{#set:Stuff Category = {{{stuff category|}}} }} }}
    {{#set:Stuff Category = {{#explode:{{{stuff category|}}}|,|0}}
+
;Stuff Category
        | Stuff Category = {{#explode:{{{stuff category|}}}|,|1}}
+
:{{{stuff category|}}}
        | Stuff Category = {{#explode:{{{stuff category|}}}|,|2}}
+
}}
        | Stuff Category = {{#explode:{{{stuff category|}}}|,|3}}
 
        | Stuff Category = {{#explode:{{{stuff category|}}}|,|4}} }} }}
 
;Stuff Categories
 
:{{{stuff category|}}} {{#if: {{{color|}}} |
 
  {{#vardefine:Red  | {{#replace:{{#explode:{{{color|}}}|,|0}}|(}} }}
 
  {{#vardefine:Green| {{#explode:{{{color|}}}|,|1}} }}
 
  {{#vardefine:Blue | {{#replace:{{#explode:{{{color|}}}|,|2}}|)}} }}
 
<abbr title="Buildings and items made with this as stuff will have the color RGB: {{{color|}}}"><span><div style="width:16px;height:16px;background-color:rgb({{#var:Red}},{{#var:Green}},{{#var:Blue}});display:inline-block;border:1px solid black;vertical-align:middle;"></div></span></abbr>}} }}
 
  
 
{{#if: {{{tech level|}}} |
 
{{#if: {{{tech level|}}} |
Line 266: Line 258:
 
   {{#if: {{#var:setProperty}} | {{#set:Light Radius = {{#var:LightRadius}} }} }}
 
   {{#if: {{#var:setProperty}} | {{#set:Light Radius = {{#var:LightRadius}} }} }}
 
;<abbr title="The furthest away a tile can be before it falls below 30% light">Light Radius</abbr>
 
;<abbr title="The furthest away a tile can be before it falls below 30% light">Light Radius</abbr>
:{{#expr:{{#var:LightRadius}} round 2}} <!--
+
:{{#expr:{{#var:LightRadius}} round 2}}
Color Square: --><abbr title="RGB: {{{glowcolor|}}}"><span><div style="width:16px;height:16px;background-color:rgb({{#var:Red}},{{#var:Green}},{{#var:Blue}});display:inline-block;border:1px solid black;vertical-align:middle;"></div></span></abbr>
 
 
}}
 
}}
  
Line 1,706: Line 1,697:
 
;Goodwill Impact
 
;Goodwill Impact
 
:{{{goodwill impact|}}}
 
:{{{goodwill impact|}}}
}}
 
 
{{#if: {{{caster must be capable of violence|}}} |
 
  {{#if: {{#var:setProperty}} | {{#set:Caster Must Be Capable Of Violence = {{{caster must be capable of violence|}}} }} }}
 
;Caster Must Be Capable of Violence
 
:{{ucfirst:{{{caster must be capable of violence|}}}}}
 
 
}}
 
}}
  

Please note that all contributions to RimWorld Wiki are considered to be released under the CC BY-SA 3.0 (see RimWorld Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)