Template:Animal Health Table

From RimWorld Wiki
Revision as of 12:01, 7 September 2021 by Harakoni (talk | contribs)
Jump to navigation Jump to search


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

Creates a table showing the health values for various body parts of a given animal.

Parameters

Currently accepts two parameters, namely bodytype and baseHealthScale. The template is set up to automatically draw from the page parameters if they exist, or the parameters can be defined instead. At the time of writing, only baseHealthScale is ever defined on pages.

The parameters are entered unnamed, in the following pattern:

{{quote|bodytype|baseHealthScale}}

Currently supported body types are as follows:

Example usage

On a page without Health Scale defined, the second parameter is required. For example, for the body part health values of a grizzly bear with a health scale value of 2.5, the required format is:

{{Animal Health Table||2.5}}

which results in

Body part Health
Head 63
Skull 63
Brain 25
Nose 25
Neck 63
Jaw 50
Eye [1]
(left, right)
25
Ear
(left, right)
25
Body 100
Kidney[2]
(left, right)
38
Lung[2]
(left, right)
38
Liver[2] 50
Heart[2] 38
Spine[2] 63
Stomach[2] 50
Limbs
(left, right, fore, hind)
75
Appendage
(left, right, fore, hind)
50
  1. Located inside of Head.
  2. 2.0 2.1 2.2 2.3 2.4 2.5 Located inside of Body.


On a page with Health Scale defined, no parameters are required. For example, if the health scale on the page was defined as 1.0, the required format would be:

{{Animal Health Table|human}}

which results in

Body part Health
Head Expression error: Unexpected * operator.
Skull Expression error: Unexpected * operator.
Brain Expression error: Unexpected * operator.
Nose Expression error: Unexpected * operator.
Neck Expression error: Unexpected * operator.
Jaw Expression error: Unexpected * operator.
Eye [1]
(left, right)
Expression error: Unexpected * operator.
Ear
(left, right)
Expression error: Unexpected * operator.
Body Expression error: Unexpected * operator.
Kidney[2]
(left, right)
Expression error: Unexpected * operator.
Lung[2]
(left, right)
Expression error: Unexpected * operator.
Liver[2] Expression error: Unexpected * operator.
Heart[2] Expression error: Unexpected * operator.
Spine[2] Expression error: Unexpected * operator.
Stomach[2] Expression error: Unexpected * operator.
Limbs
(left, right, fore, hind)
Expression error: Unexpected * operator.
Appendage
(left, right, fore, hind)
Expression error: Unexpected * operator.
  1. Located inside of Head.
  2. 2.0 2.1 2.2 2.3 2.4 2.5 Located inside of Body.


{{Animal Health Table|human|notCollapsible=1}}

which results in

Body part Health
Head Expression error: Unexpected * operator.
Skull Expression error: Unexpected * operator.
Brain Expression error: Unexpected * operator.
Nose Expression error: Unexpected * operator.
Neck Expression error: Unexpected * operator.
Jaw Expression error: Unexpected * operator.
Eye [1]
(left, right)
Expression error: Unexpected * operator.
Ear
(left, right)
Expression error: Unexpected * operator.
Body Expression error: Unexpected * operator.
Kidney[2]
(left, right)
Expression error: Unexpected * operator.
Lung[2]
(left, right)
Expression error: Unexpected * operator.
Liver[2] Expression error: Unexpected * operator.
Heart[2] Expression error: Unexpected * operator.
Spine[2] Expression error: Unexpected * operator.
Stomach[2] Expression error: Unexpected * operator.
Limbs
(left, right, fore, hind)
Expression error: Unexpected * operator.
Appendage
(left, right, fore, hind)
Expression error: Unexpected * operator.
  1. Located inside of Head.
  2. 2.0 2.1 2.2 2.3 2.4 2.5 Located inside of Body.