Editing User:Saag/Sandbox/Ability card v2/Card/MainBox

Warning: You are not logged in. Once you make an edit, a temporary account will be created for you. Learn more. Log in or create an account to continue receiving notifications after this account expires, and to access other features.
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>
<includeonly>
<div class="ability-mainbox {{#ifeq:{{{hide|}}}|true|hide}}" style="display:flex; flex-direction:column; flex-grow: 1; flex-basis: 0; max-height: 100%; padding: 10px 0px 10px 0px; margin: 3px; overflow: hidden;">
<div style="display:flex; flex-direction:column; flex-grow: 1; flex-basis: 0; max-height: 100%; padding: 10px 0px 10px 0px; margin: 3px; overflow: hidden;">
{{#if:{{{title|}}}|<div style="padding-bottom: 2px; font-size: 0.8rem; color: #9C9C9C; font-variant: small-caps;">'''{{{title}}}'''</div>|}}{{#switch: {{{scale_type}}}|melee =  
{{#if:{{{title|}}}|<div style="padding-bottom: 2px; font-size: 0.8rem; color: #9C9C9C; font-variant: small-caps;">'''{{{title}}}'''</div>|}}{{#switch: {{{scale_type}}}|melee =  
   <div style="position: relative;">
   <div style="position: relative;">
     <div style="position: absolute; top: -20px; right: -2px">
     <div style="position: absolute; top: -20px; right: -2px">
     {{Ability card v2/Card/Melee mult|{{{scale_value}}}|id={{{key}}}-scale}}
     {{Ability card v2/Card/Melee mult|{{{scale_value}}}}}
     </div>
     </div>
   </div>|
   </div>|
Line 10: Line 10:
   <div style="position: relative;">
   <div style="position: relative;">
     <div style="position: absolute; top: -20px; right: -2px">
     <div style="position: absolute; top: -20px; right: -2px">
     {{Ability card v2/Card/Spirit mult|{{{scale_value}}}|id={{{key}}}-scale}}
     {{Ability card v2/Card/Spirit mult|{{{scale_value}}}}}
     </div>
     </div>
   </div>|
   </div>|
Line 16: Line 16:
   <div style="position: relative;">
   <div style="position: relative;">
     <div style="position: absolute; top: -20px; right: -2px">
     <div style="position: absolute; top: -20px; right: -2px">
     {{Ability card v2/Card/Boon mult|{{{scale_value}}}|id={{{key}}}-scale}}
     {{Ability card v2/Card/Boon mult|{{{scale_value}}}}}
     </div>
     </div>
   </div>|
   </div>|
Line 22: Line 22:
   <div style="position: relative;">
   <div style="position: relative;">
     <div style="position: absolute; top: -20px; right: -2px">
     <div style="position: absolute; top: -20px; right: -2px">
     {{Ability card v2/Card/Weapon mult|{{{scale_value}}}|id={{{key}}}-scale}}
     {{Ability card v2/Card/Weapon mult|{{{scale_value}}}}}
    </div>
  </div>|
  stats_count =
  <div style="position: relative;">
    <div style="position: absolute; top: -20px; right: -2px">
    {{Ability card v2/Card/Spirit mult|{{{scale_value}}}|id={{{key}}}-scale}}
     </div>
     </div>
   </div>|}}
   </div>|}}
Line 34: Line 28:
background: radial-gradient(circle, rgba(36,37,36,1) 0%, rgba(66,55,47,1) 100%); | spirit = background: rgb(42,41,43);
background: radial-gradient(circle, rgba(36,37,36,1) 0%, rgba(66,55,47,1) 100%); | spirit = background: rgb(42,41,43);
background: radial-gradient(circle, rgba(42,41,43,1) 0%, rgba(59,49,69,1) 100%); | power_increase = background: rgb(61,78,70);
background: radial-gradient(circle, rgba(42,41,43,1) 0%, rgba(59,49,69,1) 100%); | power_increase = background: rgb(61,78,70);
background: radial-gradient(circle, rgba(42,41,43,1) 0%, rgba(61,78,70,1) 100%); | stats_count = background: rgb(42,41,43);
background: radial-gradient(circle, rgba(42,41,43,1) 0%, rgba(61,78,70,1) 100%); |background-color: #2A2A2A}}; text-align: center; border: 3px solid {{#switch: {{{scale_type}}} | melee = #5b412b | spirit = #583D6F | power_increase = #48675a | #2A2A2A}}; box-shadow: 0 0 10px {{#switch: {{{scale_type}}} | melee | power_increase | spirit = #3d2c4d | #2A2A2A}}; border-radius: 1px">
background: radial-gradient(circle, rgba(42,41,43,1) 0%, rgba(59,49,69,1) 100%); | background-color: #2A2A2A}}; text-align: center; border: 3px solid {{#switch: {{{scale_type}}} | melee = #5b412b | spirit = #583D6F | power_increase = #48675a | stats_count = #583D6F | #2A2A2A}}; box-shadow: 0 0 10px {{#switch: {{{scale_type}}} | melee | power_increase | stats_count | spirit = #3d2c4d | #2A2A2A}}; border-radius: 1px">
   <div style="font-weight: bold;">
   <div style="font-weight: bold;">
{{#vardefine:value_prefix|{{Lang|key={{{key}}}_prefix}}}}
{{Icon/{{{icon_color|Grey}}}|
{{Icon/{{{icon_color|Grey}}}|
{{#if:{{{icon|}}}|[[File:{{{icon}}}|{{{icon_size|18px}}}|link={{{icon_link}}}]]|{{#invoke:Abilities/card|get_attr_icon|{{{type|}}}}}}}|
{{#if:{{{icon|}}}|[[File:{{{icon}}}|{{{icon_size|18px}}}|link={{{icon_link}}}]]|{{#invoke:Abilities/card|get_attr_icon|{{{type|}}}}}}}|
<!-- Only show value_prefix if it is the minus symbol "-" -->
{{ValueAndUom|'''{{{value}}}'''|id={{{key}}}|class=ability-attr|{{Lang|key={{{key}}}_postfix}}|uom_style=font-size: calc(1em - 2px); color: #B2B2B2}}
{{#ifeq:{{#var:value_prefix}}|-|{{#var:value_prefix}}}}{{ValueAndUom|'''{{{value}}}'''|id={{{key}}}|class=ability-attr|{{Lang|key={{{key}}}_postfix}}|uom_style=font-size: calc(1em - 2px); color: #B2B2B2}}
}}</div>
}}</div>
   <div style="font-size: 0.8rem; padding-bottom: 3px">{{#if:{{{label|}}}|{{{label}}}|{{Lang|key={{{key}}}_label}}}}</div>
   <div style="font-size: 0.8rem; padding-bottom: 3px">{{#if:{{{label|}}}|{{{label}}}|{{Lang|key={{{key}}}_label}}}}</div>
</div></div>
</div></div>
</includeonly><noinclude>
</includeonly><noinclude>
{{#invoke:Abilities-test/card|get_ability_card|Ivy|2|false}}
{{#invoke:Abilities-test/card|get_ability_card|Lash|4|false}}
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>
Please note that all contributions to The Deadlock Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see Deadlock:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)