Difference between revisions of "Template:Sandbox"

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

Revision as of 15:02, 8 May 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}}}]]