From Wikimedia Commons, the free media repository
Jump to: navigation, search

With this template, you can create userboxes. This box has an overall width of 238 pixels (+2×1px border width = 240px). The Userbox divided into two areas: the left square box with 45×45 pixels (below referred to as “id”) and the right larger area (below referred to as “info”) with the info text.


 |id =
 |id-c =
 |id-fc =
 |id-s =
 |id-p =
 |id-lh =
 |id-w =
 |id-h =
 |id-op =
 |info =
 |info-c =
 |info-fc =
 |info-s =
 |info-p =
 |info-lh =
 |info-op =
 |border-c =
 |border-s =
 |float =
 |margin =
 |usercategory =
 |usercategory2 =
 |lang =

Template parameters

Parameter Description Default Status
id Text or image – If the Userbox used in the template {{Babel}}, an image should not exceed the height or width of 45 pixels. id optional
id-c Background color #999 optional
id-fc Font color #000 optional
id-s Text size 14 optional
id-p Cell padding space 1px optional
id-lh Line height in relation to the font size 1.25 optional
id-w Box width 45px optional
id-h Box height 45px optional
id-op Other (CSS) parameter(s) empty optional
info Info text (This user …) ''info'' optional
info-c Background color #EEE optional
info-fc Font color #000 optional
info-s Text size 8 optional
info-p Cell padding space 1px 4px optional
info-lh Line height in relation to the font size 1.25 optional
info-op Other (CSS) parameter(s) empty optional
border-c Border color – if the border color is not specified, the template used the color of the parameter id-c id-c|#999 optional
border-s Border width in pixels 1 optional
float Text wrap around the Userbox – the following values are possible:
flush left
flush right
no flush
ltr languages: left
rtl languages: right
margin Distance to surrounding text 1px optional
usercategory User category empty optional
usercategory2 User category empty optional
lang Text language. Modifies text directionality and default float. {{int:lang}} optional

Additional information

The template is intended to be used in the following namespaces: the User namespace

The template is intended to be used by the following user groups: all users

See also


This template is not intended to be localized.

Advanced copy template

 | id       = id text or image
 | id-c     = id background color - also the default box border color (or #999)
 | id-fc    = id font color
 | id-s     = id text size - in 'pt', defaults to 14.
 | id-p     = id cell padding space
 | id-lh    = id line height
 | id-w     = id box width
 | id-h     = id box height
 | id-op    = id other (CSS) parameter(s)
 | info     = info text
 | info-c   = info background color - background color of the whole table, really
 | info-fc  = info font color
 | info-s   = info text size - in 'pt', defaults to 8.
 | info-p   = info padding (distance between cell contents & cell border)
 | info-lh  = info line height (or distance in between text lines)
 | info-op  = info other (CSS) parameter(s)
 | border-c = border color
 | border-s = border width in pixels
 | float    = css float property; left, right, none, w/default of left
 | margin   = css margin property; left, right, none, w/default of left
             (combined with 'float: none;' 'margin: 1px auto;' will center box in parent)
 | usercategory  = user category (optional)
 | usercategory2 = user category (optional)