Difference between revisions of "Template:Sandbox"

From RimWorld Wiki
Jump to navigation Jump to search
Line 292: Line 292:
 
}}
 
}}
  
{{#if: {{{handleskill|{{{wildness|}}}}}}|{{#set:Minimum Handling Skill = {{{handleskill|{{#expr:(CEIL{{{wildness}}}-0.19*9/77)}} }}} }}
+
{{#if:
;{{H:title|link=no|This creature cannot be tamed, trained, or commanded by anyone with less than this skill in animals.|Minimum Handling Skill}}
+
{{{handleskill|
:{{{handleskill|{{#expr:(CEIL{{{wildness}}}-0.19*9/77)}}}}}}}
+
{{{wildness|
 +
}}}
 +
}}}|
 +
{{#set:Minimum Handling Skill =  
 +
{{{handleskill|
 +
{{#ifexpr:
 +
{{{wildness
 +
}}} <= 0.19|
 +
{{set: Minimum Handling Skill = 0
 +
}}|
 +
{{set: Minimum Handling Skill =
 +
{{{handleskill|
 +
{{#expr:
 +
{{{wildness
 +
}}}-0.19*9/77ROUND0
 +
}}
 +
}}}
 +
}}
 +
}}
 +
}}}
 +
}}
 +
}}
  
 
{{#if: {{{wildness|}}}|{{#set:Wildness = {{{wildness|}}} }}
 
{{#if: {{{wildness|}}}|{{#set:Wildness = {{{wildness|}}} }}

Revision as of 22:43, 28 April 2020


Documentation icon Template documentation[view] [edit] [history] [purge]

Description

This template is placed at the top of sandbox pages. By using a template, it becomes easy to fix if users make a mistake while playing in the sandbox.

Syntax

Type {{sandbox}} at the top of a sandbox.

Output

Sandbox


Type
[[{{{type}}}]]