Editing Template:AbilityCircleGive feedback
Jump to navigation
Jump to search
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: | <div class="abilityImage" style="display:inline-block; width:128px; height:128px;"> | ||
<div style="position:absolute; filter: invert(42%) sepia(10%) saturate(2912%) hue-rotate(-40deg) brightness(190%) contrast(77%);">[[File:Passive ability frame.png| | <div style="position:absolute; filter: invert(42%) sepia(10%) saturate(2912%) hue-rotate(-40deg) brightness(190%) contrast(77%);">[[File:Passive ability frame.png|128x128px|link=]]</div> | ||
<div class="ability-icon" style="width:100%; height:100%; display:flex; flex-direction:column; justify-content:center | <div class="ability-icon" | ||
{{#if:{{{displayicon|}}}|{{ | 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> | ||
{{ | </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 | |||
} | |||
}, | |||
"paramOrder": [ | |||
"name", | |||
"iconsize", | |||
"displayicon" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||