Template:Equipment infobox

From BTScape Wiki
Revision as of 02:23, 24 July 2026 by Bembi (talk | contribs) (Add Equipment infobox template (via create-page on MediaWiki MCP Server))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Infobox for non-weapon equipment (armor/clothing): any item with Template:Code and Template:Code in Template:Code — helmets, chestplates, boots, etc. Weapons use Template:Tl instead, since they carry combat stats this one omits.

Usage

{{Equipment infobox
| name        = Iron Chestplate
| image       = Iron Chestplate.png
| id          = 8
| key         = iron_chestplate
| equip_slot  = Chest
| armor       = 2
| affinity_mods =
| two_handed  = no
| max_stack   = 1
| description = Sturdy plate armor, favors defense over mobility.
}}

Parameters

Parameter Meaning Source field
name Display name (defaults to page title) name
image Icon/render filename, uploaded separately (client art)
id Numeric item id id
key String key used in scripts/content files key
equip_slot Head / Chest / Legs / Boots / Gloves / Back / Hand / Offhand equip_slot
armor Flat damage reduction while worn armor
affinity_mods Per-damage-type resistance/weakness modifiers, if any (e.g. "+25% fire resist") affinity_mods
two_handed Only meaningful for a Hand/Offhand item; usually "no" here two_handed
max_stack Inventory stack size (almost always 1 for equipment) max_stack
description Free-text flavor/summary written for the wiki