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

From Deadlock Wiki
Jump to navigation Jump to search
Saag (talk | contribs)
uom formatting
Saag (talk | contribs)
spirit scale background
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="display:flex; flex-direction:row; flex-grow: 1; flex-basis: 0; justify-content: center; background-color: #2A2A2A; font-size: 14px; 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 | #583D6F | #2A2A2A}}; border-radius: 1px">
<div style="display:flex; flex-direction:row; flex-grow: 1; flex-basis: 0; justify-content: center; {{#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: 14px; 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 | #583D6F | #2A2A2A}}; border-radius: 1px">
   <div>{{Icon/Grey|[[File:{{{icon}}}|20px]]|{{ValueAndUom|'''{{{value}}}'''|{{Lang|key={{{key}}}_postfix}}|uom_style=font-size: 10px; color: #9C9C9C}}}}{{#ifeq: {{{scale_type}}}|spirit|{{ss|{{{scale_value}}}}}}} {{Lang|key={{{key}}}_label}}</div>
   <div>{{Icon/Grey|[[File:{{{icon}}}|20px]]|{{ValueAndUom|'''{{{value}}}'''|{{Lang|key={{{key}}}_postfix}}|uom_style=font-size: 10px; color: #9C9C9C}}}}{{#ifeq: {{{scale_type}}}|spirit|{{ss|{{{scale_value}}}}}}} {{Lang|key={{{key}}}_label}}</div>
</div>
</div>
Line 7: Line 8:


<noinclude>
<noinclude>
{{#invoke:AbilityData|get_ability_card|Grey Talon|3|true}}
{{#invoke:AbilityData|get_ability_card|Grey Talon|1|true}}
</noinclude>
</noinclude>

Revision as of 22:42, 22 September 2024



Script error: The function "get_ability_card" does not exist.