User:Saag/Sandbox/Ability card v2/Card/MainBox: Difference between revisionsGive feedback
m Only show minus symbol prefix |
mNo edit summary |
||
| Line 36: | Line 36: | ||
{{#ifeq:{{#var:value_prefix}}|-|{{#var:value_prefix}}}}{{ValueAndUom|'''{{{value}}}'''|id={{{key}}}|class=ability-attr|{{Lang|key={{{key}}}_postfix}}|uom_style=font-size: calc(1em - 2px); color: #B2B2B2}} | {{#ifeq:{{#var:value_prefix}}|-|{{#var:value_prefix}}}}{{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-size: 0.8rem; padding-bottom: 3px">{{#if:{{{label|}}}|{{{label}}}|{{Lang|key= | <div style="font-size: 0.8rem; padding-bottom: 3px">{{#if:{{{label|}}}|{{{label}}}|{{Lang|key={{{key}}}_label}}}}</div> | ||
</div></div> | </div></div> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||