Template:Demo RecipeItemIcon: Difference between revisions
From Eco - English Wiki
| [unchecked revision] | [unchecked revision] |
No edit summary |
No edit summary |
||
| Line 45: | Line 45: | ||
"128" | "128" | ||
], | ], | ||
"default": "64" | "default": "64", | ||
"autovalue": "64" | |||
}, | }, | ||
"icon": { | "icon": { | ||
"description": "File name for icon.", | "description": "File name for icon.", | ||
"example": "DaisyItem_Icon.png", | "example": "DaisyItem_Icon.png", | ||
"required": true | "required": true, | ||
"type": "string" | |||
}, | }, | ||
"count": { | "count": { | ||
| Line 57: | Line 59: | ||
], | ], | ||
"description": "A number to display over this icon's image. Useful for showing counts.", | "description": "A number to display over this icon's image. Useful for showing counts.", | ||
"example": "10" | "example": "10", | ||
"type": "number" | |||
} | } | ||
} | } | ||
Revision as of 14:44, 19 February 2026
Visual Goals
Template Examples
| Size | Example |
|---|---|
| 64px |
|
| 128px |
|
| 256px |
|
| Count | Example |
|---|---|
| null |
|
| 10 |
|
| 100 |
|
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| size | size | Size in pixels (numbers only)
| Number | optional |
| icon | icon | File name for icon.
| String | required |
| count | count num | A number to display over this icon's image. Useful for showing counts.
| Number | optional |