Editing Template:Ability cardGive feedback
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: | ||
<includeonly>{{anchor|{{{ability_name|}}}}} | <includeonly>{{anchor|{{{ability_name|}}}}}<!-- | ||
<div style="display:flex; flex-direction:column;"><!-- Show video under box | |||
--><div class="ability_details_main" style="display: flex; flex-wrap: wrap; align-items: flex-start;"><!-- Allows notes to be on the side of the infobox if there is space. | |||
--><div class="ability_box" style="flex:0 1 450px; margin-right:15px; border-radius: 10px 10px 20px 20px;"><!-- | |||
--><div class="abilityHeader" style="font-weight:bold; font-size:140%; border-radius: 10px 10px 0px 0px; border:1px solid {{Color|wiki1}}; border-bottom: 1px solid white; padding:3px 5px; background:rgba(0,0,0,0.4);"><!--Begin box header | |||
-->{{{name}}}<!-- | |||
--><div style="float:right;"><!-- | |||
-->{{#if:{{#var:{{{ability_name}}} key_alternative}}|<div class="abilityIcons" style="display:inline-block; font-size:60%; margin-right:5px; color:#0f0f0f; padding-left:0.59em; padding-right:0.59em; text-align:center; background-color:rgba(255,255,255,1); border-radius: 2px;">{{Tooltip|{{{key}}}|Default key}}</div><!-- | |||
--></div><!-- End box header | |||
--><div class="summaryInfoAndImage" style="display:inline-flex; background:rgba(0,0,0,0.15); width:100%"><!--Begin summary info and image | |||
--><div style="display:flex; flex-direction:column; margin:5px 5px;"><!-- | |||
--><div class="abilityImage" style="display:inline-block; width:128px; height:128px;"><!-- | |||
--><div style="position:absolute;"><!-- | |||
-->[[File:hero-ability-circle.svg|128x128px|link=]]<!-- | |||
--></div><!-- | |||
--><div style="width:100%; height:100%; display:flex; flex-direction:column; justify-content:center;"><!-- | |||
-->[[File:{{#if:{{{ability_image|}}}|{{{ability_image}}}|Placeholder_ability_icon.png}}|link=|100x100px|middle|center]]<!-- | |||
--></div><!-- | |||
--></div><!-- | |||
--></div><!-- | |||
--></div><!-- | |||
--><div style="padding-right: 5px; vertical-align:top; font-size:85%;"><!-- | |||
-->'' {{{official_description|}}} ''<!-- | |||
--></div><!-- | |||
--></div><!--End summary info | |||
--></div><!--End summary info and icon | |||
--><div style="padding:5px; padding-left: 10px; padding-right: 10px; padding-bottom: 5px;"><!-- START main content | |||
-->{{#if:{{{radius|}}}|{{Ability card/Data row|name=Radius|value={{{radius}}} }} }}<!-- | |||
-->{{#if:{{{duration|}}}|{{Ability card/Data row|name=Duration|value={{{duration}}} }} }}<!-- | |||
-->{{#if:{{{cooldown|}}}|{{Ability card/Data row|name=Cooldown|value={{{cooldown}}} }} }}<!-- | |||
-->{{#if:{{{description|}}}|{{Ability card/Data row|name=Description|value={{{description}}} }} }}<!-- | |||
-->{{#if:{{{effect1|}}}|{{Ability card/Data row|name={{effect1}}|value={{{value1}}} }} }}<!-- | |||
-->{{#if:{{{effect2|}}}|{{Ability card/Data row|name={{effect2}}|value={{{value2}}} }} }}<!-- | |||
-->{{#if:{{{effect3|}}}|{{Ability card/Data row|name={{effect3}}|value={{{value3}}} }} }}<!-- | |||
-->{{#if:{{{upgrade1_effect|}}}|{{Ability card/Data row|name={{{upgrade1_effect}}}|value={{{upgrade1_value}}} }} }}<!-- | |||
-->{{#if:{{{upgrade2_effect|}}}|{{Ability card/Data row|name={{{upgrade2_effect}}}|value={{{upgrade2_value}}} }} }}<!-- | |||
-->{{#if:{{{upgrade3_effect|}}}|{{Ability card/Data row|name={{{upgrade3_effect}}}|value={{{upgrade3_value}}} }} }}<!-- | |||
--></div><!-- | |||
--></div><!-- | |||
-->}}<!-- | |||
--></div><!--END main content | |||
--></div><!-- | |||
--><div style="flex:1 1 450px; word-wrap:break-word; margin-top:7px"><!-- | |||
< | -->{{#tag: tabber|<!-- details tabber start | ||
{ | -->{{#if: {{{ability_details|}}}|{{!}}-{{!}} {{lang|en=Details|zh-hans=详情}}=<!-- closed nowiki tag on next line to prevent line break from being parsed, so the list displays properly | ||
--><div style="margin: 0.5em 0;"><nowiki/> | |||
<div class="mobileonly">'''Ability details:'''</div> | |||
{{{ability_details}}}<!-- also it is necessary to have an extra line break before the parameters or the second tab ignores the margins for some weird reason | |||
--></div><!-- | |||
-->}}<!-- | |||
-->{{#if: {{{coop_details|}}}|{{!}}-{{!}} Co-op=<!-- | |||
--><div style="margin: 0.5em 0;"><nowiki/> | |||
</includeonly><noinclude> | |||
{{doc}} | |||
[[Category:Infobox templates]] | |||
</noinclude> | |||