Template:Infobox Item: Difference between revisions

From Guinea Isles Wiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<noinclude>
<templatedata>
{
{
"params": {
"params": {
Line 78: Line 79:
"description": "A template for in-game items. "
"description": "A template for in-game items. "
}
}
</includeonly>
</templatedata>
</noinclude>
{| class="infobox"
{| class="infobox"
!colspan="2"| {{{item_name|Blank Item}}}
!colspan="2"| {{{item_name|Blank Item}}}
Line 88: Line 90:
| Category || {{{category|Item Category}}}
| Category || {{{category|Item Category}}}
|-
|-
| Max Stack || {{Stack Size|{{{stack_size|100}}}}}
| Max Stack || {{{stack_size|100}}}
|-
|-
| Value || {{Gold|{{{value|1}}}}}
| Value || {{{value|1}}}
|-
|-
| Sellable || {{{sellable|Yes}}}
| Sellable || {{{sellable|Yes}}}
|}
|}

Revision as of 14:34, 18 September 2025

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
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
Blank Item
Image Path
Properties
Category Item Category
Max Stack 100
Value 1
Sellable Yes