Template:Ability card v2/Card/AltBox: Difference between revisions
spirit scale background |
m fixed issue with using no "type" argument |
||
(20 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div style="display:flex; flex-direction:row; flex-grow: 1; flex-basis: 0; justify-content: | <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"> | ||
<span style="white-space: nowrap"> | |||
{{Icon/{{{icon_color|Grey}}}| | |||
</div> | {{#if:{{{icon|}}}|[[File:{{{icon}}}|{{{icon_size|18px}}}|link={{{icon_link}}}]]|{{#invoke:Abilities/card|get_attr_icon|{{{type|}}}}}}}| | ||
</includeonly> | {{ValueAndUom|'''{{{value}}}'''|{{Lang|key={{{key}}}_postfix}}|uom_style=font-size: 10px; color: #9C9C9C}} | ||
}} <span style="font-size: 0.75rem; white-space: nowrap">{{#if:{{{label|}}}|{{{label}}}|{{Lang|key={{{key}}}_label}}}}{{#ifeq: {{{scale_type}}}|spirit| {{Ability card v2/Spirit mult|{{{scale_value}}}|icon_size=35px}}}}</span></span> | |||
</div></includeonly><noinclude> | |||
<noinclude> | {{Documentation}} | ||
{{ | |||
</noinclude> | </noinclude> |