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)
greater min width
Tags: Mobile edit Mobile web edit
Line 25: Line 25:
   <div style="display:flex; flex-direction:column; align-items: center; margin: 5px 10px 20px 10px; width: calc(100% - 18px);">
   <div style="display:flex; flex-direction:column; align-items: center; margin: 5px 10px 20px 10px; width: calc(100% - 18px);">
     <div style="padding: 20px 10px 20px 10px">{{{description}}}</div>
     <div style="padding: 20px 10px 20px 10px">{{{description}}}</div>
       <div style="display:flex; flex-direction:row; flex-wrap: wrap; justify-content: center; width: calc(90% - 5px); min-width: 280px;">
       <div style="display:flex; flex-direction:row; flex-wrap: wrap; justify-content: center; width: calc(90% - 5px); min-width: 310px;">
         {{#invoke: AbilityData|get_info_main|{{{hero_name}}}|{{{ability_num}}}|1}}
         {{#invoke: AbilityData|get_info_main|{{{hero_name}}}|{{{ability_num}}}|1}}
       </div>
       </div>
       <div style="display:flex; flex-direction:row; flex-wrap: wrap; justify-content: center; background-color: #2A2A2A; width: calc(90% - 11px); min-width: 280px;">
       <div style="display:flex; flex-direction:row; flex-wrap: wrap; justify-content: center; background-color: #2A2A2A; width: calc(90% - 11px); min-width: 310px;">
         {{#invoke: AbilityData|get_info_alt|{{{hero_name}}}|{{{ability_num}}}|1}}
         {{#invoke: AbilityData|get_info_alt|{{{hero_name}}}|{{{ability_num}}}|1}}
       </div>
       </div>
Line 34: Line 34:
    
    
   <!-- UPGRADES -->
   <!-- UPGRADES -->
   <div style="display:flex; flex-direction:row; flex-wrap: wrap; margin-bottom: 10px; justify-content: center; width: calc(90% - 16px); min-width: 280px;>
   <div style="display:flex; flex-direction:row; flex-wrap: wrap; margin-bottom: 10px; justify-content: center; width: calc(90% - 16px); min-width: 310px;>
     {{#invoke: AbilityData|get_upgrades|{{{hero_name}}}|{{{ability_num}}}}}
     {{#invoke: AbilityData|get_upgrades|{{{hero_name}}}|{{{ability_num}}}}}
   </div>
   </div>
Line 48: Line 48:


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

Revision as of 19:40, 23 September 2024

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