User:Saag/Sandbox/Ability card v2/Card/StatusBox: Difference between revisionsGive feedback
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 25: | Line 25: | ||
</div> | </div> | ||
</div>|}} | </div>|}} | ||
<div style="display:flex; flex-direction:column; flex-grow: 1; justify-content: | <div style="display:flex; flex-direction:column; flex-grow: 1; justify-content: center; align-items: center; {{#switch: {{{scale_type}}} | melee = background: rgb(36,37,36); | ||
background: radial-gradient(circle, rgba(36,37,36,1) 0%, rgba(66,55,47,1) 100%); | spirit = background: rgb(42,41,43); | background: radial-gradient(circle, rgba(36,37,36,1) 0%, rgba(66,55,47,1) 100%); | spirit = background: rgb(42,41,43); | ||
background: radial-gradient(circle, rgba(42,41,43,1) 0%, rgba(59,49,69,1) 100%); | power_increase = background: rgb(61,78,70); | background: radial-gradient(circle, rgba(42,41,43,1) 0%, rgba(59,49,69,1) 100%); | power_increase = background: rgb(61,78,70); | ||
| Line 31: | Line 31: | ||
<div style="font-size: 1rem; font-weight: bold; padding-top: 10px;">{{#if:{{{status_effect|}}}|{{Icon/Purple|[[File:Status {{{status_effect}}}.png|20px]]}}{{Lang|key=Citadel_StatusEffect{{{status_effect}}}}}}}</div> | <div style="font-size: 1rem; font-weight: bold; padding-top: 10px;">{{#if:{{{status_effect|}}}|{{Icon/Purple|[[File:Status {{{status_effect}}}.png|20px]]}}{{Lang|key=Citadel_StatusEffect{{{status_effect}}}}}}}</div> | ||
<div style="display:flex; flex-direction:row; align-items: center; gap: 5px; padding-left: 5px"> | <div style="display:flex; flex-direction:row; align-items: center; gap: 5px; padding-left: 5px"> | ||
<div style="font-weight: bold;">{{ValueAndUom|'''{{{value}}}'''|id={{{key}}}|class=ability-attr|{{Lang|key={{{key}}}_postfix}}|uom_style=font-size: calc(1em - 2px); color: #B2B2B2}} | {{#if: {{{value|}}}|<div style="font-weight: bold;">{{ValueAndUom|'''{{{value}}}'''|id={{{key}}}|class=ability-attr|{{Lang|key={{{key}}}_postfix}}|uom_style=font-size: calc(1em - 2px); color: #B2B2B2}} | ||
</div> | </div>|<div style="font-weight: bold; font-size: 0.8rem; color: #B2B2B2;">Status Effect</div>}} | ||
<div style="font-size: 0.8rem;">{{#if:{{{label|}}}|{{{label}}}|{{Lang|key={{{key}}}_label}}}}</div> | <div style="font-size: 0.8rem;">{{#if:{{{label|}}}|{{{label}}}|{{Lang|key={{{key}}}_label}}}}</div> | ||
</div></div></div> | </div></div></div> | ||