Difference between revisions of "Template:Sandbox"

From RimWorld Wiki
Jump to navigation Jump to search
Line 128: Line 128:
 
:{{{movespeed|}}}}}
 
:{{{movespeed|}}}}}
  
{{#if: {{{massyoung|{{{massadult|}}}}}}|{{#set:Mass - Young= {{{massyoung|{{#expr:{{{massadult}}}/5}}}}} }}
+
{{#if: {{{massyoung|{{{bodysize|}}}}}}|{{#set: Mass - Young={{{massyoung|{{#expr:{{{bodysize}}}*60/5}}}}} }}
;Mass - Young
+
;Mass - Young:
:{{{massyoung|{{#expr:{{{massadult}}}/5}}}}}kg}}
+
{{{massyoung|{{#expr:{{{bodysize}}}*60/5}}}}}kg}}
  
{{#if: {{{massjuvenlie|{{{massadult|}}}}}}|{{#set:Mass - Juvenile= {{{massjuvenile|{{#expr:{{{massadult}}}/2}}}}} }}
+
{{#if: {{{massjuvenile|{{{bodysize|}}}}}}|{{#set: Mass - Juvenile={{{massjuvenile|{{#expr:{{{bodysize}}}*60/2}}}}} }}
;Mass - Juvenile
+
;Mass - Juvenile:
:{{{massjuvenlie|{{#expr:{{{massadult}}}/2}}}}}kg}}
+
{{{massjuvenile|{{#expr:{{{bodysize}}}*60/2}}}}}kg}}
  
{{#if: {{{massadult|}}}|{{#set:Mass - Adult= {{{massadult|}}} }}
+
{{#if: {{{massadult|{{{bodysize|}}}}}}|{{#set: Mass - Adult={{{massadult|{{#expr:{{{bodysize}}}*60}}}}} }}
;Mass - Adult
+
;Mass - Adult:
:{{{massadult|}}}kg}}
+
{{{massadult|{{#expr:{{{bodysize}}}*60}}}}}kg}}
  
 
{{#if: {{{attack1dmg|}}}{{{attack1type|}}}{{{attack1part|}}}{{{attack1cool|}}}|
 
{{#if: {{{attack1dmg|}}}{{{attack1type|}}}{{{attack1part|}}}{{{attack1cool|}}}|

Revision as of 21:53, 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}}}]]