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|{{{key}}}|Default 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}}}|Default key}}</div><!--
    -->{{#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><!-- End box header
   --></div><!-- End box header
    
    

Revision as of 17:59, 24 August 2024