Template:Infobox Item/doc: Difference between revisions
From Guinea Isles Wiki
Created page with "<templatedata> { "params": { "stack_size": { "label": "Stack Size", "description": "Default maximum stack of the item.", "type": "number", "default": "100" }, "value": { "label": "Value", "description": "The default value of the item in-game.", "type": "number", "default": "1" }, "sellable": { "label": "Sellable", "description": "Whether the item can be sold to at least one shop.", "type": "boolean", "default": "False" },..." Tag: Recreated |
m Protected "Template:Infobox Item/doc" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
"description": "Default maximum stack of the item.", | "description": "Default maximum stack of the item.", | ||
"type": "number", | "type": "number", | ||
"default": "100" | "default": "100", | ||
"autovalue": "100" | |||
}, | }, | ||
"value": { | "value": { | ||
| Line 12: | Line 13: | ||
"description": "The default value of the item in-game.", | "description": "The default value of the item in-game.", | ||
"type": "number", | "type": "number", | ||
"default": "1" | "default": "1", | ||
"suggested": true, | |||
"autovalue": "1" | |||
}, | }, | ||
"sellable": { | "sellable": { | ||
| Line 18: | Line 21: | ||
"description": "Whether the item can be sold to at least one shop.", | "description": "Whether the item can be sold to at least one shop.", | ||
"type": "boolean", | "type": "boolean", | ||
"default": " | "default": "1", | ||
"suggested": true, | |||
"autovalue": "1" | |||
}, | }, | ||
"item_name": { | "item_name": { | ||
| Line 29: | Line 34: | ||
"type": "string", | "type": "string", | ||
"default": "Blank Item", | "default": "Blank Item", | ||
"required": true | "required": true, | ||
"autovalue": "Item" | |||
}, | }, | ||
"image": { | "image": { | ||
| Line 65: | Line 71: | ||
"Junk" | "Junk" | ||
], | ], | ||
"default": "None" | "default": "None", | ||
"suggested": true | |||
}, | |||
"desc": { | |||
"label": "Description", | |||
"description": "If the item has a special description in-game.", | |||
"example": "Fish 25% faster when used as bait.", | |||
"type": "string" | |||
}, | |||
"discoverable": { | |||
"label": "Discoverable", | |||
"description": "Whether the items counts towards in the Items Discovered total in the stats menu.", | |||
"type": "boolean", | |||
"default": "1", | |||
"suggested": true, | |||
"autovalue": "1" | |||
}, | |||
"donatable": { | |||
"label": "Donatable", | |||
"description": "Whether the item can be donated to the museum.", | |||
"type": "boolean", | |||
"default": "0", | |||
"suggested": true, | |||
"autovalue": "0" | |||
} | } | ||
}, | }, | ||
| Line 71: | Line 100: | ||
"item_name", | "item_name", | ||
"image", | "image", | ||
"desc", | |||
"category", | "category", | ||
"stack_size", | "stack_size", | ||
"value", | "value", | ||
"sellable" | "sellable", | ||
"discoverable", | |||
"donatable" | |||
], | ], | ||
"description": "A template for in-game items. " | "description": "A template for in-game items. " | ||
} | } | ||
</templatedata> | </templatedata> | ||
Latest revision as of 08:24, 19 September 2025
A template for in-game items.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | item_name Display Name | The display name of the item in-game.
| String | required |
| Image | image | The 16x16 item image. | File | suggested |
| Description | desc | If the item has a special description in-game.
| String | optional |
| Category | category | The item's category in-game.
| String | suggested |
| Stack Size | stack_size | Default maximum stack of the item.
| Number | optional |
| Value | value | The default value of the item in-game.
| Number | suggested |
| Sellable | sellable | Whether the item can be sold to at least one shop.
| Boolean | suggested |
| Discoverable | discoverable | Whether the items counts towards in the Items Discovered total in the stats menu.
| Boolean | suggested |
| Donatable | donatable | Whether the item can be donated to the museum.
| Boolean | suggested |