Template:Ability card v2/Card: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Saag (talk | contribs)
narrower
Saag (talk | contribs)
improved background contrast
Line 1: Line 1:
<includeonly>{{anchor|{{{name}}}}}
<includeonly>{{anchor|{{{name}}}}}
<div style="font-size: 16px; font-family: 'PT Serif', 'Palatino', 'Georgia'; color: #FFEFD7; display:flex; flex-direction:column; background: rgb(40,40,40);
<div style="font-size: 16px; font-family: 'PT Serif', 'Palatino', 'Georgia'; color: #FFEFD7; display:flex; flex-direction:column;   background: rgb(52,52,52);
background: linear-gradient(90deg, rgba(40,40,40,1) 0%, rgba(59,59,59,1) 30%, rgba(59,59,59,1) 100%); align-items: center; width: 550px">
background: linear-gradient(90deg, rgba(52,52,52,1) 0%, rgba(66,66,66,1) 14%, rgba(77,77,77,1) 100%);   align-items: center; max-width: 550px">
   <!-- HEADER -->
   <!-- HEADER -->
   <div style="display:flex; flex-direction:row; justify-content: space-between; width: 100%; background: #121212;">     
   <div style="display:flex; flex-direction:row; justify-content: space-between; width: 100%; background: #121212;">     
Line 24: Line 24:
   <div style="display:flex; flex-direction:column; align-items: center; margin: 5px 10px 20px 10px">
   <div style="display:flex; flex-direction:column; align-items: center; margin: 5px 10px 20px 10px">
     <div style="padding: 10px">{{{description}}}</div>
     <div style="padding: 10px">{{{description}}}</div>
       <div style="display:flex; flex-direction:row; flex-wrap: wrap; justify-content: center">
       <div style="display:flex; flex-direction:row; flex-wrap: wrap; justify-content: center; width: 90%">
         {{#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;">
       <div style="display:flex; flex-direction:row; flex-wrap: wrap; justify-content: center; background-color: #2A2A2A; width: 90%">
         {{#invoke: AbilityData|get_info_alt|{{{hero_name}}}|{{{ability_num}}}|1}}
         {{#invoke: AbilityData|get_info_alt|{{{hero_name}}}|{{{ability_num}}}|1}}
       </div>
       </div>
Line 33: Line 33:
    
    
   <!-- UPGRADES -->
   <!-- UPGRADES -->
   <div style="display:flex; flex-direction:row; margin-bottom: 10px">
   <div style="display:flex; flex-direction:row; margin-bottom: 10px; justify-content: center; width: 90%">
     {{#invoke: AbilityData|get_upgrades|{{{hero_name}}}|{{{ability_num}}}}}
     {{#invoke: AbilityData|get_upgrades|{{{hero_name}}}|{{{ability_num}}}}}
   </div>
   </div>
Line 39: Line 39:
</includeonly>
</includeonly>
<noinclude>
<noinclude>
{{#invoke:AbilityData|get_ability_card|Grey Talon|1|true}}
{{#invoke:AbilityData|get_ability_card|Grey Talon|3|true}}
</noinclude>
</noinclude>

Revision as of 18:22, 22 September 2024


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