Template:Infobox Item
From OpenSpell Wiki
Usage
Place at the top of any item article. Only fill in the sections relevant to the item type.
{{Infobox Item
| name = Iron longsword
| image = [[File:Iron_longsword.png|150px]]
| description = A sharp sword crafted from iron
| cost = 200
| weight = 2
| stackable = no
| tradeable = yes
| members = no
| equipslot = weapon
| weapon_speed = 5
| req_skill = accuracy
| req_level = 10
| bonus_accuracy = 14
| bonus_strength = 13
| skill_xp = Smithing
| xp_amount = 70
| recipe = 2x [[iron bar]]
}}
All parameters
| Parameter | Description |
|---|---|
name |
In-game item name |
image |
[[File:ItemName.png|150px]]
|
description |
In-game examine text |
cost |
Base value in coins |
weight |
Weight in kg |
stackable |
yes or no
|
tradeable |
yes or no
|
members |
yes or no
|
| Equipment only | |
equipslot |
weapon / helmet / chest / legs / boots / gloves / shield / neck / back / projectile |
weapon_speed |
Attack speed in ticks (weapons only) |
req_skill |
Skill required to equip |
req_level |
Level required to equip |
bonus_accuracy |
Accuracy bonus (positive or negative) |
bonus_strength |
Strength bonus |
bonus_defense |
Defense bonus |
bonus_magic |
Magic bonus |
bonus_range |
Range bonus |
| Food only | |
heals |
Hitpoints restored when eaten |
| Craftable/Skilling | |
skill_xp |
Skill that grants XP when obtained/crafted |
xp_amount |
Amount of XP granted |
recipe |
Ingredients, e.g. 2x iron bar
|
See also: Template:Item/preload