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

From Deadlock Wiki
Jump to navigation Jump to search
Saag (talk | contribs)
m moved Lang to a raw invoke to prevent template limit on heroes page
Saag (talk | contribs)
Undo revision 8784 by Saag (talk) - turns out its about code size, not just num of templates
Tag: Undo
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}}}'''|{{#invoke:Lang|get_string|{{{key}}}_postfix}}|uom_style=font-size: calc(1em - 4px); color: #9C9C9C}}}}</div>
   <div style="font-weight: bold;">{{Icon/{{{icon_color|Grey}}}|[[File:{{{icon}}}|{{{icon_size|18px}}}|link={{{icon_link}}}]]|{{ValueAndUom|'''{{{value}}}'''|{{Lang|key={{{key}}}_postfix}}|uom_style=font-size: calc(1em - 4px); color: #9C9C9C}}}}</div>
   <div style="font-size: 0.8rem">{{#invoke:Lang|get_string|{{{key}}}_label}}</div>
   <div style="font-size: 0.8rem">{{Lang|key={{{key}}}_label}}</div>
</div>
</div>
</includeonly>
</includeonly>

Revision as of 14:18, 28 September 2024



Script error: The function "get_ability_card" does not exist.