Template:Ability card v2/Card/AltBox/doc: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Created docs, similar to MainBox docs |
m Updated description |
||
| Line 75: | Line 75: | ||
} | } | ||
}, | }, | ||
"description": "Display element for | "description": "Display element for an alternate ability, similar to main box attributes. Can be any number of these on an ability card", | ||
"paramOrder": [ | "paramOrder": [ | ||
"value", | "value", | ||
Revision as of 23:27, 29 December 2024
Display element for an alternate ability, similar to main box attributes. Can be any number of these on an ability card
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| value | value | Display value of the attribute
| Number | required |
| key | key | Will retrieve the attribute label from localization data based on the current selected language using "<key>_label" | String | suggested |
| label | label | Display label for attribute. Will override the use of "key" argument | String | optional |
| type | type | Attribute type - used to automatically retrieve the icon's image, link, size (but not color)
| String | suggested |
| scale_type | scale_type | Type of attribute scaling (other scalings exist, but only "spirit" is currently supported)
| String | optional |
| scale_value | scale_value | Multiplier for the scaling
| Number | optional |
| icon_color | icon_color | Color of the attribute icon
| String | optional |
| icon | icon | Icon's image name. Overridden by image found via "type" parameter
| String | optional |
| icon_link | icon_link | Icon's hyperlink. Overridden by link retrieved via "type" parameter | String | optional |