Jump to content

Template:Infobox Item/doc

From Community Wiki | Soulbound: Online

This is the generic item infobox — the canonical fallback for any item that does not have a more specific infobox (Weapon, Armour, Consumable, Relic). It renders a right-rail infobox, colours the name bar by rarity, and auto-categorises the host page.

Usage

Paste the block below at the very top of the article and fill in what you can source from current game data. Leave a field blank if unknown — the infobox will stamp the page into the hidden maintenance queues rather than show a wrong value.

{{Infobox Item
| name       =
| image      =
| alt        =
| id         =
| type       =
| rarity     =
| itemlevel  =
| tradeable  =
| stackable  =
| value      =
| source     =
| maxhp      =
| damage     =
| defense    =
| dodge      =
| csc        =
| csd        =
| cdr        =
| buffpower  =
| heavyhitchance =
| speed      =
| hacking       =
| hackingtime   =
| hackingreward =
| examine    =
}}

Parameters

Parameter Required Description
name Yes Exact in-game item name. Also the rarity-coloured header.
image Recommended Sprite/icon file name, without the File: prefix (e.g. Health flask.png). Falls back to the wiki logo and tags Category:Pages needing an image.
alt No Alt text for the image (defaults to the name).
id No In-game item identifier.
type No Free-text type label shown under the name (e.g. Key item).
rarity No One of Common, Uncommon, Rare, Epic, Legendary (case-insensitive). Drives the name-bar colour and the rarity category.
itemlevel No Item level.
tradeable / stackable No Yes/No.
value No Sell value in gold.
source No Where the item comes from (short label; use the body table for the full list).
maxhp, damage, defense, dodge, csc, csd, cdr, buffpower, heavyhitchance, speed No Optional stat block, carried over from the legacy ItemInfoboxSeq so any stat item can migrate here. csc/csd = critical strike chance/damage, cdr = cooldown reduction, speed = movement speed.
hacking, hackingtime, hackingreward No Hacking power / time / time reward.
examine No Flavour/examine line. description is accepted as an alias.

Versions / switch pattern

The infobox supports multiple variants on one page. Define alternate values with a suffix and select which to show with sel:

  • Base (default) version uses the unsuffixed parameters.
  • An alternate version uses the same parameter names with a suffix equal to its sel value, e.g. name2, image2, damage2, plus an optional label version2.
  • Passing | sel = 2 renders that version; omitting sel renders the base.

Every displayed field honours the suffix, so one page can document, for example, a base and an upgraded form without forking.

Categories applied

When placed on an article (main namespace) the template adds:

Canonical generic item infobox. Renders a right-rail infobox, colours the header by rarity, supports a sel/version switch, and auto-categorises the page.

Template parameters

ParameterDescriptionTypeStatus
Namename

Exact in-game item name

Stringrequired
Imageimage

Sprite file name without the File: prefix

Filesuggested
Alt textalt

no description

Stringoptional
Item IDid

no description

Stringoptional
Typetype

no description

Stringoptional
Rarityrarity

Common / Uncommon / Rare / Epic / Legendary

Stringsuggested
Item levelitemlevel

no description

Stringoptional
Tradeabletradeable

no description

Stringoptional
Stackablestackable

no description

Stringoptional
Sell valuevalue

no description

Stringoptional
Sourcesource

no description

Stringoptional
Max healthmaxhp

no description

Stringoptional
Damagedamage

no description

Stringoptional
Defencedefense

no description

Stringoptional
Dodge chancedodge

no description

Stringoptional
Critical strike chancecsc

no description

Stringoptional
Critical strike damagecsd

no description

Stringoptional
Cooldown reductioncdr

no description

Stringoptional
Buff powerbuffpower

no description

Stringoptional
Heavy hit chanceheavyhitchance

no description

Stringoptional
Movement speedspeed

no description

Stringoptional
Hacking powerhacking

no description

Stringoptional
Hacking timehackingtime

no description

Stringoptional
Hacking time rewardhackingreward

no description

Stringoptional
Examineexamine

Flavour line (alias: description)

Stringoptional
Selected versionsel

Which version suffix to render (blank = base)

Stringoptional