Template:Animal Health Table

From RimWorld Wiki
Revision as of 13:54, 15 January 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 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.

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: Unrecognized word "human".
Skull Expression error: Unrecognized word "human".
Brain Expression error: Unrecognized word "human".
Nose Expression error: Unrecognized word "human".
Neck Expression error: Unrecognized word "human".
Jaw Expression error: Unrecognized word "human".
Eye [1]
(left, right)
Expression error: Unrecognized word "human".
Ear
(left, right)
Expression error: Unrecognized word "human".
Body Expression error: Unrecognized word "human".
Kidney[2]
(left, right)
Expression error: Unrecognized word "human".
Lung[2]
(left, right)
Expression error: Unrecognized word "human".
Liver[2] Expression error: Unrecognized word "human".
Heart[2] Expression error: Unrecognized word "human".
Spine[2] Expression error: Unrecognized word "human".
Stomach[2] Expression error: Unrecognized word "human".
Limbs
(left, right, fore, hind)
Expression error: Unrecognized word "human".
Appendage
(left, right, fore, hind)
Expression error: Unrecognized word "human".
  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: Unrecognized word "human".
Skull Expression error: Unrecognized word "human".
Brain Expression error: Unrecognized word "human".
Nose Expression error: Unrecognized word "human".
Neck Expression error: Unrecognized word "human".
Jaw Expression error: Unrecognized word "human".
Eye [1]
(left, right)
Expression error: Unrecognized word "human".
Ear
(left, right)
Expression error: Unrecognized word "human".
Body Expression error: Unrecognized word "human".
Kidney[2]
(left, right)
Expression error: Unrecognized word "human".
Lung[2]
(left, right)
Expression error: Unrecognized word "human".
Liver[2] Expression error: Unrecognized word "human".
Heart[2] Expression error: Unrecognized word "human".
Spine[2] Expression error: Unrecognized word "human".
Stomach[2] Expression error: Unrecognized word "human".
Limbs
(left, right, fore, hind)
Expression error: Unrecognized word "human".
Appendage
(left, right, fore, hind)
Expression error: Unrecognized word "human".
  1. Located inside of Head.
  2. 2.0 2.1 2.2 2.3 2.4 2.5 Located inside of Body.