Template:Infobox item dpl entity damage

From 7 Days to Die Wiki
Jump to navigation Jump to search
Template-info.png Documentation


The is a template for use in a dpl statement. It is used to return both of the entity damage fields of a weapon, damage_min and damage_max as a pair of columns that will output into a table. If either or both of these fields do not exist, and there is a value for damage it will be returned instead.

The hope is that this will one day return sensible values for fields that have a multiplication or selection in them eg:

32 *9, 100

The dpl must be set up for this template to return 2 pre-formatted fields.