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

From Deadlock Wiki
Jump to navigation Jump to search
Saag (talk | contribs)
No edit summary
Saag (talk | contribs)
Added titles
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="display:flex; flex-direction:column; flex-grow: 1; flex-basis: 0; {{#ifeq: {{{scale_type}}} | spirit | background: rgb(42,41,43);
<div style="display:flex; flex-direction:column; flex-grow: 1; flex-basis: 0; height: 120px; padding: 10px 0px 10px 0px; margin: 3px;">
background: radial-gradient(circle, rgba(42,41,43,1) 0%, rgba(59,49,69,1) 100%);  |background-color: #2A2A2A}}; padding: 10px 0px 10px 0px; 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">
{{#if:{{{title|}}}|<div style="padding-bottom: 2px; font-size: 0.8rem">'''{{{title}}}'''</div>|}}
<div style="display:flex; flex-direction:column; flex-grow: 1; {{#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}}; 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">
   {{#ifeq: {{{scale_type}}}|spirit|
   {{#ifeq: {{{scale_type}}}|spirit|
   <div style="position: relative;">
   <div style="position: relative;">
Line 10: Line 12:
   <div style="font-weight: bold;">{{Icon/{{{icon_color}}}|[[File:{{{icon}}}|{{{icon_size|18px}}}|link={{{icon_link}}}]]|{{ValueAndUom|'''{{{value}}}'''|{{Lang|key={{{key}}}_postfix}}|uom_style=font-size: calc(1em - 4px); color: #9C9C9C}}}}</div>
   <div style="font-weight: bold;">{{Icon/{{{icon_color}}}|[[File:{{{icon}}}|{{{icon_size|18px}}}|link={{{icon_link}}}]]|{{ValueAndUom|'''{{{value}}}'''|{{Lang|key={{{key}}}_postfix}}|uom_style=font-size: calc(1em - 4px); color: #9C9C9C}}}}</div>
   <div style="font-size: 0.8rem">{{Lang|key={{{key}}}_label}}</div>
   <div style="font-size: 0.8rem">{{Lang|key={{{key}}}_label}}</div>
</div>
</div></div>
</includeonly><noinclude>
</includeonly><noinclude>
{{#invoke:AbilityData|get_ability_card|Shiv|4|true}}
{{#invoke:AbilityData|get_ability_card|Bebop|4|false}}
</noinclude>
</noinclude>

Revision as of 15:56, 28 September 2024

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