Template:Ability card v2/Card/MainBox: Difference between revisions
Jump to navigation
Jump to search
reduced label font size and added variable icon size |
m moved Lang to a raw invoke to prevent template limit on heroes page |
||
Line 8: | Line 8: | ||
</div> | </div> | ||
</div>}} | </div>}} | ||
<div style="font-weight: bold;">{{Icon/{{{icon_color|Grey}}}|[[File:{{{icon}}}|{{{icon_size|18px}}}|link={{{icon_link}}}]]|{{ValueAndUom|'''{{{value}}}'''|{{Lang| | <div style="font-weight: bold;">{{Icon/{{{icon_color|Grey}}}|[[File:{{{icon}}}|{{{icon_size|18px}}}|link={{{icon_link}}}]]|{{ValueAndUom|'''{{{value}}}'''|{{#invoke:Lang|get_string|{{{key}}}_postfix}}|uom_style=font-size: calc(1em - 4px); color: #9C9C9C}}}}</div> | ||
<div style="font-size: 0.8rem">{{Lang| | <div style="font-size: 0.8rem">{{#invoke:Lang|get_string|{{{key}}}_label}}</div> | ||
</div> | </div> | ||
</includeonly> | </includeonly> |
Revision as of 14:17, 28 September 2024
Script error: The function "get_ability_card" does not exist.