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)
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>{{anchor|{{{name}}}}}
<div>
<div style="font-size: 16px; font-family: 'PT Serif', 'Palatino', 'Georgia'; display:flex; flex-direction:column; background-color: black; align-items: center">
   {{{name}}} {{{description}}} {{{range}}} {{{radius}}} {{{cooldown}}} {{{num_of_charges}}} {{{charge_cooldown}}} {{{ability_width}}} {{{duration}}}
  <!-- HEADER -->
  {{#invoke: AbilityData|get_info_section|{{{hero_name}}}|{{{ability_num}}}|1}}
   <div style="display:flex; flex-direction:row; justify-content: space-between; width: 100%;">   
   {{#invoke: AbilityData|get_upgrades|{{{hero_name}}}|{{{ability_num}}}}}
    <div style="display:flex; flex-direction:column;">
      <div style="font-size: 26px">{{{name}}}</div>
      <div>{{{radius}}}</div>
      <div>{{{range}}} </div>
      <div>{{{ability_width}}} </div>
      <div>{{{duration}}}</div>
    </div>
 
    <div style="display:flex; flex-direction:column;">
      <div style="display:flex; flex-direction:row;">
        <div>{{{num_of_charges}}}</div>
        <div>{{{charge_cooldown}}}</div>
      </div>
      <div>{{{cooldown}}}</div>
    </div>
  </div>
 
  <!-- INFO SECTIONS -->
  <div style="display:flex; flex-direction:column; align-items: center>
    <div>{{{description}}}</div>
    <div style="display:flex; flex-direction:row;">
      {{#invoke: AbilityData|get_info_section|{{{hero_name}}}|{{{ability_num}}}|1}}
    </div>
  </div>
 
  <!-- UPGRADES -->
   <div style="display:flex; flex-direction:row;">
    {{#invoke: AbilityData|get_upgrades|{{{hero_name}}}|{{{ability_num}}}}}
  </div>
</div>
</div>
</includeonly>
</includeonly>

Revision as of 15:54, 22 September 2024


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