Template:AbilityIcon: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Mgpt (talk | contribs)
m custom name, remove p3
Sur (talk | contribs)
m new format doesnt require specifying |hero parameter
Line 1: Line 1:
<includeonly><span style="position: relative; bottom: 2px; filter: brightness(0);">[[File:{{{1|}}}.png|link={{{2|}}}#Abilities|{{{size|20px}}}]]</span> [[{{{2|}}}#Abilities|{{{3|{{{1|}}}}}}]]</includeonly><noinclude>{{Documentation}}
<includeonly>{{#invoke:AbilityData|write_ability_icon|{{{1}}}|{{{2|}}}}}</includeonly><noinclude>
[[Category:Icon templates]]</noinclude>
{{Documentation}}
[[Category:Icon templates]]
</noinclude>

Revision as of 18:45, 29 September 2024

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

Usage

{{AbilityIcon|Siphon Life}}

Siphon Life

{{AbilityIcon|Siphon Life|Custom}}

Custom

Parameters

p1
Ability name (required).
p2
Custom name (optional).