Template:Infobox Item: Difference between revisions
From Guinea Isles Wiki
Created |
Parameter data |
||
| Line 1: | Line 1: | ||
{| class=" | <noinclude> | ||
<templatedata> | |||
{ | |||
"description": "", | |||
"params": { | |||
"item_name": { | |||
"label": "Name", | |||
"description": "The display name of the item.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "The image for the item in 16x16.", | |||
"type": "wiki-file-name" | |||
}, | |||
"category": { | |||
"label": "Category", | |||
"description": "The items's category as it appears in-game.", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"None", | |||
"Tool", | |||
"Container", | |||
"Weapon", | |||
"Ammo", | |||
"Head", | |||
"Body", | |||
"Legs", | |||
"Trinket", | |||
"Food", | |||
"Potion", | |||
"Seeds", | |||
"Sapling", | |||
"Crop", | |||
"Herb", | |||
"Bait", | |||
"Fish", | |||
"Bug", | |||
"Ingredient", | |||
"Material", | |||
"Gem", | |||
"Junk" | |||
] | |||
}, | |||
"stack_size": { | |||
"label": "Stack Size", | |||
"description": "The item's maximum stack size.", | |||
"type": "number", | |||
"default": "100" | |||
}, | |||
"value": { | |||
"label": "Value", | |||
"description": "The item's base gold value.", | |||
"type": "number", | |||
"default": "1" | |||
}, | |||
"sellable": { | |||
"label": "Sellable", | |||
"description": "Whether the item can be sold.", | |||
"type": "boolean", | |||
"default": "true" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> | |||
{| class="infobox" | |||
!colspan="2"| {{{item_name|Blank Item}}} | !colspan="2"| {{{item_name|Blank Item}}} | ||
|- | |- | ||
Revision as of 14:04, 18 September 2025
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | item_name | The display name of the item. | String | required |
| Image | image | The image for the item in 16x16. | File | optional |
| Category | category | The items's category as it appears in-game.
| String | optional |
| Stack Size | stack_size | The item's maximum stack size.
| Number | optional |
| Value | value | The item's base gold value.
| Number | optional |
| Sellable | sellable | Whether the item can be sold.
| Boolean | optional |
| Blank Item | |
|---|---|
| Image Path | |
| Properties | |
| Category | Item Category |
| Max Stack | Template:Stack Size |
| Value | |
| Sellable | Yes |