Template:Userbox/doc

From Celeste Wiki

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)

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Classclass

CSS class auto-applied to the userbox besides "userbox". If multiple, separate with spaces

Unknownoptional
Stylestyle

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.

Unknownoptional
Change directionleft

Define if you want the infobox to float left instead of right

Booleanoptional
Background colorcolor

In hex

Example
#55DDFE
Unknownsuggested
Border colorbcolor

Border color (hex). If not defined, will use background color.

Example
#4CC
Unknownsuggested
Left imagelimage

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]]
Filesuggested
Left image classlclass

CSS class applied for the left image

Unknownoptional
Left image stylelstyle

Do not override anything important.

Unknownoptional
Text classtclass

Class(es) to apply to main text

Unknownoptional
Styling for the main texttstyle

Again, do NOT override anything important. Feel free to change the font or formatting.

Unknownoptional
Texttext 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.

Example
This '''user''' has collected {{{1|0}}} [[strawberr{{#ifeq:{{{1|0}}}|1|y|ies!}}]]
Stringrequired
Right imagerimage

You can use both images (at the expense of room for text)!

Example
[[File:Example.png|48px|link=Main Page]]
Fileoptional
Right image classrclass

no description

Unknownoptional
Right image stylingrstyle

no description

Unknownoptional
Categorycat

If defined, automatically categorizes the page to the category named like this argument.

Example
Users who play Celeste on Steam
Lineoptional