Template:Item box

From bg3.wiki
Jump to navigation Jump to search
Template documentation

Display information about an item in a semi-compact box. This works with any item type including weapons, equipment, and miscellaneous items.

Subtemplates

This template is only responsible for making the Cargo queries. For the actually formatting, see the following subtemplates.

See also

  • {{Feature box}} for a similarly styled template that displays a preview of an action.
  • {{Rarity item}} for a simple inline template to display an item with its icon.

Examples

Markup
{{Item box|Flame Blade (weapon)|duration=10}}
Renders as
Flame Blade Weapon.png

Flame Blade  – Duration: 10 turns

Damage: 3~18
3d6FireFire
Properties
  • Price: 30 gp
  •  Weight: 0.5 kg / 1 lb
Markup
{{Item box
| item = Goodberry (item)
| count = 4
| duration = Until long rest
}}
Renders as
FOOD Goodberry Faded.png

Goodberry  (4x)  – Duration: Until Long rest

Effect  (Bonus Action)
  • Consume the berry to regain 1d4hit points
Properties
Markup
{{Item box|Ice Cube|duration=10}}
Renders as
Ice Cube.webp

Ice Cube  – Duration: 10 turns

Effect
  • Climbable and destructible
  • HP Icon.png 25 hit points
  • Resistances: Vulnerable to PiercingVulnerable to ThunderImmune to all NecroticVulnerable to FireImmune to all ColdImmune to all PsychicImmune to all PoisonResistant to all RadiantVulnerable to Force
Properties

Template data

Display a semi-compact preview of an item's details.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Item1 item

The pagename of a weapon, equipment, or miscellaneous item.

Example
Flame Blade (weapon)
Page nameoptional
Durationduration

Specify the duration that the item lasts for. By default, this is a number of turns, but see {{Duration}} for special values that this field can accept.

Suggested values
10, Until long rest Permanent
Stringoptional
Item countcount

If this box represents multiple duplicate items, specify the number of items.

Example
4
Numberoptional