User:Saag/Sandbox/AbilityCard/InfoSection/MainBox: Difference between revisions
No edit summary |
relative font size |
||
Line 2: | Line 2: | ||
<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; {{#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}}; 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: {{{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}}; 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: {{{scale_type}}} | spirit | #3d2c4d | #2A2A2A}}; border-radius: 1px"> | ||
<div style="font-weight: bold;">{{Icon/{{{icon_color|Grey}}}|[[File:{{{icon}}}|20px]]|{{ValueAndUom|'''{{{value}}}'''|{{Lang|key={{{key}}}_postfix}}|uom_style=font-size: | <div style="font-weight: bold;">{{Icon/{{{icon_color|Grey}}}|[[File:{{{icon}}}|20px]]|{{ValueAndUom|'''{{{value}}}'''|{{Lang|key={{{key}}}_postfix}}|uom_style=font-size: calc(1em - 4px); color: #9C9C9C}}}}{{#ifeq: {{{scale_type}}}|spirit|{{ss|{{{scale_value}}}}}}}</div> | ||
<div>{{Lang|key={{{key}}}_label}}</div> | <div>{{Lang|key={{{key}}}_label}}</div> | ||
</div> | </div> | ||
Line 9: | Line 9: | ||
<noinclude> | <noinclude> | ||
{{#invoke:AbilityData|get_ability_card|Grey Talon| | {{#invoke:AbilityData|get_ability_card|Grey Talon|3|true}} | ||
</noinclude> | </noinclude> |
Revision as of 19:45, 23 September 2024
Script error: The function "get_ability_card" does not exist.