imported>Dawning mNo edit summary |
the mass documenting |
||
| (9 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
'''<code><nowiki>{{ItemInfobox}}</nowiki></code> 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]]. | |||
__TOC__ | |||
== 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 (<code>Ut-ItemName.png</code>) plus one '''rarity flag''' (Irradiated, Gilded, Royal, Bloodshot, Voidbound or Unholy). The flag colours the card border. | |||
* '''Tiered''' — a tiered image (<code>T#Type.png</code>, e.g. <code>T5Sword.png</code>) plus one '''tier flag''' (<code>T1</code>…<code>T8</code>). There are '''8 tiers only''' — no T9+, and no EX variants. | |||
== Parameters == | |||
{| class="wikitable" | |||
! Parameter !! Required? !! What it does !! Example | |||
|- | |||
| <code>title</code> || Required || Item name (card heading). Add a subtitle after a semicolon. || <code>Titanium Cleaver</code> or <code>Name;Subtitle</code> | |||
|- | |||
| <code>images</code> || Required || The item sprite (one file). || <code>Ut-TitaniumCleaver.png</code> / <code>T5Sword.png</code> | |||
|- | |||
| <code>Desc</code> || Optional || Description / lore text (no label). || <code>A quick and deadly cleaver.</code> | |||
|- | |||
| <code>Irradiated</code> <code>Gilded</code> <code>Royal</code> <code>Bloodshot</code> <code>Voidbound</code> <code>Unholy</code> || One — untiered only || Rarity flag; sets the coloured border. Value is always <code>true</code>. Use '''exactly one'''. || <code>Irradiated = true</code> | |||
|- | |||
| <code>T1</code>…<code>T8</code> || One — tiered only || Tier flag (value <code>true</code>). Use exactly one; also hides the auto Reskins list. || <code>T5 = true</code> | |||
|- | |||
| <code>Damage</code> || Optional || Base hit damage. || <code>19</code> | |||
|- | |||
| <code>Range</code> || Optional || Attack range. || <code>5</code> | |||
|- | |||
| <code>Shots</code> / <code>Slashes</code> / <code>Beams</code> || Optional || Attack count — Shots (bows/sceptres), Slashes (swords/daggers), Beams (beam weapons). || <code>1</code> | |||
|- | |||
| <code>Velocity</code> || Optional || Projectile speed; a number or <code>Instant</code> for melee. || <code>Instant</code> | |||
|- | |||
| <code>Pierce</code> || Optional || <code>Yes</code> or <code>No</code> (row labelled "Pierces"). || <code>Yes</code> | |||
|- | |||
| <code>Cooldown</code> || Optional || Cooldown, written with the trailing <code>s</code>. || <code>0.8s</code> | |||
|- | |||
| <code>Healing</code> || Optional || Healing amount (healing items). || <code>5</code> | |||
|- | |||
| <code>Attack</code> <code>Defense</code> <code>Speed</code> <code>Vitality</code> <code>Critical Chance</code> <code>Health</code> <code>Evasion</code> || Optional || Gear stat bonuses (mainly armour). Negatives allowed. || <code>Defense = -6</code> | |||
|- | |||
| <code>Type</code> || Optional || Item type/sub-type label. || <code>Healer</code> | |||
|- | |||
| <code>Ability</code> || Optional || Ability text (Abilities section, no label). || <code>Your third attack deals 2 slashes…</code> | |||
|- | |||
| <code>Drop</code> || Optional || "Obtained From". A plain link, a bag name, or <code>Name;Icon</code> (appends <code>[[File:Icon.png]]</code>). || <code>[[Goblin Lair]]</code> | |||
|- | |||
| <code>TP</code> || Optional || Tier Points Given. Tiered = tier number; untiered by essence (Irr 9, Gild 10, Royal 11, Blood 12, Void 14, Unholy 14). || <code>9</code> | |||
|- | |||
| <code>Classes</code> || Optional || Semicolon-separated classes; each renders with its class sprite. || <code>Knight;Samurai</code> | |||
|} | |||
== How to use == | |||
# Open the matching '''category template''' (e.g. {{tl|Swords/Weapons}}) and add a new <code><nowiki>{{ItemInfobox …}}</nowiki></code> block inside its Tiered or Untiered <code><tabber></code> section. | |||
# Set <code>title</code> and <code>images</code>. | |||
# '''Untiered:''' add one rarity flag (<code>Irradiated = true</code>, …). '''Tiered:''' add one tier flag (<code>T5 = true</code>) and use a <code>T#Type.png</code> image. | |||
# Fill in only the stats the item has — take them straight from the item's <code>.kts</code> <code>modifiers{}</code>; omit anything it does not define. | |||
# Put the ability text (the kts <code>extra("…")</code> with the leading "Ability:" removed) in <code>Ability</code>. | |||
'''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 <code>Shiny<file></code> image exists. | |||
== Copy this == | |||
<syntaxhighlight lang="wikitext" style="overflow:auto;"> | |||
{{ItemInfobox | {{ItemInfobox | ||
|title= | |title = | ||
|images= | |images = | ||
|Irradiated = | |||
|Desc = | |||
|Desc= | |||
| | |Damage = | ||
| | |Range = | ||
| | |Slashes = | ||
| | |Velocity = | ||
| | |Pierce = | ||
| | |Cooldown = | ||
| | |Ability = | ||
| | |Drop = | ||
| | |TP = | ||
|Classes = | |||
}} | |||
</syntaxhighlight> | |||
| | == Example == | ||
|TP= | {{ItemInfobox | ||
|Classes=Knight;Samurai | |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. It is quick and deadly, capable of decimating multiple enemies at once. | |||
|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 | |||
}} | |||
<syntaxhighlight lang="wikitext" style="overflow:auto;"> | |||
{{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 | |||
}} | |||
</syntaxhighlight> | |||
A '''tiered''' entry uses a tier flag and a tiered sprite instead: | |||
<syntaxhighlight lang="wikitext" style="overflow:auto;"> | |||
{{ItemInfobox | |||
|title = Honey Sword | |||
|images = T5Sword.png | |||
|T5 = true | |||
|Damage = 40 | |||
|Cooldown = 1s | |||
|TP = 5 | |||
}} | }} | ||
</syntaxhighlight> | |||
== 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 <code>,UT</code>/<code>,EX</code> tabs or <code>UT_</code>/<code>EX_</code> 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: <code>Ut-ItemName.png</code> (untiered), <code>T#Type.png</code> (tiered). | |||
* Related: {{tl|NPCInfobox}} (bosses/enemies), [[Module:Infobox]] (engine), [[Module:Reskins]] (auto reskin list). | |||
<br clear="both"> | |||
Latest revision as of 11:55, 20 June 2026
{{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 (T1…T8). 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
|
T1…T8 |
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
- Open the matching category template (e.g.
{{Swords/Weapons}}) and add a new{{ItemInfobox …}}block inside its Tiered or Untiered<tabber>section. - Set
titleandimages. - Untiered: add one rarity flag (
Irradiated = true, …). Tiered: add one tier flag (T5 = true) and use aT#Type.pngimage. - Fill in only the stats the item has — take them straight from the item's
.ktsmodifiers{}; omit anything it does not define. - Put the ability text (the kts
extra("…")with the leading "Ability:" removed) inAbility.
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
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.
{{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/,EXtabs orUT_/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).