Template:Resource box
(Redirected from Template:Rbox)
Template documentation
Shortcut
- {{Rbox}}
Display action resources, including specific class resources, in a standardized and consistent format with a box around it just as it is in-game. You can specify a resource exactly like you can with the {{Resource}} template.
| Example | Markup | Renders as |
|---|---|---|
| Basic usage | {{Resource box|ki}} | |
| With a quantity | {{Resource box|chadiv|2}} | |
| Spell slot | {{Resource box|spell3|4}} | |
| High quantity | {{Resource box|bardin|12}} | |
| Spell slot with high quantity | {{Resource box|spell3|8}} | 8 |
This template is intended to be inline, and can be used alongside {{Spell slot}}, and in fact will use that template if a spell slot resource is specified.
e.g.
{{Resource box|ki|6}}{{Resource box|chadiv|2}}{{Resource box|spell3|4}}{{Resource box|bardin|12}}
Template data
Insert a resource box.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Resource name | 1 | The resource to show. | String | required |
| Quantity | 2 | A quantity of resource to show in the box | Number | optional |
| Width | w | Override the width of the resource box. | Number | optional |
| Height | h | Override the height of the resource box. | Number | optional |





