imported>Dawning
Im Wiking It
imported>Dawning
Im Wiking It
Line 10: Line 10:
{{#if:{{#explode:{{{title|}}}|;|1}}|<br><span class="iteminfobox-subtitle">{{#explode:{{{title|}}}|;|1}}</span>}}
{{#if:{{#explode:{{{title|}}}|;|1}}|<br><span class="iteminfobox-subtitle">{{#explode:{{{title|}}}|;|1}}</span>}}


|Description=Desc
 
 
|Description=Unholy;Bloodshot;Royal;Gilded;Irradiated;Desc
|Rarity_nolabel=true
|Desc_nolabel=true
|Desc_nolabel=true



Revision as of 01:11, 9 November 2025

Documentation Edit this documentation at Template:ItemInfobox/doc.
(edithistorypurge)

{{ItemInfobox}} builds the item card shown at the top of every weapon, ability and armour entry. It runs on Module:Infobox (the DRUID engine) and is placed inside the item category templates such as Template:Swords/Weapons, Template:Orbs/Abilities and Template:Tiered/Heavy/Armours.

Overview

ItemInfobox renders a card with five sections — Description, Stats, Abilities, Reskins and Info. You fill in only the fields the item actually has; empty fields are not shown. There are two kinds of item:

  • Untiered — a single image (Ut-ItemName.png) plus one rarity flag (Irradiated, Gilded, Royal, Bloodshot, Voidbound or Unholy). The flag colours the card border.
  • Tiered — a tiered image (T#Type.png, e.g. T5Sword.png) plus one tier flag (T1T8). There are 8 tiers only — no T9+, and no EX variants.

Parameters

Parameter Required? What it does Example
title Required Item name (card heading). Add a subtitle after a semicolon. Titanium Cleaver or Name;Subtitle
images Required The item sprite (one file). Ut-TitaniumCleaver.png / T5Sword.png
Desc Optional Description / lore text (no label). A quick and deadly cleaver.
Irradiated Gilded Royal Bloodshot Voidbound Unholy One — untiered only Rarity flag; sets the coloured border. Value is always true. Use exactly one. Irradiated = true
T1T8 One — tiered only Tier flag (value true). Use exactly one; also hides the auto Reskins list. T5 = true
Damage Optional Base hit damage. 19
Range Optional Attack range. 5
Shots / Slashes / Beams Optional Attack count — Shots (bows/sceptres), Slashes (swords/daggers), Beams (beam weapons). 1
Velocity Optional Projectile speed; a number or Instant for melee. Instant
Pierce Optional Yes or No (row labelled "Pierces"). Yes
Cooldown Optional Cooldown, written with the trailing s. 0.8s
Healing Optional Healing amount (healing items). 5
Attack Defense Speed Vitality Critical Chance Health Evasion Optional Gear stat bonuses (mainly armour). Negatives allowed. Defense = -6
Type Optional Item type/sub-type label. Healer
Ability Optional Ability text (Abilities section, no label). Your third attack deals 2 slashes…
Drop Optional "Obtained From". A plain link, a bag name, or Name;Icon (appends File:Icon.png). Goblin Lair
TP Optional Tier Points Given. Tiered = tier number; untiered by essence (Irr 9, Gild 10, Royal 11, Blood 12, Void 14, Unholy 14). 9
Classes Optional Semicolon-separated classes; each renders with its class sprite. Knight;Samurai

How to use

  1. Open the matching category template (e.g. {{Swords/Weapons}}) and add a new {{ItemInfobox …}} block inside its Tiered or Untiered <tabber> section.
  2. Set title and images.
  3. Untiered: add one rarity flag (Irradiated = true, …). Tiered: add one tier flag (T5 = true) and use a T#Type.png image.
  4. Fill in only the stats the item has — take them straight from the item's .kts modifiers{}; omit anything it does not define.
  5. Put the ability text (the kts extra("…") with the leading "Ability:" removed) in Ability.

Reskins fill in automatically for untiered items (via Module:Reskins) and the section is hidden on tiered items. A Shiny tab is added automatically when a Shiny<file> image exists.

Copy this

{{ItemInfobox
|title =
|images =
|Irradiated =
|Desc =

|Damage =
|Range =
|Slashes =
|Velocity =
|Pierce =
|Cooldown =

|Ability =

|Drop =
|TP =
|Classes =
}}

Example

Titanium Cleaver
Description
Irradiated
true
Drayruk took this cleaver as a trophy after defeating his enemy in the last goblin war. It is quick and deadly, capable of decimating multiple enemies at once.
Stats
Damage
19
Slashes
1
Cooldown
0.8s
Pierces
Yes
Range
5
Velocity
Instant
Abilities
After hitting 2 slashes in a row, your third attack will be 2 slashes that deal 12.4 damage each.
Obtained From
Tier Points Given
9
Useable On
{{ItemInfobox
|title = Titanium Cleaver
|images = Ut-TitaniumCleaver.png
|Irradiated = true
|Desc = Drayruk took this cleaver as a trophy after defeating his enemy in the last goblin war.
|Damage = 19
|Range = 5
|Slashes = 1
|Velocity = Instant
|Pierce = Yes
|Cooldown = 0.8s
|Ability = After hitting 2 slashes in a row, your third attack will be 2 slashes that deal 12.4 damage each.
|TP = 9
|Drop = [[Goblin Lair]]
|Classes = Knight;Samurai
}}

A tiered entry uses a tier flag and a tiered sprite instead:

{{ItemInfobox
|title = Honey Sword
|images = T5Sword.png
|T5 = true
|Damage = 40
|Cooldown = 1s
|TP = 5
}}

Tips & notes

  • 8 tiers only (T1–T8). No T9+, no EX variants, and reskins are not separate items here (they live on their own page).
  • Untiered items use a single plain image and a rarity flag — do not add ,UT/,EX tabs or UT_/EX_ prefixes.
  • Convert ability damage multipliers ("2x damage") to absolute numbers (N × base damage, 1 decimal). Keep non-damage multipliers as written.
  • File names follow the scheme: Ut-ItemName.png (untiered), T#Type.png (tiered).
  • Related: {{NPCInfobox}} (bosses/enemies), Module:Infobox (engine), Module:Reskins (auto reskin list).