Template:Infobox Item: Difference between revisions

From Guinea Isles Wiki
No edit summary
m Protected "Template:Infobox Item" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{| class="infobox-right"
{{#invoke:Infobox Item|main}}<noinclude>{{/doc}}</noinclude>
!colspan="2"| {{{item_name|Blank Item}}}
|-
|colspan="2"| [[File:{{{image|Item_log_plainwood.png}}}|48x48px|center]]
|-
!colspan="2"|Properties
|-
| '''Category''' || {{{category|Item Category}}}
|-
| '''Max Stack''' || {{{stack_size|100}}}
|-
| '''Value''' || {{{value|1}}}
|-
| '''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"
],
"description": "A template for in-game items. "
}
</templatedata>
</noinclude>

Latest revision as of 08:24, 19 September 2025

Item
Properties
Value 1G
Stack Size 100
Sellable Yes
Discoverable Yes
Donatable No

A template for in-game items.

Template parameters[Edit template data]

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