Template:Icon
From Mechabellum Wiki
Wrapper for icons. Display cost and colorize depending on type.
Parameter | Description | Type | Status | |
---|---|---|---|---|
File Name | file | no description | File | required |
Type | type | Type of the icon. Allows type specific styling.
| String | required |
Cost | cost | Hidden when not set | Number | suggested |
Border | border | Enable border. Empty or "no" is no border all other values show a border.
| Boolean | optional |
Size | size | Image size (xs = 24px, sm = 32px, md = 48px, lg = 64px, xl = 96px) Default lg=64px
| String | optional |