Template:AfflictionDisplay/doc
From Official Barotrauma Wiki
Template for displaying afflictions in other templates. Template:WeaponsTable, Template:CargoDamage, Template:SubmarineWeaponsTable, Template:ExplosivesTable.
Instructions
Field | Note | Example | Expected | Default |
---|---|---|---|---|
1 | Affliction name | Lacerations | ||
2 | Affliction strength | 20 | ||
3 | Affliction chance | 0.5 | ||
4 | Projectiles | 8 | ||
5 | Weapon damage modifier | 1.1 |
Template in use
Example 1
{{AfflictionDisplay|Burn|20}}
Burn (20)*
Example 2
{{AfflictionDisplay|Gunshot Wound|10|0.5|8|1.1}}
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.