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

Jump to navigation Jump to search
Added support for spirit scaling
m improved readability of unit of measurement
Line 1: Line 1:
<includeonly>{{#if: {{{1|}}}|<div style="background-color: #2C2C2C; padding: 0 6px 0 6px; margin-right: 20px; white-space: nowrap; {{{style|}}}">{{Icon/Grey|{{{icon}}}|{{ValueAndUom|'''{{{1|}}}'''|{{{uom|}}}|uom_style=font-size: 0.8em; color: #9C9C9C}}}}</div>}}   
<includeonly>{{#if: {{{1|}}}|<div style="background-color: #2C2C2C; padding: 0 6px 0 6px; margin-right: 20px; white-space: nowrap; {{{style|}}}">{{Icon/Grey|{{{icon}}}|{{ValueAndUom|'''{{{1|}}}'''|{{{uom|}}}|uom_style=font-size: calc(1em - 2px); color: #B2B2B2}}}}</div>}}   
{{#if: {{{ss|}}}|
{{#if: {{{ss|}}}|
<div style="position: relative;">
<div style="position: relative;">