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

From Deadlock Wiki
Jump to navigation Jump to search
Saag (talk | contribs)
Added icon link
Saag (talk | contribs)
reduced label font size and added variable icon size
Line 8: Line 8:
     </div>
     </div>
   </div>}}
   </div>}}
   <div style="font-weight: bold;">{{Icon/{{{icon_color|Grey}}}|[[File:{{{icon}}}|18px|link={{{icon_link}}}]]|{{ValueAndUom|'''{{{value}}}'''|{{Lang|key={{{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>{{Lang|key={{{key}}}_label}}</div>
   <div style="font-size: 0.8rem">{{Lang|key={{{key}}}_label}}</div>
</div>
</div>
</includeonly>
</includeonly>
Line 15: Line 15:


<noinclude>
<noinclude>
{{#invoke:AbilityData|get_ability_card|Infernus|4|true}}
{{#invoke:AbilityData|get_ability_card|Infernus|1|true}}
</noinclude>
</noinclude>

Revision as of 12:09, 28 September 2024



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