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": "False"
"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.

Template parameters

ParameterDescriptionTypeStatus
Nameitem_name Display Name

The display name of the item in-game.

Default
Blank Item
Example
Plainwood Log
Auto value
Item
Stringrequired
Imageimage

The 16x16 item image.

Filesuggested
Descriptiondesc

If the item has a special description in-game.

Example
Fish 25% faster when used as bait.
Stringoptional
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
Stringsuggested
Stack Sizestack_size

Default maximum stack of the item.

Default
100
Auto value
100
Numberoptional
Valuevalue

The default value of the item in-game.

Default
1
Auto value
1
Numbersuggested
Sellablesellable

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

Default
1
Auto value
1
Booleansuggested
Discoverablediscoverable

Whether the items counts towards in the Items Discovered total in the stats menu.

Default
1
Auto value
1
Booleansuggested
Donatabledonatable

Whether the item can be donated to the museum.

Default
0
Auto value
0
Booleansuggested