Toggle menu
517
2.5K
889
23.2K
Deadlock Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Ability card v2/Card/AltBox: Difference between revisions

Template page
No edit summary
m fixed issue with using no "type" argument
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="display:flex; flex-direction:row; flex-basis: 0; justify-content: center; background-color: #2A2A2A; font-size: 13px; padding: 10px 0 10px 0; margin: 3px; text-align: center; border: 3px solid {{#ifeq: {{{scale_type}}} | spirit | #583D6F | #2A2A2A}}; box-shadow: 0 0 10px {{#ifeq: {{{scale_type}}} | spirit | #583D6F | #2A2A2A}}; border-radius: 1px">
<div style="display:flex; flex-direction:row; flex-grow: 1; flex-basis: 0; justify-content: left; background-color: #2A2A2A; font-size: 0.85em; margin: 3px; text-align: center; box-shadow: 0 0 10px #2A2A2A; border-radius: 1px; white-space: nowrap">
  <div>'''{{{value}}}'''{{#ifeq: {{{scale_type}}}|spirit|{{ss|{{{scale_value}}}}}}} {{Lang|key={{{key}}}_label}}</div>
<span style="white-space: nowrap">
</div>
{{Icon/{{{icon_color|Grey}}}|
</includeonly>
{{#if:{{{icon|}}}|[[File:{{{icon}}}|{{{icon_size|18px}}}|link={{{icon_link}}}]]|{{#invoke:Abilities/card|get_attr_icon|{{{type|}}}}}}}|
 
{{ValueAndUom|'''{{{value}}}'''|{{Lang|key={{{key}}}_postfix}}|uom_style=font-size: 10px; color: #9C9C9C}}
 
}}&nbsp;<span style="font-size: 0.75rem; white-space: nowrap">{{#if:{{{label|}}}|{{{label}}}|{{Lang|key={{{key}}}_label}}}}{{#ifeq: {{{scale_type}}}|spirit|&nbsp;{{Ability card v2/Spirit mult|{{{scale_value}}}|icon_size=35px}}}}</span></span>
<noinclude>
</div></includeonly><noinclude>
{{#invoke:AbilityData|get_ability_card|Grey Talon|3|true}}
{{Documentation}}
</noinclude>
</noinclude>