Template:StatusIcon: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Saag (talk | contribs)
m Removed line break
Sur (talk | contribs)
m commenting all newlines out
 
Line 1: Line 1:
<onlyinclude>
<onlyinclude><!--
<div style="display:inline; position:relative;">
--><div style="display:inline; position:relative;"><!--
<div class="popover-wrapper nopreview" style="filter:brightness(0%);">{{#if:{{{3|}}}|[[File:{{{3|}}}.png|20px|link=]]|[[File:Status {{{1|Burn}}}.png|20px|link=]]}} {{{1|Burn}}}</div>
--><div class="popover-wrapper nopreview" style="filter:brightness(0%);">{{#if:{{{3|}}}|[[File:{{{3|}}}.png|20px|link=]]|-->[[File:Status {{{1|Burn}}}.png|20px|link=]]}} {{{1|Burn}}}</div><!--
<div class="popover-content" style="position: absolute; margin-left: auto; margin-right: auto; left: 0; right:2; text-align:left; margin-top: -30px; width: 50vw; left: 0; max-width:650px;">
--><div class="popover-content" style="position: absolute; margin-left: auto; margin-right: auto; left: 0; right:2; text-align:left; margin-top: -30px; width: 50vw; left: 0; max-width:650px;"><!--
{{StatusBox|isBuff={{#if:{{{2|}}}|true|}}|status={{{1|Burn}}}|status icon={{{3|}}}|description={{
-->{{StatusBox|isBuff={{#if:{{{2|}}}|true|}}|status={{{1|Burn}}}|status icon={{{3|}}}|description={{#switch:{{{1|Burn}}}<!--
#switch:{{{1|Burn}}}
-->| Burn = Causes the target to take constant [[Spirit Damage]] over time.<!--
| Burn = Causes the target to take constant [[Spirit Damage]] over time.
-->| Bleed = Causes the target to take a portion of Max Health as [[Spirit Damage]] over time.<!--
| Bleed = Causes the target to take a portion of Max Health as [[Spirit Damage]] over time.
-->| Disarm = Prevents the target from using Weapons.<!--
| Disarm = Prevents the target from using Weapons.
-->| Silence = Prevents the target from using Abilities.<!--
| Silence = Prevents the target from using Abilities.
-->| Immobilized = Causes the target to be locked in place. They can still perform actions while immobilized.<!--
| Immobilized = Causes the target to be locked in place. They can still perform actions while immobilized.
-->| Invisible = Causes the user to become invisible.<!--
| Invisible = Causes the user to become invisible.
-->| Movement Slow = Reduces the target's '''Movement Speed'''.<!--
| Movement Slow = Reduces the target's '''Movement Speed'''.
-->| Sleep = Prevents the target from taking any actions. Taking damage will cause them to wake up early.<!--
| Sleep = Prevents the target from taking any actions. Taking damage will cause them to wake up early.
-->| Stun = Prevents the target from taking any actions.<!--
| Stun = Prevents the target from taking any actions.
-->| Tether = Locks targets in a circle around a central [[Vindicta#Abilities|Stake]]. They cannot leave this area until the effect expires.}}}}<!--
| Tether = Locks targets in a circle around a central [[Vindicta#Abilities|Stake]]. They cannot leave this area until the effect expires.}}}}
--></div><!--
</div>
--></div></onlyinclude>
</div></onlyinclude>
{{Documentation}}
{{Documentation}}

Latest revision as of 03:40, 29 September 2024

--> Burn

Burn

Causes the target to take constant Spirit Damage over time.

Template documentation [view] [edit] [history] [purge]

A template similar to Template:AbilityIcon and Template:HeroIcon, but for Status Effects.

Basic formatting is as follows:

{{StatusIcon|Status Name|IsBuff|Image File}}

Some examples:

{{StatusIcon|Burn}}
{{StatusIcon|Barrage Amp|1|Barrage}}
--> Burn

Burn

Causes the target to take constant Spirit Damage over time.

Burn
Barrage Amp

Barrage Amp

Barrage Amp


The following StatusIcons are fully working without any additional effects.

{{StatusIcon|Burn}}
{{StatusIcon|Bleed}}
{{StatusIcon|Disarm}}
{{StatusIcon|Silence}}
{{StatusIcon|Immobilized}}
{{StatusIcon|Invisible}}
{{StatusIcon|Movement Slow}}
{{StatusIcon|Sleep}}
{{StatusIcon|Stun}}
{{StatusIcon|Tether}}
Any additional descriptions currently need to be added manually to the StatusIcon template. Might see about creating a json to store status info later.