Template:ItemBox
This template is used on Browse:Items to create the item image boxes. It is used within {{ColorBox}} and {{ContentGrid}} templates to set the correct width.
Syntax
The following syntax is used (see TemplateData below for full parameters):
{{ItemBox| 1 | 2 | 3 | g= | s= | l= | b= | p= | h= | css= }}
TemplateData
This template is used on Browse:Items to create the item image boxes.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Bag sprite | 1 | The bag sprite image to appear
| String | required |
| Item link | 2 | The item / category to link to (defaults to match "Bag sprite") (Don't include ":")
| String | suggested |
| Item link text | 3 | (Optional) Link text to display
| String | suggested |
| Game | g | Which game the bag sprite should come from (for default sprite, type " ")
| String | optional |
| Size | s | Bag sprite size (Must include "px")
| String | optional |
| Line height | l | (Optional) Text line height (used if the text will fall over multiple lines) | String | optional |
| Background | b | Box background color (Don't include "#")
| String | optional |
| Padding | p | Padding of the box (Must include "px")
| String | optional |
| Height | h | Height of the box (Must include "px")
| String | optional |
| Other CSS | css | Any other CSS to be added
| String | optional |