Template:Infobox unit/doc: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sylphoid (talk | contribs)
let me see
Sylphoid (talk | contribs)
whoops, include properly
Line 123: Line 123:
|soul_value = 100
|soul_value = 100
}}
}}
</pre>[[Category:Infobox templates]]</onlyinclude><noinclude>[[Category:Template documentation]]</noinclude>
</pre></onlyinclude><includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 08:08, 13 September 2024

No description.

Template parameters

ParameterDescriptionTypeStatus
namename

Name of the unit

Example
Guardian
Unknownrequired
ImageImage

Unit image

Suggested values
Guardian Icon.png
Default
Guardian Icon.png
Filerequired
max_healthmax_health

Unit Health

Example
5500
Numberoptional
health_regenhealth_regen

Unit Health Regen (if applicable)

Numberoptional
bullet_resistbullet_resist

Unit Bullet Resistance %

Numberoptional
spirit_resistspirit_resist

Unit Spirit Resistance %

Numberoptional
dpsdps

Player DPS Value of the Unit

Numberoptional
bullet_damagebullet_damage

Individual attack damage

Numberoptional
attack_rangeattack_range

Maximum Attack Range

Numberoptional
melee_damagemelee_damage

Unit melee damage (if applicable)

Numberoptional
move_speedmove_speed

Unit walk speed (if applicable)

Numberoptional
sprint_speedsprint_speed

Unit sprint speed (if applicable)

Numberoptional
soul_valuesoul_value

How many Souls the unit grants in total (Including Base Amount + Soul Orbs)

Numberoptional
soul_orbssoul_orbs

Number of Soul Orbs spawned by the unit on death

Numberoptional

Example

Template:Infobox Unit

{{Infobox Unit
|name= Guardian
|Image= Guardian Icon.png
|max_health = 5500
|health_regen = 0
|bullet_resist = 0
|spirit_resist = 0
|dps = 28
|bullet_damage = 16
|melee_damage = 200
|stationary =
|move_speed = 0
|stamina = 0
|sprint_speed = 0
|attack_range = 1500
|soul_orbs = 4
|soul_value = 100
}}