Jump to content

Template:Ability card v2/Card/MainBox/doc

From Deadlock Wiki
Revision as of 00:17, 27 December 2024 by Saag (talk | contribs) (Created page with "<templatedata> { "params": { "title": { "description": "Title that appears above the container", "example": "On Hit:", "type": "string" }, "scale_type": { "description": "Type of attribute scaling (other scalings exist, but only \"spirit\" is currently supported)", "example": "spirit", "type": "string", "suggestedvalues": [ "spirit" ] }, "scale_value": { "description": "Multiplier for the scaling", "example": "0.5", "type":...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

No description.

Template parameters

ParameterDescriptionTypeStatus
titletitle

Title that appears above the container

Example
On Hit:
Stringoptional
scale_typescale_type

Type of attribute scaling (other scalings exist, but only "spirit" is currently supported)

Suggested values
spirit
Example
spirit
Stringoptional
scale_valuescale_value

Multiplier for the scaling

Example
0.5
Numberoptional
icon_coloricon_color

Color of the attribute icon

Suggested values
Grey Brown Purple
Default
Grey
Example
Brown
Stringoptional
typetype

Attribute type - used to automatically retrieve the icon's image, link, size, and color

Suggested values
bullet_armor_up bullet_armor_down cast charges damage bullet_damage fire_rate healing health move_speed range tech_armor_up tech_damage distance duration slow
Example
damage
Stringsuggested
iconicon

Icon's image name. Overridden by image found via "type" parameter

Example
Damage_heart.png
Stringoptional
icon_sizeicon_size

no description

Unknownoptional
icon_linkicon_link

no description

Unknownoptional
valuevalue

Display value of the attribute

Example
23.5
Numberrequired
Attribute keykey

Will retrieve the label from localization data based on the current selected language using "<key>_label"

Stringsuggested
labellabel

Display label for attribute. Will override the use of "key" argument

Stringoptional