Template:Ability card v2/Card: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Saag (talk | contribs)
No edit summary
Saag (talk | contribs)
added ability icon
Line 5: Line 5:
   <div style="display:flex; flex-direction:row; justify-content: space-between; width: 100%; background: #121212; font-size: calc(1em - 2px); border-radius: 2px">     
   <div style="display:flex; flex-direction:row; justify-content: space-between; width: 100%; background: #121212; font-size: calc(1em - 2px); border-radius: 2px">     
     <div style="display:flex; flex-direction:column; padding: 20px 0 20px 20px">
     <div style="display:flex; flex-direction:column; padding: 20px 0 20px 20px">
       <div style="font-size: 1.6rem">{{#if:{{{name_link|}}}|[[{{{name_link}}}|{{{name}}}]]|{{{name}}}}}</div>
       <div style="font-size: 1.6rem; padding-bottom: 5px">
<span style="filter: brightness(0) saturate(100%) invert(98%) sepia(19%) saturate(1458%) hue-rotate(301deg) brightness(102%) contrast(109%); padding-right: 10px">[[File:{{{name}}}.png|45px|link=]]</span>{{#if:{{{name_link|}}}|[[{{{name_link}}}|{{{name}}}]]|{{{name}}}}}
</div>
       <div style="display:flex; flex-direction:row; margin-left: 10px;">
       <div style="display:flex; flex-direction:row; margin-left: 10px;">
         {{Ability_card_v2/HeaderAttr|{{{range|}}}|uom=m|icon=[[File:CastRange.png|20px|link=Ability_Range]]}}
         {{Ability_card_v2/HeaderAttr|{{{range|}}}|uom=m|icon=[[File:CastRange.png|20px|link=Ability_Range]]}}
Line 48: Line 50:


</div></includeonly><noinclude>
</div></includeonly><noinclude>
{{#invoke:AbilityData|get_ability_card|Wraith|1|true}}
{{#invoke:AbilityData|get_ability_card|Wraith|1|false}}
</noinclude>
</noinclude>

Revision as of 23:25, 24 September 2024

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