Template:Icon: Difference between revisions
From Mechabellum Wiki
mNo edit summary |
m (clean up, use comments to suppress P tags) |
||
Line 45: | Line 45: | ||
} | } | ||
}, | }, | ||
"description": "Wrapper for icons. Display cost | "description": "Wrapper for icons. Display cost and colorize depending on type.", | ||
"format": "inline" | "format": "inline" | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 01:12, 29 May 2023
Wrapper for icons. Display cost and colorize depending on type.
Parameter | Description | Type | Status | |
---|---|---|---|---|
File Name | file | no description | File | required |
Cost | cost | Hidden when not set | Number | suggested |
Type | type | Type of the icon. Allows type specific styling.
| String | required |
Size | size | Image size (xs = 24px, sm = 32px, md = 48px, lg = 64px, xl = 96px) Default lg=64px
| String | optional |