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

m Undo revision 39295 by Saag (talk)
Tag: Undo
alt size for boon icon
 
(8 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">
<span class="ac-altbox-inner">
{{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/icon|getAttrIconFile|{{{type|}}}}}}}|
{{ValueAndUom|'''{{{value}}}'''|id={{{key}}}|{{Lang|key={{{key}}}_postfix}}|uom_style=font-size: 10px; color: #9C9C9C}}
{{ValueAndUom|'''{{{value}}}'''|id={{{key}}}|class=ability-attr|{{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>
}}&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>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>