Template:Userbox/doc

This is a generic userbox template.


 * Usage
 * The box is formatted with the help of common and skin-specific stylesheets - allowing the template to be used both with and without additional formatting information. 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.


 * {| cellspacing="1" cellpadding="1"

!Description!!Left Inset!!Main Box!!Right Inset !Content !Background !Text Color !Width !Font Size Sane defaults are provided for everything, only content has to be specified to display an infobox.
 * + Parameters
 * Content wiki code
 * lcontent=|||content=|||rcontent=
 * color
 * lbg=||mainbg=||rbg=
 * color
 * lcolor=||color=||rcolor=
 * with units
 * lwidth=||width= (with insets)||rwidth=
 * with units
 * lsize=||size=||rsize=
 * colspan="5"|Italic parameters below default to sane values and should generally not be touched.
 * colspan="5"|Italic parameters below default to sane values and should generally not be touched.

|bcolor= and |bwidth= specify the box border color and width respectively (both with units).
 * }


 * Test Vectors


 * }
 * }
 * }
 * }
 * }
 * }


 * Source
 * This template with all its subtemplates was copied from w:c:spore:Template:Userbox