Template:Infobox hero: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Fixed the conditional extra stat values (probably).
Another try it was showing even when empty.
Line 59: Line 59:
| colspan="2" style="text-align: center; font-weight: normal" | '''{{{increase3_value}}}''' {{{increase3_stat}}}
| colspan="2" style="text-align: center; font-weight: normal" | '''{{{increase3_value}}}''' {{{increase3_stat}}}
{{#if:{{{increase4_value}}}  
{{#if:{{{increase4_value}}}  
| <tr><td colspan="2" style="text-align: center; font-weight: normal"> '''{{{increase4_value}}}''' {{{increase4_stat}}} </td></tr> }}
| <tr><td colspan="2" style="text-align: center; font-weight: normal"> '''{{{increase4_value}}}''' {{{increase4_stat}}} </td></tr> |}}
{{#if:{{{increase5_value}}}  
{{#if:{{{increase5_value}}}  
| <tr><td colspan="2" style="text-align: center; font-weight: normal"> '''{{{increase5_value}}}''' {{{increase5_stat}}} </td></tr> }}
| <tr><td colspan="2" style="text-align: center; font-weight: normal"> '''{{{increase5_value}}}''' {{{increase5_stat}}} </td></tr> |}}
|}
|}
</div>
</div>

Revision as of 02:45, 6 September 2024


{{{name}}}
[[File:{{{card}}}|200px]]
Initial Stats
Weapon
DPS {{{dps}}}
Bullet Damage {{{bullet_damage}}}
Ammo

{{{ammo}}}

Bullets per sec

{{{bullets_per_sec}}}

Light Melee {{{light_melee}}}
Heavy Melee {{{heavy_melee}}}
Vitality
Health

{{{max_health}}}

Health Regen

{{{health_regen}}}

Bullet Resist

{{{bullet_resist}}}%

Spirit Resist

{{{spirit_resist}}}%

Move Speed

{{{move_speed}}} m/s

Sprint Speed

{{{sprint_speed}}} m/s

Stamina

{{{stamina}}}

Power Increases
{{{increase1_value}}} {{{increase1_stat}}}
{{{increase2_value}}} {{{increase2_stat}}}
{{{increase3_value}}} {{{increase3_stat}}}
{{{increase4_value}}} {{{increase4_stat}}}
{{{increase5_value}}} {{{increase5_stat}}}