Template:Infobox unit: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
QuinnBinn (talk | contribs)
Created a new infobox to be usable for Units (namely Bosses, Camps, Troopers etc.) based off the Hero Infobox we already have.
 
QuinnBinn (talk | contribs)
m Clarified soul value param and changed to total souls
Line 43: Line 43:
! colspan="2" style="background-color: #4ef2dd; font-weight: bold; font-size: 16px; font-family: 'PT Serif','Palatino','Georgia',serif; font-weight: bold; text-shadow: 0px 0px 4px black, 0px 0px 0px black, 0px 0px 0px black; color:#FFEFD7;" | Souls  
! colspan="2" style="background-color: #4ef2dd; font-weight: bold; font-size: 16px; font-family: 'PT Serif','Palatino','Georgia',serif; font-weight: bold; text-shadow: 0px 0px 4px black, 0px 0px 0px black, 0px 0px 0px black; color:#FFEFD7;" | Souls  
|-
|-
! style="color: #999999; background-color: #2F2F2F" | Dropped Souls
! style="color: #999999; background-color: #2F2F2F" | Total Souls
| {{Souls|{{{soul_value}}}}}
| {{Souls|{{{soul_value}}}}}
|-
|-
Line 132: Line 132:
},
},
"soul_value": {
"soul_value": {
"description": "How many Souls the unit drops on last-hit (From the initial kill, not including Soul Orbs)",
"description": "How many Souls the unit grants in total (Including Base Amount + Soul Orbs)",
"type": "number"
"type": "number"
},
},

Revision as of 02:07, 1 September 2024

{{{name}}}
[[File:{{{Image}}}|200px]]
Health
Max Health

{{{max_health}}}

Health Regen

{{{health_regen}}}

Bullet Resist

{{{bullet_resist}}}%

Spirit Resist

{{{spirit_resist}}}%

Damage
Damage

{{{bullet_damage}}}

DPS

{{{dps}}}

Range

{{{attack_range}}}

Melee Damage

{{{melee_damage}}}

Movement
Move Speed

{{{move_speed}}} m/s

Sprint Speed

{{{sprint_speed}}} m/s

Souls
Total Souls Souls {{{soul_value}}}
Soul Orbs {{{soul_orbs}}}


This template has been marked for deletion.
Reason: unused template, succeeded by Template:Infobox unit


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