This template is used to create custom userboxes.
Parameters
- color
- The color to use:
red(default),yellow,green,cyan,blue, ormagenta. - align
- Whether to float the box to the
right(default) or to theleft. - 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
1if 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:
| "I am an android." |
TemplateData
This is the TemplateData for this template used by the VisualEditor and other tools.
This meta-template is used to create custom userboxes.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Box color scheme | color | The color scheme to use (defaults to red).
| Line | suggested |
| Box alignment | align | Whether to float the userbox to the left or right (defaults to right).
| Line | optional |
| Logo image | image | An image to use. If you don't put an image here, you may use text instead. | File | suggested |
| Public domain image? | pd | If the logo image is in the public domain, set this to "1".
| Number | optional |
| Logo text | logo | If you aren't using an image, you can use an emoji or a few letters. | Line | optional |
| Info text | info | The text on the right side
| Line | required |