Template:Userbox

From Blooncyclopedia, the independent Bloons knowledge base
Revision as of 04:46, 6 November 2024 by Polavux (talk | contribs)
Jump to navigation Jump to search

Customizable rectangles to display on your userpage. Colors can be specified with a hexadecimal code (must include the "#") or the name of a CSS-supported color (e.g. "pink" or "mauve"). Please avoid using variables for colors (e.g. "var(--bg-primary)"), since userboxes are designed to be theme-agnostic.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Image1

The image to display in the box.

Default
BTD6 achievement HiddenIcon.png
Example
BTD6 app icon.png
Filerequired
Text2

The text to display in the userbox.

Default
This user is using the default userbox for some unfathomable reason.
Stringrequired
Background colorbg color

The primary background color of the userbox.

Default
#276caf
Stringoptional
Image background colorimage bg color

The color of the background behind the userbox's image.

Default
#1a3170
Stringoptional
Border colorborder color

The color of the userbox's border.

Default
#0a00ff
Stringoptional
Text colortext color

The color of the text in the userbox.

Default
#000000
Stringoptional
Floatfloat

If specified, the userbox becomes a floating element. Should not be used in a userbox tower.

Suggested values
left right
Default
none
Stringoptional

Example usage

{{userbox|BTD6 round HeroIconQuincy.png|This user is a son of Quincy.|bg color=#323232|image bg color=#404040|border color=#c1c1c1|text color=#ffffff|float=right}}
This user is a son of Quincy.