Community Central

READ MORE

Community Central
Advertisement


Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.
Description
This template is used to create user boxes.
Usage
Description Left inset Main box Right inset
Content Content wiki code lcontent= content= rcontent=
Background color lbg= mainbg= rbg=
Text color color lcolor= color= rcolor=
Width with units lwidth= width=
(with insets)
rwidth=
Font size with units lsize= size= rsize=
Additional styling CSS styling, e.g. text-align:center; lstyle= style= rstyle=
  • Italic parameters above default to sane values and should generally not be touched.
  • Sane defaults are provided for everything, only content has to be specified to display an infobox.
  • |bcolor= and |bwidth= specify the box border color and width respectively (both with units).
{{Userbox|bcolor|mainbg|lcontent|content|lsize}}
Syntax
Type {{userbox|p1|p2|p3|etc}} on user page.
The box consists of three parts - left and right inserts as well as the main (text) cell; the cells are rendered if the relevant content parameters are provided.
The available parameters are listed in the box.
Sample output
{{Userbox}} gives...
{{Userbox|rcontent=R|content=Box with one inset and no provided styling.}} gives...
Box with one inset and no provided styling. R
{{Userbox|lcontent=L|rcontent=R|content=Box with both insets and no provided styling.}} gives...
L Box with both insets and no provided styling. R
{{Userbox|rcontent=[[File:Wiki.png|50px]]|content=Box with one inset with a photo and no provided styling.}} gives...
Box with one inset with a photo and no provided styling. Wiki.png
{{Userbox|rcontent=BLU|content=Right inset, custom colors|mainbg=steelblue|rbg=lightsteelblue|rcolor=midnightblue|rsize=2em|color=#BBDDFF|bcolor=skyblue}} gives...
Right inset, custom colors BLU
See also
Advertisement