Template:Userbox/doc

This template was from Templates Wiki. See the page from that wiki.
 * Source
 * Description
 * This template is used to create user boxes.




 * Syntax
 * Type  on user page.
 * The box is formatted with the help of MediaWiki:Common.css (see below) - 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.
 * The available parameters are listed in the box to the right.

/* === USERBOXES === */ table.userbox { float:left; margin:0.2em; padding:0; border-width:1px; border-style:solid; } table.userbox td.left, table.userbox td.right { text-align:center; vertical-align:middle; font-size:1.6em; padding:0; } table.userbox td.main { padding:0 4px; vertical-align:middle; line-height:125%; font-size:0.9em; }
 * CSS code (add to MediaWiki:Common.css)

table.userbox { border-color:#aaa; background:#f8f8f8; } table.userbox td.left, table.userbox td.right { background:#d8d8d8; }


 * Sample output
 * gives...


 * gives...


 * gives...




 * See also
 * Template:User edits on Wikia Template, a userbox using this template.
 * Template:Userbox on WoWWiki, upon which this template was based.

