Template:Ability card v2/Card/AltBox: Difference between revisions
Jump to navigation
Jump to search
left-align text |
don't wrap labels |
||
Line 2: | Line 2: | ||
<div style="display:flex; flex-direction:row; flex-grow: 1; flex-basis: 0; justify-content: left; {{#ifeq: {{{scale_type}}} | spirit | background: rgb(42,41,43); | <div style="display:flex; flex-direction:row; flex-grow: 1; flex-basis: 0; justify-content: left; {{#ifeq: {{{scale_type}}} | spirit | background: rgb(42,41,43); | ||
background: radial-gradient(circle, rgba(42,41,43,1) 0%, rgba(59,49,69,1) 100%); |background-color: #2A2A2A}}; font-size: 0.85em; 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 | #3d2c4d | #2A2A2A}}; border-radius: 1px"> | background: radial-gradient(circle, rgba(42,41,43,1) 0%, rgba(59,49,69,1) 100%); |background-color: #2A2A2A}}; font-size: 0.85em; 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 | #3d2c4d | #2A2A2A}}; border-radius: 1px"> | ||
<span>{{Icon/{{{icon_color|Grey}}}|[[File:{{{icon}}}|20px|link={{{icon_link}}}]]|{{ValueAndUom|'''{{{value}}}'''|{{Lang|key={{{key}}}_postfix}}|uom_style=font-size: 10px; color: #9C9C9C}}}}{{#ifeq: {{{scale_type}}}|spirit|{{ss|{{{scale_value}}}}}}} | <span style="white-space: nowrap">{{Icon/{{{icon_color|Grey}}}|[[File:{{{icon}}}|20px|link={{{icon_link}}}]]|{{ValueAndUom|'''{{{value}}}'''|{{Lang|key={{{key}}}_postfix}}|uom_style=font-size: 10px; color: #9C9C9C}}}}{{#ifeq: {{{scale_type}}}|spirit|{{ss|{{{scale_value}}}}}}} | ||
| | ||
{{Lang|key={{{key}}}_label}} | <span style="font-size: 0.75rem; white-space: nowrap">{{Lang|key={{{key}}}_label}}</span> | ||
</span> | </span> | ||
</div> | </div> | ||
Line 11: | Line 11: | ||
<noinclude> | <noinclude> | ||
{{#invoke:AbilityData|get_ability_card|Infernus| | {{#invoke:AbilityData|get_ability_card|Infernus|2|false}} | ||
</noinclude> | </noinclude> |
Revision as of 12:44, 28 September 2024
Script error: The function "get_ability_card" does not exist.