Difference between revisions of "Template:Animal Health Table/doc"
(Created page with "Creates a table showing the health values for various body parts of a given animal. ==Parameters== Currently accepts one parameter, namely '''baseHealthScale'''. The template...") |
(Added categorization.) |
||
Line 16: | Line 16: | ||
which results in | which results in | ||
{{Animal Health Table|1.5}} | {{Animal Health Table|1.5}} | ||
+ | |||
+ | |||
+ | <includeonly>[[Category:Customized table templates]]</includeonly> | ||
+ | <noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 00:00, 18 January 2021
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
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