Difference between revisions of "Template:Sandbox"
Jump to navigation
Jump to search
Sutremaine (talk | contribs) |
Sutremaine (talk | contribs) |
||
Line 201: | Line 201: | ||
{{#if: {{{mobdamageaverage|}}}|{{#set:Average Melee Damage = {{{mobdamageaverage|}}}}}}} | {{#if: {{{mobdamageaverage|}}}|{{#set:Average Melee Damage = {{{mobdamageaverage|}}}}}}} | ||
+ | |||
+ | |||
{{#ifeq: {{{type|}}} | Animals | | {{#ifeq: {{{type|}}} | Animals | | ||
Line 210: | Line 212: | ||
{{#if: {{{bodysize|}}}| | {{#if: {{{bodysize|}}}| | ||
{{#set: Body Size = {{{bodysize|}}} }} | {{#set: Body Size = {{{bodysize|}}} }} | ||
+ | |||
+ | {{#if: | ||
+ | {{{massyoung| | ||
+ | {{{bodysize| | ||
+ | }}} | ||
+ | }}}| | ||
+ | {{#set: Mass - Young= | ||
+ | {{{massyoung| | ||
+ | {{#expr: | ||
+ | {{{bodysize | ||
+ | }}}*60/5 | ||
+ | }} | ||
+ | }}} | ||
+ | }} | ||
+ | ;Mass - Young: | ||
+ | {{{massyoung| | ||
+ | {{#expr: | ||
+ | {{{bodysize | ||
+ | }}}*60/5 | ||
+ | }} | ||
+ | }}}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 | ||
+ | }} | ||
+ | |||
{{#vardefine: MeatYield | {{{meatyield | {{#expr: 90 * {{{bodysize}}} round 0}}}}} }} | {{#vardefine: MeatYield | {{{meatyield | {{#expr: 90 * {{{bodysize}}} round 0}}}}} }} |
Revision as of 15:18, 8 May 2020
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
The above documentation is transcluded from Template:Sandbox/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |