memory alpha
Template documentation ()

This template is used to create custom userboxes.

Parameters

color
The color to use: red (default), yellow, green, cyan, blue, or magenta.
align
Whether to float the box to the right (default) or to the left.
logo
Text to show in the left of the userbox.
image
An image to display in the left of the box (overrides logo).
pd
Set this to 1 if the image is in the public domain (check the file description page to see if this is the case). This removes the image link, which is beneficial for people who use screen readers.
info
The main text of the userbox.

Example

{{userbox
|color = red
|align = left
|image = Data, 2366.jpg
|info  = "''I am an android.''"
}}

The above wikitext produces the following output:

TemplateData

This is the TemplateData for this template used by the VisualEditor and other tools.

This meta-template is used to create custom userboxes.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Box color schemecolor

The color scheme to use (defaults to red).

Suggested values
red yellow green cyan blue magenta
Linesuggested
Box alignmentalign

Whether to float the userbox to the left or right (defaults to right).

Suggested values
left right
Lineoptional
Logo imageimage

An image to use. If you don't put an image here, you may use text instead.

Filesuggested
Public domain image?pd

If the logo image is in the public domain, set this to "1".

Suggested values
1
Numberoptional
Logo textlogo

If you aren't using an image, you can use an emoji or a few letters.

Lineoptional
Info textinfo

The text on the right side

Example
This user is beautiful
Linerequired