Template:Item box
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.
- {{Item box/format weapon}}
- {{Item box/format equipment}} - TBD
- {{Item box/format misc}}
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
{{Item box|Flame Blade (weapon)|duration=10}}Renders as
{{Item box | item = Goodberry (item) | count = 4 | duration = Until long rest }}Renders as
Goodberry (4x) –
Duration: Until Long rest
1 Camp Supplies
Price: 0 gp
Weight: 0.05 kg / 0.1 lb
{{Item box|Ice Cube|duration=10}}Renders as
Ice Cube –
Duration: 10 turns
- Climbable and destructible
25 hit points
- Resistances:
Price: 0 gp
Weight: 200 kg / 400 lb
Template data
Display a semi-compact preview of an item's details.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Item | 1 item | The pagename of a weapon, equipment, or miscellaneous item.
| Page name | optional |
Duration | duration | 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.
| String | optional |
Item count | count | If this box represents multiple duplicate items, specify the number of items.
| Number | optional |