Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Chest

Template page
Revision as of 06:11, 20 July 2024 by NtCarlson (talk | contribs) (Updated documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
See also: Template:Trader

Display the contents of a chest, inventory, trader, etc. in a collapsible box.

All the parameters are optional. You don't have to set a DC. You don't even have to set an image or a link!

Examples

Markup
{{Chest
| icon = Jeweled Chest A Faded.webp
| link = Gilded Chest
| DC = 25
| contents =
* {{RarityItem|Acquisitions Record}}
* {{RarityItem|Torch of Revocation}}
* {{RarityItem|Gold}} 54pcs
* {{RarityItem|Topaz}}
* {{RarityItem|Arrow of Ilmater}}
* {{RarityItem|Arrow of Dragon Slaying}}
}}
Renders as
Markup
{{Chest
| link = Gilded Chest
| nograd = 1
| contents =
* {{SmIconLink|Book Note M Image.png|Acquisitions Record}}
* {{RarityItem|Torch of Revocation}}
* {{RarityItem|Gold}} 54pcs
* {{RarityItem|Topaz}}
* {{RarityItem|Arrow of Ilmater}}
* {{RarityItem|Arrow of Dragon Slaying}}
}}
Renders as
Markup
{{Trader
| title_override = This shop
| contents =
* {{GoldIcon|592}} 592 [[Gold]]
}}
Renders as

Trade Icon.png This shop contains the following items:

Template data

Display the contents of a chest in a collapsible box.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Linklink

A link to the chest item.

Page nameoptional
DCDC

The difficulty class to pick the chest's lock, if applicable.

Stringoptional
Title overridetitle_override

Ignore all the previous parameters used for title creation and use this instead.

Stringoptional
Iconicon

An icon to display for the collapsible box.

Default
Concentration Icon.png
Fileoptional
No gradientnograd

Don't display the color gradient for the collapsible box.

Booleanoptional