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)
This template prefers block formatting of parameters.
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
Example
#55DDFE
Unknown
suggested
Border color
bcolor
Border color (hex). If not defined, will use background color.
Example
#4CC
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.
Example
[[File:Example.png|48px|link=Main Page]]
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
text1
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.
Example
This '''user''' has collected {{{1|0}}} [[strawberr{{#ifeq:{{{1|0}}}|1|y|ies!}}]]
String
required
Right image
rimage
You can use both images (at the expense of room for text)!
Example
[[File:Example.png|48px|link=Main Page]]
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.