Editing Template:Animal Health Table/doc
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
Creates a table showing the health values for various body parts of a given animal. | Creates a table showing the health values for various body parts of a given animal. | ||
− | == Parameters == | + | ==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. | 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. | ||
Line 8: | Line 8: | ||
Currently supported body types are as follows: | Currently supported body types are as follows: | ||
− | *<code>Human</code> | + | *<code>Human</code> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Planned supported body types are as follows: | Planned supported body types are as follows: | ||
− | *<code>Bird</code> | + | *<code>Bird</code> |
− | *<code>BeetleLike</code> | + | *<code>BeetleLike</code> |
− | *<code>BeetleLikeWithClaw</code> | + | *<code>BeetleLikeWithClaw</code> |
− | *<code>QuadrupedAnimalWithPaws</code> | + | *<code>QuadrupedAnimalWithPaws</code> |
− | *<code>QuadrupedAnimalWithPawsAndTail</code> | + | *<code>QuadrupedAnimalWithPawsAndTail</code> |
− | *<code>QuadrupedAnimalWithHooves</code> | + | *<code>QuadrupedAnimalWithHooves</code> |
− | *<code> | + | *<code>QuadrupedAnimalWithHoovesAndHump</code> |
− | *<code> | + | *<code>QuadrupedAnimalWithHoovesAndTusk</code> |
− | *<code> | + | *<code>QuadrupedAnimalWithHoovesTuskAndTrunk</code> |
− | *<code> | + | *<code>QuadrupedAnimalWithHoovesAndHorn</code> |
− | *<code> | + | *<code>QuadrupedAnimalWithClawsTailAndJowl</code> |
− | *<code> | + | *<code>TurtleLike</code> |
+ | *<code>Monkey</code> | ||
+ | *<code>Snake</code> | ||
+ | *<code>MechanicalCentipede</code> | ||
+ | *<code>Lancer</code> | ||
+ | *<code>Pikeman</code> | ||
+ | *<code>Scyther</code> | ||
+ | *<code>MechanicalTermite</code> | ||
− | == Example usage == | + | ==Example usage== |
On a page without '''Health Scale''' defined, the second parameter is required. | 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: | For example, for the body part health values of a [[grizzly bear]] with a health scale value of 2.5, the required format is: | ||
Line 48: | Line 40: | ||
On a page with '''Health Scale''' defined, no parameters are required. | 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: | For example, if the health scale on the page was defined as 1.0, the required format would be: | ||
− | <nowiki>{{Animal Health Table | + | <nowiki>{{Animal Health Table}}</nowiki> |
which results in | which results in | ||
{{Animal Health Table|Human}} | {{Animal Health Table|Human}} | ||
− | |||
− | |||
− | |||
<includeonly>[[Category:Customized table templates]]</includeonly> | <includeonly>[[Category:Customized table templates]]</includeonly> | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> |