Template:Item weapon
Jump to navigation
Jump to search
This template adds rows to the table "ItemData", which is declared by the template Item base. View table.
Infobox specifically to use with Weapons. Please note that Armor and generic Equipment have their own, more detailed infoboxes.
Usage
{{Item weapon | name = Leave blank to default to the page name. | image = try to use {{PAGENAME}}.png for ingame icons | size = optional, default is 84px | class = ONLY use one of: Sword, Axe, Mace, Polearm, Spear, Chakram, Pistol, Shield, Bow, Dagger | type = ONLY use one of: One-Handed, Two-Handed, Off-Handed, Halberd, Staff | physical = Physical damage [optional] | ethereal = Ethereal damage [optional] | fire = Fire damage [optional] | frost = Frost damage [optional] | lightning = Lightning damage [optional] | decay = Decay damage [optional] | impact = Leave blank to default to "???" value. | reach = Leave blank to default to "???" value. | attackspeed = Leave blank to default to "???" value. | stamcost = Base stamina cost. | effects = Effects, if any [optional] | physicalBonus = Physical damage bonus [optional] | etherealBonus = Ethereal damage bonus [optional] | fireBonus = Fire damage bonus [optional] | frostBonus = Frost damage bonus [optional] | lightningBonus = Lightning damage bonus [optional] | decayBonus = Decay damage bonus [optional] | manaCostReduction = Mana cost modifier [optional] | set = Set for this item [optional] | durability = Leave blank to default to "???" value. | weight = Leave blank to default to "???" value. | buy = Leave blank to default to "???" value. | sell = Leave blank to default to "???" value. | related = | object id = | object name = }}
Example
Iron Sword | |
---|---|
![]() | |
Weapon Details | |
Class |
Swords |
Type |
One-Handed |
15 ![]() | |
Reach |
1.101 |
1.0 ![]() | |
4.8 ![]() | |
225 | |
Iron Set | |
Item Details | |
3.0 | |
Buy |
60 ![]() |
Sell |
18 ![]() |
Modding | |
Object ID |
2200010 |
{{Infobox weapon | name = Iron Sword | image = Iron_Sword.png | size = | class = Sword | type = One-Handed | physical = 17 | ethereal = | fire = 0 | frost = 0 | lightning = | decay = | impact = 15 | reach = 1.101 | attackspeed = 1.0 | stamcost = 4.8 | effects = | physicalBonus = | etherealBonus = | fireBonus = | frostBonus = | lightningBonus = | decayBonus = | manaCostReduction = | set = Iron Set | durability = 225 | weight = 3.0 | buy = 60 | sell = 18 | related = | object id = 2200010 | object name = }}
Item Infoboxes
- Template:Item — Infobox for generic items
- Template:Item_weapon — Infobox for weapons
- Template:Item_armor — Infobox for armor and sets
- Template:Item_consumable — Infobox for consumable items
- Template:Item_equipment — Infobox for equipment items that are neither weapons or armor
- Category:Infobox_templates — other Infoboxes
Listing templates
The above documentation is transcluded from Template:Item weapon/doc. (edit | history)