Template:Ability card v2/Card/AltBox: Difference between revisionsGive feedback
Jump to navigation
Jump to search
m removed example in favour of the doc page |
m fixed issue with using no "type" argument |
||
| Line 3: | Line 3: | ||
<span style="white-space: nowrap"> | <span style="white-space: nowrap"> | ||
{{Icon/{{{icon_color|Grey}}}| | {{Icon/{{{icon_color|Grey}}}| | ||
{{#if:{{{ | {{#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}} | {{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> | }} <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> | ||