Editing Template:AbilityCircle

Jump to navigation Jump to search
Warning: You are not logged in. Once you make an edit, a temporary account will be created for you. Learn more. Log in or create an account to continue receiving notifications after this account expires, and to access other features.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
<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" style="width:100%; height:100%; display:flex; flex-direction:column; justify-content:center; text-align:center; filter: brightness(0);">
              <div class="ability-icon"
{{#if:{{{displayicon|}}}|{{AbilityIcon|{{{displayicon}}}|icon-only=true|size={{{iconsize|90}}}px}}|{{AbilityIcon|{{{name|Smoke Bomb}}}|icon-only=true|size={{{iconsize|90}}}px}}}}
                style="width:100%; height:100%; display:flex; flex-direction:column; justify-content:center;">
</div>
                {{#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]]}}
</div>
              </div>
</onlyinclude><noinclude>
            </div>
{{Documentation}}
</onlyinclude>
 
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}}
<noinclude>
<templatedata>
{
"params": {
"displayicon": {
"description": "Use if the ability icon has a different name or uses another icon.",
"example": "Smoke Bomb.png"
},
"iconsize": {
"description": "Size of the whole icon. Defaults to 90",
"example": "20",
"default": "90"
},
"name": {
"description": "Name of the ability",
"example": "Smoke Bomb",
"required": true
},
"bgsize": {
"description": "Size of the background circle. Should almost always be larger than the icon",
"example": "128"
}
},
"paramOrder": [
"name",
"iconsize",
"bgsize",
"displayicon"
]
}
</templatedata>
</noinclude>
</noinclude>
Please note that all contributions to The Deadlock Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see Deadlock:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)
Preview page with this template