User:Saag/Sandbox/AbilityCard/InfoSection/MainBox: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Saag (talk | contribs)
variable icon color
Saag (talk | contribs)
uom formatting
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="display:flex; flex-direction:column; flex-grow: 1; flex-basis: 0; background-color: #2A2A2A; padding: 20px 0px 20px 0px; margin: 3px; text-align: center; border: 3px solid {{#ifeq: {{{scale_type}}} | spirit | #583D6F | #2A2A2A}}; box-shadow: 0 0 10px {{#ifeq: {{{scaflex-basis: 100%le_type}}} | spirit | #583D6F | #2A2A2A}}; border-radius: 1px">
<div style="display:flex; flex-direction:column; flex-grow: 1; flex-basis: 0; background-color: #2A2A2A; padding: 20px 0px 20px 0px; margin: 3px; text-align: center; border: 3px solid {{#ifeq: {{{scale_type}}} | spirit | #583D6F | #2A2A2A}}; box-shadow: 0 0 10px {{#ifeq: {{{scaflex-basis: 100%le_type}}} | spirit | #583D6F | #2A2A2A}}; border-radius: 1px">
   <div style="font-weight: bold;">{{Icon/{{{icon_color|Grey}}}|[[File:{{{icon}}}|20px]]|'''{{{value}}}'''}}{{#ifeq: {{{scale_type}}}|spirit|{{ss|{{{scale_value}}}}}}}</div>
   <div style="font-weight: bold;">{{Icon/{{{icon_color|Grey}}}|[[File:{{{icon}}}|20px]]|{{ValueAndUom|'''{{{value}}}'''|{{Lang|key={{{key}}}_postfix}}|uom_style=font-size: 12px; color: #9C9C9C}}}}{{#ifeq: {{{scale_type}}}|spirit|{{ss|{{{scale_value}}}}}}}</div>
   <div>{{Lang|key={{{key}}}_label}}</div>
   <div>{{Lang|key={{{key}}}_label}}</div>
</div>
</div>

Revision as of 21:34, 22 September 2024



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