Jump to content

Template:Ability card v2/Card

From Deadlock Wiki
Template documentation [view] [edit] [history] [purge]

Overview[edit source]

This template is designed to be used via Template:Ability_card_v2. In cases where the ability data is not available, we can instead use this template to build the ability card more manually.

This template allows building the ability card manually. Many arguments are templates, so refer to Template:Ability_card_v2/Card/MainBox, Template:Ability_card_v2/Card/AltBox and Template:Ability_card_v2/Card/UpgradeBox for their specific documentation.

Examples[edit source]

Some Ability


Cast Range 99m

Radius 99m


Duration 99s

Number of Charges 99

Charge Cooldown 99s

Cooldown 99s

This ability does something

50

DPS

99

Health Regen

10%  Move Speed

22.5%  Fire Rate Bonus

100  Positive Vibes

Ability Point 1
An upgrade
Spirit Power#Spirit Power Scalingx0.123
Ability Point 2
An upgrade
Spirit Power#Spirit Power Scalingx0.123
Ability Point 5
An upgrade
Spirit Power#Spirit Power Scalingx0.123
Eg. 
{{Ability card v2/Card
  | name=Some Ability
  | icon=Catalyst.png
  | range=99
  | radius=99
  | duration=99
  | num_of_charges=99
  | charge_cooldown=99
  | cooldown=99
  | duration=99
  
  | info1_desc=This ability does something
  | info1_mainbox1=
    {{Template:Ability card v2/Card/MainBox
      | value=50 
      | key=DPS
      | type=tech_damage
      | icon_color=Purple
    }}
  | info1_mainbox2=
    {{Template:Ability card v2/Card/MainBox
      | value=99 
      | key=HealthRegen
      | type=healing  
    }}
    
  | info1_altbox1=
    {{Template:Ability card v2/Card/AltBox
      | value=10 
      | key=BonusMoveSpeedPercent
      | type=move_speed 
    }}
  
  | info1_altbox2=
    {{Template:Ability card v2/Card/AltBox
      | value=22.5 
      | key=FireRateBonus
      | type=fire_rate  
    }}
    
  | info1_altbox3=
    {{Template:Ability card v2/Card/AltBox
      | value=100 
      | label=Positive Vibes
    }}
    
   | upgrade1=
    {{Template:Ability card v2/Card/UpgradeBox
      | cost = 1
      | description = An upgrade
      | scale_value = 0.123
      | scale_type =  spirit
    }}
    
   | upgrade2=
    {{Template:Ability card v2/Card/UpgradeBox
      | cost = 2
      | description = An upgrade
      | scale_value = 0.123
      | scale_type =  spirit
    }}
    
   | upgrade3=
    {{Template:Ability card v2/Card/UpgradeBox
      | cost = 5
      | description = An upgrade
      | scale_value = 0.123
      | scale_type =  spirit
    }}
}}

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
namename

Name of the ability

Stringrequired
iconicon

Icon file name of the ability

Example
Catalyst.png
Stringrequired
rangerange

Cast range of ability

Numberoptional
range_ssrange_ss

Range spirit scale multiplier

Numberoptional
radiusradius

Radius of ability's effect

Numberoptional
radius_ssradius_ss

Radius spirit scale multiplier

Numberoptional
durationduration

Duration of ability's effect

Numberoptional
duration_ssduration_ss

Duration spirit scale multiplier

Numberoptional
num_of_chargesnum_of_charges

Total number of charges

Numberoptional
charge_cooldowncharge_cooldown

no description

Example
Cooldown of ability after a charge is used
Numberoptional
charge_cooldown_sscharge_cooldown_ss

Charge cooldown spirit scale multiplier

Numberoptional
cooldowncooldown

Cooldown of ability

Numberoptional
cooldown_sscooldown_ss

Cooldown spirit scale multiplier

Numberoptional
info1_descinfo1_desc

Description for Infobox #1

Stringoptional
info1_mainbox1info1_mainbox1

Mainbox #1 for Infobox #1

Example
{{Ability card v2/Card/MainBox ...}}
Templateoptional
info1_mainbox2info1_mainbox2

Mainbox #2 for Infobox #1

Example
{{Ability card v2/Card/MainBox ...}}
Templateoptional
info1_mainbox3info1_mainbox3

Mainbox #3 for Infobox #1

Example
{{Ability card v2/Card/MainBox ...}}
Templateoptional
info1_altbox1info1_altbox1

Altbox #1 for Infobox #1

Example
{{Ability card v2/Card/AltBox ...}}
Templateoptional
info1_altbox2info1_altbox2

Altbox #2 for Infobox #1

Example
{{Ability card v2/Card/AltBox ...}}
Templateoptional
info1_altbox3info1_altbox3

Altbox #3 for Infobox #1

Example
{{Ability card v2/Card/AltBox ...}}
Templateoptional
info1_altbox4info1_altbox4

Altbox #4 for Infobox #1

Example
{{Ability card v2/Card/AltBox ...}}
Templateoptional
info1_altbox5info1_altbox5

Altbox #5 for Infobox #1

Example
{{Ability card v2/Card/AltBox ...}}
Templateoptional
info1_altbox6info1_altbox6

Altbox #6 for Infobox #1

Example
{{Ability card v2/Card/AltBox ...}}
Templateoptional
info2_descinfo2_desc

Description for Infobox #2

Stringoptional
info2_mainbox1info2_mainbox1

Mainbox #1 for Infobox #2

Example
{{Ability card v2/Card/MainBox ...}}
Templateoptional
info2_mainbox2info2_mainbox2

Mainbox #2 for Infobox #2

Example
{{Ability card v2/Card/MainBox ...}}
Templateoptional
info2_mainbox3info2_mainbox3

Mainbox #3 for Infobox #2

Example
{{Ability card v2/Card/MainBox ...}}
Templateoptional
info2_altbox1info2_altbox1

Altbox #1 for Infobox #2

Example
{{Ability card v2/Card/AltBox ...}}
Templateoptional
info2_altbox2info2_altbox2

Altbox #2 for Infobox #2

Example
{{Ability card v2/Card/AltBox ...}}
Templateoptional
info2_altbox3info2_altbox3

Altbox #3 for Infobox #2

Example
{{Ability card v2/Card/AltBox ...}}
Templateoptional
info2_altbox4info2_altbox4

Altbox #4 for Infobox #2

Example
{{Ability card v2/Card/AltBox ...}}
Templateoptional
info2_altbox5info2_altbox5

Altbox #5 for Infobox #2

Example
{{Ability card v2/Card/AltBox ...}}
Templateoptional
info2_altbox6info2_altbox6

Altbox #6 for Infobox #2

Example
{{Ability card v2/Card/AltBox ...}}
Templateoptional
upgrade1upgrade1

Upgrade box #1

Example
{{Ability card v2/Card/UpgradeBox ...}}
Templaterequired
upgrade2upgrade2

Upgrade box #2

Example
{{Ability card v2/Card/UpgradeBox ...}}
Templaterequired
upgrade3upgrade3

Upgrade box #3

Example
{{Ability card v2/Card/UpgradeBox ...}}
Templaterequired
notesnotes

User-defined notes to display in the footer

Stringoptional