Template:Ability card: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
     -->{{{name}}}<!--
     -->{{{name}}}<!--
     --><div style="float:right;"><!--
     --><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|{{#var:{{{ability_name}}} key_alternative}}}}|Access Key}}</div>}}<!--Key Alternative, Utilizes the same template of key.
         -->{{#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|{{{key}}}|Default key}}</div>}}<!--Key Alternative, Utilizes the same template of key.
     -->{{#if:{{#var:{{{ability_name}}} key}}|<div class="abilityIcons" style="display:inline-block; margin-left:5px; color:#f06414; padding-left:0.2em; padding-right:0.25em; text-align:center; background-color:rgba(8,27,43,0.3);">{{Tooltip|{{key|{{#var:{{{ability_name}}} key}}}}|Hotkey}}</div>}}<!--Key
     -->{{#if:{{#var:{{{ability_name}}} key}}|<div class="abilityIcons" style="display:inline-block; margin-left:5px; color:#f06414; padding-left:0.2em; padding-right:0.25em; text-align:center; background-color:rgba(8,27,43,0.3);">{{Tooltip|{{key|{{#var:{{{ability_name}}} key}}}}|Hotkey}}</div>}}<!--Key
     --></div><!--
     --></div><!--
Line 36: Line 36:
     -->{{#if:{{{cooldown|}}}|{{Ability card/Data row|name=Cooldown|value={{{cooldown}}} }} }}<!--
     -->{{#if:{{{cooldown|}}}|{{Ability card/Data row|name=Cooldown|value={{{cooldown}}} }} }}<!--
     -->{{#if:{{{description|}}}|{{Ability card/Data row|name=Description|value={{{description}}} }} }}<!--
     -->{{#if:{{{description|}}}|{{Ability card/Data row|name=Description|value={{{description}}} }} }}<!--
     -->{{#if:{{{effect1|}}}|{{Ability card/Data row|name=A|value={{{value1}}} }} }}<!--
     -->{{#if:{{{effect1|}}}|{{Ability card/Data row|name={{effect1}}|value={{{value1}}} }} }}<!--
     -->{{#if:{{{effect2|}}}|{{Ability card/Data row|name=A|value={{{value2}}} }} }}<!--
     -->{{#if:{{{effect2|}}}|{{Ability card/Data row|name={{effect2}}|value={{{value2}}} }} }}<!--
     -->{{#if:{{{effect3|}}}|{{Ability card/Data row|name=A|value={{{value3}}} }} }}<!--
     -->{{#if:{{{effect3|}}}|{{Ability card/Data row|name={{effect3}}|value={{{value3}}} }} }}<!--
     -->{{#if:{{{upgrade1_effect|}}}|{{Ability card/Data row|name={{{upgrade1_effect}}}|value={{{upgrade1_value}}} }} }}<!--
     -->{{#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:{{{upgrade2_effect|}}}|{{Ability card/Data row|name={{{upgrade2_effect}}}|value={{{upgrade2_value}}} }} }}<!--

Revision as of 17:58, 24 August 2024