Template:CharacterBox/doc
This template is used on Browse:Characters to create the character 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):
{{CharacterBox| 1 | 2 | 3 | 4 | l= | b= | p= | h= | css= }}
TemplateData
Character boxes used within Browse:Characters
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Image | 1 | Image name (include file extension, don't include "File:")
| File | required |
| Image size | 2 | Size of the image (Must include "px")
| String | required |
| Link | 3 | The article that the image links to.
| Page name | required |
| Link label | 4 | (Optional) Text to be displayed instead of article title | String | optional |
| Line height | l | (Optional) Sets the line height of the link text (use if the link falls over multiple lines) | String | optional |
| Background | b | The background color of the box (don't include "#")
| String | suggested |
| Padding | p | The padding of the box (Must include "px")
| String | suggested |
| Height | h | The height of the box (Must include "px")
| String | suggested |
| Other CSS | css | Any other CSS to include
| String | optional |