User:Saag/AbilityCircle: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Saag (talk | contribs)
Undo revision 3556 by Saag (talk)
Tag: Undo
Saag (talk | contribs)
No edit summary
Line 2: Line 2:
  <div class="abilityImage" style="display:inline-block; width:{{{bgsize|128}}}px; height:{{{bgsize|128}}}px;">
  <div class="abilityImage" style="display:inline-block; width:{{{bgsize|128}}}px; height:{{{bgsize|128}}}px;">
               <div style="position:absolute; filter: invert(42%) sepia(10%) saturate(2912%) hue-rotate(-40deg) brightness(190%) contrast(77%);">[[File:Passive ability frame.png|{{{bgsize|128}}}x{{{bgsize|128}}}px|link=]]</div>
               <div style="position:absolute; filter: invert(42%) sepia(10%) saturate(2912%) hue-rotate(-40deg) brightness(190%) contrast(77%);">[[File:Passive ability frame.png|{{{bgsize|128}}}x{{{bgsize|128}}}px|link=]]</div>
               <div class="ability-icon popover-wrapper"
               <div class="ability-icon popover-wrapper nopreview"
                 style="width:100%; height:100%; display:flex; flex-direction:column; justify-content:center;">
                 style="width:100%; height:100%; display:flex; flex-direction:column; justify-content:center;">
                 {{#if:{{{displayicon|}}}|[[File:{{{displayicon}}}|{{{iconsize|90}}}x{{{iconsize|90}}}px|middle|center|link=]]|[[File:{{{name|Smoke Bomb}}}.png|link=|{{{iconsize|90}}}x{{{iconsize|90}}}px|middle|center]]}}
                 {{#if:{{{displayicon|}}}|[[File:{{{displayicon}}}|{{{iconsize|90}}}x{{{iconsize|90}}}px|middle|center|link={{{name|Smoke Bomb}}}]]|[[File:{{{name|Smoke Bomb}}}.png|link={{{name|Smoke Bomb}}}|{{{iconsize|90}}}x{{{iconsize|90}}}px|middle|center]]}}
               </div>
               </div>
                
                
Line 13: Line 13:
             </div>
             </div>
</onlyinclude>
</onlyinclude>
<div class="nopreview">
test
[[Abrams]]
<div>


Isolated port of the ability circle and background from [[Template:Ability card]]. Intended for use on [[Heroes]].
Isolated port of the ability circle and background from [[Template:Ability card]]. Intended for use on [[Heroes]].


{{AbilityCircle|name=Siphon Life}} {{AbilityCircle|name=Shoulder Charge}} {{AbilityCircle|name=Infernal Resilience}} {{AbilityCircle|name=Seismic Impact}}
{{User:Saag/AbilityCircle|name=Hook}} {{AbilityCircle|name=Shoulder Charge}} {{AbilityCircle|name=Infernal Resilience}} {{AbilityCircle|name=Seismic Impact}}
<noinclude>
<noinclude>
<templatedata>
<templatedata>

Revision as of 11:04, 8 September 2024

                 {{Abilities/{{{name}}}}}


test Abrams


Isolated port of the ability circle and background from Template:Ability card. Intended for use on Heroes.



No description.

Template parameters

ParameterDescriptionTypeStatus
namename

Name of the ability

Example
Smoke Bomb
Unknownrequired
iconsizeiconsize

Size of the whole icon. Defaults to 90

Default
90
Example
20
Unknownoptional
bgsizebgsize

Size of the background circle. Should almost always be larger than the icon

Example
128
Unknownoptional
displayicondisplayicon

Use if the ability icon has a different name or uses another icon.

Example
Smoke Bomb.png
Unknownoptional