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

Removed coloring for spirit scaling
alt size for boon icon
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<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 class="ability-altbox {{#ifeq:{{{hide|}}}|true|hide}}">
<span style="white-space: nowrap">{{Icon/{{{icon_color}}}|[[File:{{{icon}}}|20px|link={{{icon_link}}}]]|{{ValueAndUom|'''{{{value}}}'''|{{Lang|key={{{key}}}_postfix}}|uom_style=font-size: 10px; color: #9C9C9C}}}}&nbsp;<span style="font-size: 0.75rem; white-space: nowrap">{{Lang|key={{{key}}}_label}}{{#ifeq: {{{scale_type}}}|spirit|{{Ability card v2/Spirit mult|{{{scale_value}}}}}}}</span></span>
<span class="ac-altbox-inner">
{{Icon/{{{icon_color|Grey}}}|
{{#if:{{{icon|}}}|[[File:{{{icon}}}|{{{icon_size|18px}}}|link={{{icon_link}}}]]|{{#invoke:Abilities/icon|getAttrIconFile|{{{type|}}}}}}}|
{{ValueAndUom|'''{{{value}}}'''|id={{{key}}}|class=ability-attr|{{Lang|key={{{key}}}_postfix}}|uom_style=font-size: 10px; color: #9C9C9C}}
}}&nbsp;<span class="ac-altbox-label">{{#if:{{{label|}}}|{{{label}}}|{{Lang|key={{{key}}}_label}}}}{{#if: {{{scale_type|}}}|&nbsp;{{Ability card v2/Card/Scaling|{{{scale_value}}}||scale_type={{{scale_type}}}|id={{{key}}}-scale|icon_size={{#ifeq:{{{scale_type}}}|power_increase|15px|20px}}}}}}</span></span>
</div></includeonly><noinclude>
</div></includeonly><noinclude>
{{#invoke:AbilityData|get_ability_card|Vindicta|3|false}}
{{Documentation}}
</noinclude>
</noinclude>