Template:Damage multipliers: Difference between revisions
From Official Barotrauma Wiki
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
tables = Creatures | tables = Creatures | ||
| fields = name, stunimmunity, bleedingimmunity, burnimmunity, poisonimmunity | | fields = name, stunimmunity, bleedingimmunity, burnimmunity, poisonimmunity | ||
| where = Creatures.name = {{#if:{{{1|}}}|'{{{1}}}'|'{{PAGENAME}}'}} | | where = Creatures.name = {{#if:{{{1|}}}|'{{{1}}}'|'{{PAGENAME}}'}} AND Creatures.stunimmunity = '1' OR Creatures.bleedingimmunity = '1' OR Creatures.burnimmunity = '1' OR Creatures.poisonimmunity = '1' | ||
| format = template | | format = template | ||
| template = Damage multipliers/immunity | | template = Damage multipliers/immunity |
Revision as of 13:01, 8 June 2022
This template is used on creature pages in the Defense section, to display a table of their damage modifiers per limb. Data is read from the Creatures cargo table, and as such, it must be defined in the creature infobox. See Template:Creatures infobox for details.
Additionally, it displays the relevant damage modifiers png file if it exists. If it doesn't, add hideimage=yes
as a parameter (e.g. {{Damage modifiers|hideimages=yes}}
).