Template:Animal Health Table/doc

From RimWorld Wiki
< Template:Animal Health Table
Revision as of 00:00, 18 January 2021 by Jimyoda (talk | contribs) (Added categorization.)
Jump to navigation Jump to search

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

Parameters

Currently accepts one parameter, namely baseHealthScale. The template is set up to automatically draw from the page parameters (currently its looking for Health Scale) if it exists, but no such parameter has been integrated into the Template: infobox main as of writing. This is simply an attempt at future-proofing and should not affect normal operation.

Example usage

On a page without Health Scale defined, the first 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 25
Skull 25
Brain 10
Nose 10
Neck 25
Jaw 20
Eye [1]
(left, right)
10
Ear
(left, right)
10
Body 40
Kidney[2]
(left, right)
15
Lung[2]
(left, right)
15
Liver[2] 20
Heart[2] 15
Spine[2] 25
Stomach[2] 20
Limbs
(left, right, fore, hind)
30
Appendage
(left, right, fore, hind)
20
  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. See Parameters for caveat however. For example, if the health scale on the page was defined as 1.5, the required format would be:

{{Animal Health Table}}

which results in


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