FANDOM


no
no
Description
This template is used to create a userbox.
Basic syntax
{{Userbox
|color of symbol
|color of background of info
|symbol
|info}}
Example
{{Userbox
|purple
|yellow
|Yoyle City
|This user lives in [[Yoyle City]].}}
Yoyle City This user lives in Yoyle City.
Another example

Flower wants to make a userbox to put on her user page. This is the code she entered:

{{Userbox|pink|yellow|border-color=yellow|info-color=pink|[[File:Flower 8.PNG|100px]]|{{BASEPAGENAME}} is a fan of ''Flower'' because they love her mean personality!}}

This is the userbox the above code created:

100px A Better Name Than That is a fan of Flower because they love her mean personality!
Advanced syntax

By designating the following parameters, you can designate more options!

float
The direction of where the userbox will be placed on. Default is left.
border-width / border-s
The width of the border. Default is 5.
border-color / border-c
The color of the border. If it's not provided but the background color of the logo is provided, then it will be the same as the background color.
logo-width / id-w
The width of the logo. Default is 45.
logo-height / id-h
The hight of the logo. Default is 45.
logo-background / 1st unnamed parameter / id-c
The background color of the logo.
logo-size / 5th unnamed parameter / id-s
The font size of the logo. Default is 14.
logo-color / id-fc
The font color of the logo. Default is black.
logo-padding / id-p
The padding (inside margin) of the logo. Default is 1.
logo-line-height / id-lh
The line height of the text of the logo. Default is 1.25.
logo-other-param / id-op
Use this parameter if you want to add other styles to the logo.
logo / 3rd unnamed parameter / id
The contents of the logo.
info-background / 2nd unnamed parameter / info-c
The background color of the info.
info-size / info-s
The font size of the info. Default is 8.
info-color / info-fc
The font color of the info. Default is black.
info-padding / info-p
The padding (inside margin) of the info. Default is 4.
info-line-height / info-lh
The line height of the text of the info. Default is 1.25.
info-other-param / info-op
Use this parameter if you want to add other styles to the info.
info / 4th unnamed parameter
The contents of the info.