Template:Infobox Item: Difference between revisions

From Guinea Isles Wiki
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
{{Documentation}}
</noinclude>
{| class="infobox"
{| class="infobox"
!colspan="2"| {{{item_name|Blank Item}}}
!colspan="2"| {{{item_name|Blank Item}}}
Line 17: Line 14:
| Sellable || {{{sellable|Yes}}}
| Sellable || {{{sellable|Yes}}}
|}
|}
<noinclude>
<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"
},
"item_name": {
"aliases": [
"Display Name"
],
"label": "Name",
"description": "The display name of the item in-game.",
"example": "Plainwood Log",
"type": "string",
"default": "Blank Item",
"required": true
},
"image": {
"label": "Image",
"description": "The 16x16 item image.",
"type": "wiki-file-name",
"suggested": true
},
"category": {
"label": "Category",
"description": "The item's category in-game.",
"type": "string",
"suggestedvalues": [
"None",
"Tool",
"Container",
"Weapon",
"Ammo",
"Head",
"Body",
"Legs",
"Trinket",
"Food",
"Potion",
"Fish",
"Bait",
"Bug",
"Seed",
"Sapling",
"Crop",
"Herb",
"Ingredient",
"Material",
"Gem",
"Junk"
],
"default": "None"
}
},
"paramOrder": [
"item_name",
"image",
"category",
"stack_size",
"value",
"sellable"
]
}
</templatedata>
</noinclude>

Revision as of 14:24, 18 September 2025

Blank Item
Image Path
Properties
Category Item Category
Max Stack Template:Stack Size
Value 1G
Sellable Yes

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Nameitem_name Display Name

The display name of the item in-game.

Default
Blank Item
Example
Plainwood Log
Stringrequired
Imageimage

The 16x16 item image.

Filesuggested
Categorycategory

The item's category in-game.

Suggested values
None Tool Container Weapon Ammo Head Body Legs Trinket Food Potion Fish Bait Bug Seed Sapling Crop Herb Ingredient Material Gem Junk
Default
None
Stringoptional
Stack Sizestack_size

Default maximum stack of the item.

Default
100
Numberoptional
Valuevalue

The default value of the item in-game.

Default
1
Numberoptional
Sellablesellable

Whether the item can be sold to at least one shop.

Default
False
Booleanoptional