Template:Damage multipliers: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
No edit summary
No edit summary
Line 15: Line 15:
limb4burn, limb4bleeding, limb4alldamage, limb4internaldamage, limb4lacerations, limb4bluntforcetrauma, limb4deeptissueinjury, limb4bitewounds, limb4gunshotwound, limb4organdamage,
limb4burn, limb4bleeding, limb4alldamage, limb4internaldamage, limb4lacerations, limb4bluntforcetrauma, limb4deeptissueinjury, limb4bitewounds, limb4gunshotwound, limb4organdamage,
limb5burn, limb5bleeding, limb5alldamage, limb5internaldamage, limb5lacerations, limb5bluntforcetrauma, limb5deeptissueinjury, limb5bitewounds, limb5gunshotwound, limb5organdamage
limb5burn, limb5bleeding, limb5alldamage, limb5internaldamage, limb5lacerations, limb5bluntforcetrauma, limb5deeptissueinjury, limb5bitewounds, limb5gunshotwound, limb5organdamage
| where = Creatures.name = {{#if:{{{1|}}}|'{{{1}}}'|'{{PAGENAME}}'}} AND Creatures.name NOT '%{{{exclude}}}%' AND Creatures.name NOT '%{{{exclude2}}}%'
| where = Creatures.name = {{#if:{{{1|}}}|'{{{1}}}'|'{{PAGENAME}}'}} AND Creatures.name NOT LIKE '%{{{exclude}}}%' AND Creatures.name NOT LIKE '%{{{exclude2}}}%'
| format = template
| format = template
| template = Damage multipliers/header
| template = Damage multipliers/header
Line 29: Line 29:
limb4burn, limb4bleeding, limb4alldamage, limb4internaldamage, limb4lacerations, limb4bluntforcetrauma, limb4deeptissueinjury, limb4bitewounds, limb4gunshotwound, limb4organdamage,
limb4burn, limb4bleeding, limb4alldamage, limb4internaldamage, limb4lacerations, limb4bluntforcetrauma, limb4deeptissueinjury, limb4bitewounds, limb4gunshotwound, limb4organdamage,
limb5burn, limb5bleeding, limb5alldamage, limb5internaldamage, limb5lacerations, limb5bluntforcetrauma, limb5deeptissueinjury, limb5bitewounds, limb5gunshotwound, limb5organdamage
limb5burn, limb5bleeding, limb5alldamage, limb5internaldamage, limb5lacerations, limb5bluntforcetrauma, limb5deeptissueinjury, limb5bitewounds, limb5gunshotwound, limb5organdamage
| where = Creatures.name = {{#if:{{{1|}}}|'{{{1}}}'|'{{PAGENAME}}'}} AND Creatures.name NOT '%{{{exclude}}}%' AND Creatures.name NOT '%{{{exclude2}}}%'
| where = Creatures.name = {{#if:{{{1|}}}|'{{{1}}}'|'{{PAGENAME}}'}} AND Creatures.name NOT LIKE '%{{{exclude}}}%' AND Creatures.name NOT LIKE '%{{{exclude2}}}%'
| format = template
| format = template
| template = Damage multipliers/row
| template = Damage multipliers/row

Revision as of 13:10, 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}}).