Template:Userbox/doc
Template to create userbox templates. May be directly used on a user page on a one-off basis. A userbox consists of zero, one or two images at its sides and text in the middle. It is 240px wide and 52px tall (borders accounted for), additionally with 4px margins on all sides. Each picture takes up 54 pixels (48px for picture, 3px on both sides for padding)
Parameter | Description | Type | Status | |
---|---|---|---|---|
Class | class | CSS class auto-applied to the userbox besides "userbox". If multiple, separate with spaces | Unknown | optional |
Style | style | CSS styling applied to the userbox. Overrides classes. Do NOT override width, height, margins, and other critical properties unless allowed by an admin. Separate properties with a semicolon. | Unknown | optional |
Change direction | left | Define if you want the infobox to float left instead of right | Boolean | optional |
Background color | color | In hex
| Unknown | suggested |
Border color | bcolor | Border color (hex). If not defined, will use background color.
| Unknown | suggested |
Left image | limage | A file, preferably a square. Use example syntax. You can use link, but the template has not been tested with alt text and other parameters. Width MUST be 48px.
| File | suggested |
Left image class | lclass | CSS class applied for the left image | Unknown | optional |
Left image style | lstyle | Do not override anything important. | Unknown | optional |
Text class | tclass | Class(es) to apply to main text | Unknown | optional |
Styling for the main text | tstyle | Again, do NOT override anything important. Feel free to change the font or formatting. | Unknown | optional |
Text | text 1 | The actual text. Make sure not to exceed 2 lines (about 10 words) unless absolutely needed. If possible, shorten it or use a smaller font. By all means, you are welcome to use wiki formatting, links, or arguments.
| String | required |
Right image | rimage | You can use both images (at the expense of room for text)!
| File | optional |
Right image class | rclass | no description | Unknown | optional |
Right image styling | rstyle | no description | Unknown | optional |
Category | cat | If defined, automatically categorizes the page to the category named like this argument.
| Line | optional |