Template:Ability card: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
    
    
   --><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
   --><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
     -->{{{ability_name|No 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|{{#var:{{{ability_name}}} key_alternative}}}}|Access Key}}</div>}}<!--Key Alternative, Utilizes the same template of key.
Line 30: Line 30:
     --><div style="display:inline-flex"><!--
     --><div style="display:inline-flex"><!--
       -->|<!--  
       -->|<!--  
         --><div style="display:flex; justify-content:center; column-gap:4px; padding-top:5px; padding-bottom:5px;"><!-- Begin interactions
         --><div style="display:flex; justify-content:center; column-gap:4px; padding-top:5px; padding-bottom:5px;"><!--
        --><div class="abilityImage" style="display:inline-block; width:32px; height:32px;"><!--
          --><div style="position:absolute;"><!--
          -->{{#ifeq: {{lc:{{{ignores_barrier|}}}}}|partial|<!--
            --><div style="position:absolute; left:26px; top:16px; color:#cccccc; font-family:sans-serif;">'''!'''</div><!--
          -->}}<!--
          -->[[File:hero-ability-circle.svg|32x32px|link=|{{#ifeq: {{lc:{{{ignores_barrier|}}}}}|partial|Partially blocked|Blocked}} by barriers.]]<!--
          --></div><!--
          --><div style="width:100%; height:100%; display:flex; flex-direction:column; justify-content:center; {{#switch: {{lc:{{{ignores_barrier|}}}}}|yes|1=opacity:0.3;|#default=}}"><!--
          -->[[File:Ability-winston3.png|link=|25x25px|middle|center|Ignores barriers.]]<!--
          --></div><!--
        --></div><!--
        --><div class="abilityImage" style="display:inline-block; width:32px; height:32px;"><!--
          --><div style="position:absolute;"><!--
          -->{{#ifeq: {{lc:{{{ignores_matrix|}}}}}|partial|<!--
            --><div style="position:absolute; left:26px; top:16px; color:#cccccc; font-family:sans-serif;">'''!'''</div><!--
          -->}}<!--
          -->[[File:hero-ability-circle.svg|32x32px|link=|{{#ifeq: {{lc:{{{ignores_matrix|}}}}}|partial|Partially blocked|Blocked}} by Defense Matrix/Kinetic Grasp.]]<!--
          --></div><!--
          --><div style="width:100%; height:100%; display:flex; flex-direction:column; justify-content:center; {{#switch: {{lc:{{{ignores_matrix|}}}}}|yes|1=opacity:0.3;|#default=}}"><!--
          -->[[File:Ability-dva3.png|link=|25x25px|middle|center|Ignores Defense Matrix/Kinetic Grasp.]]<!--
          --></div><!--
        --></div><!--
        --><div class="abilityImage" style="display:inline-block; width:32px; height:32px;"><!--
          --><div style="position:absolute;"><!--
          -->{{#ifeq: {{lc:{{{ignores_deflect|}}}}}|partial|<!--
            --><div style="position:absolute; left:26px; top:16px; color:#cccccc; font-family:sans-serif;">'''!'''</div><!--
          -->}}<!--
          -->[[File:hero-ability-circle.svg|32x32px|link=|{{#ifeq: {{lc:{{{ignores_deflect|}}}}}|partial|Partially blocked|Blocked}} by Deflect/Javelin Spin.]]<!--
          --></div><!--
          --><div style="width:100%; height:100%; display:flex; flex-direction:column; justify-content:center; {{#switch: {{lc:{{{ignores_deflect|}}}}}|yes|1=opacity:0.3;|#default=}}"><!--
          -->[[File:Ability-genji2.png|link=|25x25px|middle|center|Ignores Deflect/Javelin Spin.]]<!--
          --></div><!--
        --></div><!--
        --><div class="abilityImage" style="display:inline-block; width:32px; height:32px;"><!--
          --><div style="position:absolute;"><!--
          -->{{#ifeq: {{lc:{{{ignores_boost|}}}}}|partial|<!--
            --><div style="position:absolute; left:26px; top:16px; color:#cccccc; font-family:sans-serif;">'''!'''</div><!--
          -->}}<!--
          -->[[File:hero-ability-circle.svg|32x32px|link=|{{#ifeq: {{lc:{{{ignores_boost|}}}}}|partial|Partially affected|Affected}} by damage boosts.]]<!--
          --></div><!--
           --><div style="width:100%; height:100%; display:flex; flex-direction:column; justify-content:center; {{#switch: {{lc:{{{ignores_boost|}}}}}|yes|1=opacity:0.3;|#default=}}"><!--
           --><div style="width:100%; height:100%; display:flex; flex-direction:column; justify-content:center; {{#switch: {{lc:{{{ignores_boost|}}}}}|yes|1=opacity:0.3;|#default=}}"><!--
           -->[[File:Ability-ana4.png|link=|25x25px|middle|center|Ignores damage boosts.]]<!--
           -->[[File:Ability-ana4.png|link=|25x25px|middle|center|Ignores damage boosts.]]<!--

Revision as of 17:53, 24 August 2024